Skip to content

Latest commit

 

History

History
90 lines (65 loc) · 6.4 KB

README.md

File metadata and controls

90 lines (65 loc) · 6.4 KB

点击前往中文说明

Acknowledgments

Attention

  1. Do not abuse Heroku's service or your account could get banned. Deploy at your own risk.
  2. Aria2 & qBittorrent download speed is limited to 5MB/s on default.
  3. Anyone who can login into this app has full access to data in this app and Rclone remotes. Do not share with other ppl, and do not store sensitive information with this app.
  4. To prevent Heroku dyno from auto-sleeping, use website monitoring service such as uptimerobot to http ping your heroku domain every 10 mins.

Overview

Deployment

First run

More usages and precautions

Overview

This project integrates yt-dlp, Aria2 + WebUI, qBittorrent + VueTorrent WebUI, Rclone + WebUI with auto-upload function, Rclone Serve HTTP & Webdav, customizable portal page, OliveTin WebUI for shell commands, Filebrowser, ttyd web terminal, Xray Vmess proxy protocol.

VPS version

image

  1. Rclone auto-upload function only needs to prepare rclone.conf file, and all other configurations are set to go.
  2. Rclone runs on daemon mode, easy to manually transfer files and monitor transfers in real time on WebUI.
  3. You can connect Aria2, qBittorrent and Rclone from frontends running on other hosts.
  4. Auto-backup configuration files to Cloudflare Workers KV, and try to restore when dyno restarts.
  5. Execute predefined yt-dlp commands from OliveTin WebUI.
  6. ttyd web terminal, which can execute yt-dlp and other commands on the command line.
  7. There are independent logs for each service in the log directory.

Deployment

Do not deploy directly from this repository

  1. Open Cloudflare Workers KV Page
  2. Click on Manage KV namespaces, then create a namespace.
  3. Now click on Workers & Create a workers service.
  4. Copy the code of worker.js , paste code into Workers service editor and change KEY & GETKEY to your own. Then Click on Save & Deploy.
  5. Now go back to your Workers service main page, Click on Settings.
  6. Click on Variables, in KV Namespace Bindings section click on Add Binding.
  7. Write JSONBASE in Variable name & select your recently created Namespace for KV namespace.
  8. Fork this this repository, then click Setting on fork repository page and check Template repository.
  9. Click new button: Use this template,create a new repository。
  10. For example, your Github username is bobby, and the new repository name is green. After logging in to heroku, visit https://dashboard.heroku.com/new?template=https://github.com/bobby/green to deploy.

First run

  1. After deployment, for example, your heroku domain name is bobby.herokuapp.com, the portal page path is /portal, then visit bobby.herokuapp.com/portal to reach the portal page.
  2. Click AriaNg, then authentication failure warning will pop up, fill in Aria2 secret RPC token with password set during deployment.

image

  1. Click qBittorrent or VueTorrent, then login in with default user admin and default password adminadmin. Change default user/password to your own. Recommend strong password.
  2. Upload rclone.conf file to config folder via Filebrowser, you can edit script.conf file to change Rclone auto-upload settings.
  3. yt-dlp command can be executed through ttyd web terminal,for more information:https://github.com/yt-dlp/yt-dlp#usage-and-options
    Built-in alias:
    dlpr:Use yt-dlp to download videos to videos folder, then send task to Rclone after downloads completed.
  4. Rclone Webdav address: your_Heroku_domain/${GLOBLA_PORTAL_PATH}/rclonedav

More usages and precautions

  1. Hit shift+F5 to force refresh if web services don't work properly. If app still doesn't work, clear cache and cookie of your heroku domain from browser.
  2. After adding the following content to the end of Rclone config file, you can add local heroku storage in Rclone Web UI for manual upload.
[local]
type = alias
remote = /mnt/data
  1. It is not possible to configure a Rclone remote which requires web authentication through Rclone web UI in this app.
  2. Aria2 BT tracker list is auto-updated each time dyno restarted, rename or delete /content/aria2/tracker.sh file to disable this function.
  3. Portal page config file homer_en.yml and icon resources are under content/homer_conf directory in repository, use path as ./assets/tools/example.png to add the new icon to homer config file.
  4. Vmess proxy protocol: AlterID is 0, you can connect to either Vmess WS port 80 or Vmess WS tls port 443. Xray settings can be modified via content/xray.yaml file in repository. Heroku is difficult to connect in mainland China.
    Example client setting:
    image
    With tls:
    image