Torrents through qBittorrent instead of librqbit (#494)
ipx ran a BitTorrent session of its own: it bound 6881, joined the DHT and seeded, and librqbit brought over a thousand lines of Cargo.lock with it, ringbuf's advisory (#281) and a second path to chrono (#493) among them. Tower already runs qBittorrent, so torrents go there through its Web API. ipx still fetches the .torrent itself, through the guarded client and under the 10 MB cap (#320, #330), and adds it with the enclosure's own folder as the save path (#318, #331), the files straight into it (NoSubfolder), the seed limits, and a tag ipx-<enclosure> to find it by, since a magnet has no hash until its metadata comes. A torrent already tagged when ipx starts again is taken up where qBittorrent has it (#410). It is polled to the end under the stall limit; a qBittorrent not answering counts as no progress rather than a failure. qBittorrent seeds to the limits; with none, ipx removes the torrent from it at the end, files kept. The session cookie is whatever qBittorrent sets with SID in its name: 5.x calls it QBT_SID_<port>. torrents/info by POST with a tag was checked against Tower's 5.2.3. The ringbuf ignore leaves deny.toml; chrono's stays, for rss and atom_syndication alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVBuJRne2JAhFpaDV2U
This commit is contained in:
@@ -16,9 +16,6 @@ services:
|
||||
# For Postgres instead of SQLite:
|
||||
# IPX_DATABASE_URL: "postgres://ipx:password@db-host:5432/ipx"
|
||||
# No web port of its own: ipx-web is the way in, and passes the API on to it.
|
||||
ports:
|
||||
- "6881:6881/tcp" # BitTorrent peers
|
||||
- "6881:6881/udp" # DHT
|
||||
volumes:
|
||||
- ./config:/config # config.toml, written on first start
|
||||
- ./data:/data # state.db
|
||||
|
||||
Reference in New Issue
Block a user