Skip to content
sebdanielssonPublic

About

Self-hosted BitTorrent client on anacrolix/torrent with a qBittorrent-compatible API and a web UI

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

piecemeal

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

piecemeal's torrent list, with downloads in progress and seeding torrents

Features

  • 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.

Quick start

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:latest

Open http://localhost:8080 and sign in as admin. Then connect Radarr, Sonarr and Prowlarr, or move your torrents from Transmission or qBittorrent.

Documentation

The docs are in docs/ and on the website:

Contributing

See Development for building, testing and conventions. Report security issues privately through GitHub's vulnerability reporting.

License

MIT

About

Self-hosted BitTorrent client on anacrolix/torrent with a qBittorrent-compatible API and a web UI

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages