A self-hosted BitTorrent client: one Go binary built on anacrolix/torrent, with a modern web UI, its own REST API, and the qBittorrent WebAPI, so Radarr, Sonarr, Prowlarr and VueTorrent work with it as they do with qBittorrent.
Website and docs · Install · Configuration · API reference
- A drop-in for the *arrs. Add piecemeal as a qBittorrent download client, with a scoped API key. CI runs Radarr, Sonarr and Prowlarr against it, and compares its API with a real qBittorrent 5.3.
- A web UI for desktop and phone, with live updates, keyboard shortcuts, filters by state, category, tag and tracker, file priorities and renames, and a live piece map.
- Users and SSO: a local admin, plus users from any OpenID Connect provider with allowed and admin groups, and API keys scoped to full access, the qBittorrent API, or reading.
- RSS feeds and download rules with qBittorrent's matching, episode filters and the smart episode filter.
- Queueing, seeding goals, speed limits and a schedule for alternative limits.
- VPN-friendly: run in a WireGuard container and forward the peer port with NAT-PMP.
- Safe by default: confined save paths, an SSRF filter on fetched URLs, sign-in limits, CSRF checks and an audit log.
- Operable: Prometheus metrics, health checks, online backups, and import from Transmission and qBittorrent.
No per-torrent speed limits, search, super seeding, I2P or SSL torrents yet. See how it compares with qBittorrent, Transmission and Deluge.
docker run --rm -i ghcr.io/sebdanielsson/piecemeal hash-password # type a password, copy the hash
docker run -d --name piecemeal \
-p 8080:8080 -p 6881:6881 -p 6881:6881/udp \
-v piecemeal-data:/data -v /path/to/downloads:/downloads \
-e PIECEMEAL_ADMIN_PASSWORD_HASH='$argon2id$...' \
ghcr.io/sebdanielsson/piecemeal:latestOpen http://localhost:8080 and sign in as admin. Then connect Radarr, Sonarr and Prowlarr, or move your torrents from Transmission or qBittorrent.
The docs are in docs/ and on the website:
- Comparison with qBittorrent, Transmission and Deluge
- Install, configuration, backup and restore
- Radarr, Sonarr and Prowlarr, reverse proxy, single sign-on, VPN and port forwarding, proxy
- Web UIs, RSS, APIs, qBittorrent compatibility
- Security, performance, troubleshooting, FAQ
See Development for building, testing and conventions. Report security issues privately through GitHub's vulnerability reporting.