/wulfpanca

qBittorrent with Rclone auto-upload function on Heroku | qBittorrent 自动上传 Rclone Heroku APP

Primary LanguageShell

点击前往中文说明

Acknowledgments

Attention

  1. Do not abuse heroku's service, or your account could get banned.
  2. 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.

Overview

Deployment

First run

More usages and precautions

Overview

This project integrates qBittorrent + VueTorrent WebUI, Rclone + WebUI with auto-upload function, customizable portal page, Filebrowser, ttyd web terminal.

yt-dlp+aria2 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 qBittorrent and Rclone from frontends running on other hosts.
  4. Auto-backup configuration files to Rclone remote, and try to restore from Rclone remote when dyno restarts.
  5. There are independent logs for each service in the log directory.

Deployment

Do not deploy directly from this repository

  1. Fork this this repository.
  2. Click Setting on fork repository page and check Template repository.
  3. Click new button: Use this template,create a new repository。
  4. 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 qBittorrent or VueTorrent, then login in with default user admin and default password adminadmin. Change default user/password to your own, Recommend strong password.

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. Heroku has ephemeral filesystem,although configuration files are automatically back up to Rclone remote and attempted to be restored after dyno restarted, any changes other than Config Vars are recommended to be modified in the github repository before deployment.
  3. Move ${HEROKU_APP_NAME} folder in your Rclone remote to new remote if you are going to change Rclone remote, otherwise you will lose your qBittorrent and filebrowser settings.
  4. How to modify Heroku Config Vars: Click setting on Heroku app page, then click Reveal Config Vars to modify.
  5. Add the following content to the end of the 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. Under content directory in repository, qbit.conf is qBittorrent config file.
  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.