selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitLab

Self-host Torrents Manager

1.0.0

Time-of-day upload scheduling for qBittorrent

BetaOpen Source
Docker ComposeCompose file & guide
docker-compose up -d
Updated3 years ago
Setup difficultyEasy
Port
3000 (Web interface / Next.js server)
Requires
Ofelia, qBittorrent
Docker
registry.gitlab.com/h0st1ng/media/torrents-manager/master

What is Torrents Manager?

Torrents Manager is a small Next.js web app that adjusts a qBittorrent server's upload limits according to the time of day, so a machine can stay quiet while it is in use and transfer harder overnight. You define the window when uploads are allowed, set a cap for the quiet period and another for the active period, see which mode is currently in effect along with torrent status, and switch uploads on or off by hand or with a single click. A weekly schedule tab gives every day of the week its own active window, with copy buttons for weekdays, weekend or all days. Internally the app looks at the clock and pushes a new upload cap into qBittorrent; the shipped compose file adds an Ofelia cron container that hits the /api/cron route every five minutes. Setup is via environment variables covering the WebUI address and its login plus the default window times and caps. It runs self-hosted through Docker Compose using the project's GitLab registry image on port 3000, with settings kept in a mounted ./data folder, and the README also notes deployment to Vercel or other Next.js hosts. The project is early (version 0.1.0) and publishes no licence file.

Torrents Manager alternatives

Should you self-host Torrents Manager?

Torrents Manager scores 29/100 on selfhost.directory (how scoring works) and ranks #43 of 46 in Download Management.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. An official Docker image is available.

Its closest alternative on selfhost.directory is cobalt (83/100, 46 237 stars). It scores higher overall, so compare the two before you pick. See Torrents Manager vs cobalt side by side.

Features

  • Cron endpoint for periodic updates
  • Current mode display
  • Manual override toggle
  • One-click enable/disable uploads
  • Per-mode upload limits
  • Persistent local settings storage
  • Time-based upload scheduling
  • Torrent status view
  • Weekly per-day schedule

How to install Torrents Manager

Install Torrents Manager with Docker Compose

Environment variables
QBITTORRENT_URL, QBITTORRENT_USERNAME, QBITTORRENT_PASSWORD, DEFAULT_NIGHT_START, DEFAULT_NIGHT_END, DEFAULT_MAX_DAY_UPLOADS, DEFAULT_MAX_NIGHT_UPLOADS
  1. Create a .env file with your environment variables:
QBITTORRENT_URL=http://localhost:8080
QBITTORRENT_USERNAME=admin
QBITTORRENT_PASSWORD=adminadmin
DEFAULT_NIGHT_START=23:30
DEFAULT_NIGHT_END=7:00
DEFAULT_MAX_DAY_UPLOADS=0
DEFAULT_MAX_NIGHT_UPLOADS=5000
  1. Run with Docker Compose:
docker-compose up -d
  1. Access the web interface at http://localhost:3000

How to configure Torrents Manager

  • QBITTORRENT_URLhttp://localhost:8080URL of your qBittorrent WebUI
  • QBITTORRENT_USERNAMEadminUsername for qBittorrent
  • QBITTORRENT_PASSWORDadminadminPassword for qBittorrent
  • DEFAULT_NIGHT_START23:30Start time for active mode (HH:MM)
  • DEFAULT_NIGHT_END7:00End time for active mode (HH:MM)

More in Download Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…