qbrr is a CLI tool for reannouncing torrents in qBittorrent with problematic trackers, written in Go using the github.com/autobrr/go-qbittorrent client.
-
Tracker-friendly: Unlike other tools that blindly reannounce torrents at fixed intervals,
qbrris nice to torrent trackers. It waits for the torrent to make its initial contact with the tracker and checks the status. Only if the tracker is problematic doesqbrrperform a reannounce. This minimizes unnecessary tracker requests and helps avoid bans or rate-limiting. -
Scalable concurrency:
qbrruses Go’ssync.WaitGroupto process multiple torrents concurrently. This means it can efficiently handle thousands of torrents at once, ensuring no announcements are missed even for large clients running in daemon mode.
Run a container with access to host network:
docker run -it --rm --network host ghcr.io/buroa/qbrr:latest --helpgit clone https://github.com/buroa/qbrr.git && cd qbrr
docker build -t qbrr:latest --pull .
docker run -it --rm --network host qbrr:latest --helpYou can specify qBittorrent connection details using environment variables:
QBITTORRENT_HOSTQBITTORRENT_USERNAMEQBITTORRENT_PASSWORD
--log-level: Log level (debug, info, warn, error) (default "info")
In qBittorrent, check the "Run on torrent added" option and set it to the following command:
qbrr --hash %IAutomatically reannounce torrents that have problematic trackers:
qbrrUse the help command to see all available options:
qbrr --help