Giter Site home page Giter Site logo

gdindex's People

Contributors

actions-user avatar codeingboy avatar maple3142 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gdindex's Issues

Auto delete downloaded copied files

Can you add an option to automatically delete the copied files after 1 day of existence? or something that prevents the user from having to delete manually. That would be very useful.

No, because the worker is stateless. Due to worker limitation, I can't record create time in worker, or run auto deletion periodically.

Quick ideas:

  1. record create time in KV and provide a button allowing user manually delete those obsoleted files
  2. (If we can) listen for ending of request and delete it

Upstream PR

Prevent duplicate copys

Before copying, check if there's a existed copied file. This helps reducing drive space usage.

Folder contains slash mishandled

Accessing folder contains / will cause error and long waiting. For foldera/b, webUI will interpret as foldera/b.

Several attempts had been made:

  1. replacing / as other special character or %2F - tried %2F and it's complicated. If we use other special character, we need to ensure not conflicting with regular use
  2. encodeURIComponent twice - will break web address so we can not read current path from address bar, and it's complicated
  3. replace with folder id - same as Google Drive, but will break web address

Since Vue router will split by /, the final path should not contain it.

Can we set timeout ??

Hey:

can we set timeout for the request file such as setTimeout(request, 10000);

After 10 second file starts to download but in back the file url is ready to download just becuase of timeout its paused.

Cloud flare doesn't handle timeout, it throws error but it says it can be done during request handling ??

This is not a useful function which can be added in public source but its a small change can we done directly.

Thanks for the support for Export URL and Aria2 and also @maple3142

HTTPS connection problem

Because of CloudFlare always use HTTPS connecting web interface, sending RPC request to aria2 which locates local network won't work.

Possible solutions:

  1. enable aria2 HTTPS connection

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.