Heroku Aria2c 21vianet. Heroku

by justhy

GitHub Readme.md

Heroku-Aria2c-21vianet. Heroku-Aria2c 世纪互联版

Deploy

This repository forked from maple3142/heroku-aria2c.

这个项目是 maple3142/heroku-aria2c 的不可合并分支。

Abuse Warning 滥用警告

This project uses a lot of resources. 这个项目使用大量资源。

Your Heroku account may be suspend. 可能会导致封号。

Improvement 改进

  1. Compatible with China Onedrive by 21vianet. 兼容由世纪互联运营的中国大陆版 OneDrive。
  2. Support mount multiple cloud drive. 支持多网盘挂载同步。
  3. Improve performance of the built-in Aria2 and Rclone. 大幅提升内置 Aria2 和 Rclone 性能。
  4. rclone webui. rclone web 管理界面。

Mount Cloud Drive With Rclone 挂载网盘

  1. Setup Rclone by following offical instructions: https://rclone.org/docs/. Chinese users setup with 21vianet peach.

  2. Find your rclone.conf file, it should look like this:

[DRIVENAME A]
type = WHATEVER
client_id = WHATEVER
client_secret = WHATEVER
scope = WHATEVER
china_version = WHATEVER
token = WHATEVER

[DRIVENAME B]
type = WHATEVER
client_id = WHATEVER
client_secret = WHATEVER
scope = WHATEVER
china_version = WHATEVER
token = WHATEVER

others entries...
  1. Find the drive you want to use, and copy its [DRIVENAME A] ... to ... token = ... section.
  2. Replace all linebreaks with \n
  3. Deploy with the button above, and paste that text in RCLONE_CONFIG
  4. Set RCLONE_DESTINATION to a path you want to store your downloaded in [DRIVENAME A], format is [DRIVENAME A]:[REMOVE PATH A]
  5. If you mount a second cloud drive, Set RCLONE_DESTINATION_2 same as 6