Giter Site home page Giter Site logo

aria2c-ariang's Introduction

Aria2c+AriaNg

It it recommended to find other platform than Heroku to deploy this as they are actively prevent this from deploying there. You can find many free platforms here: https://free-for.dev/

Deploying On Heroku

Requirement

Steps

  1. Run heroku login to login, then heroku container:login too.
  2. Clone this repository and enter it. (PS: Please run git config --global core.autocrlf false before git clone if you are using Windows.)
  3. Run heroku apps:create APP_NAME to create it.
  4. Copy .env.template to .env, and edit it accordingly.
  5. Run heroku container:push web -a APP_NAME and heroku container:release web -a APP_NAME.
  6. Run heroku open -a APP_NAME and it will open your browser to deployed instance.

Optional: Sync downloaded file to your cloud drive using Rclone

  1. Setup Rclone locally by following offical instructions: https://rclone.org/docs/
  2. Find your rclone.conf file, it should look like this:
[DRIVENAME]
type = WHATEVER
client_id = WHATEVER
client_secret = WHATEVER
scope = WHATEVER
token = WHATEVER

others entries...
  1. Find the drive you want to use, and copy its type = ... to ... token = ... section.
  2. Replace all linebreaks with \n.
  3. That text will be RCLONE_CONFIG in .env file.
  4. DOWNLOAD_DESTINATION in .env is a path starting with /.

FAQ

It automatically stop after 30 minutes, and files were lost.

It is because Heroku's free dyno will idle when there is no incoming request within 30 minutes, and your files will be deleted too, this is why you might want to use Rclone.

Can I delete files?

No. Just wait for its idling, and your files will be deleted.

You said it will idle automatically, so I can't download large files?

It will generate fake requests when there are downloading or uploading tasks, so it won't idle when your files aren't completed.

aria2c-ariang's People

Contributors

fanweiya avatar maple3142 avatar prabha-coder avatar vpn12out avatar

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.