rays c4d7b497fa 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
2026-11-22 14:29:20 -05:00
2026-09-09 19:34:25 +00:00
2026-10-17 21:55:41 +00:00

ipx

A self-hosted podcatcher for a household. It checks your feeds, downloads the episodes, and serves a web UI modelled on the 2004 Mac app iPodderX, for any number of people sharing one copy of the files. One Rust binary, ipx, is both the daemon and the command line.

It is a rewrite of ipodderx-core, the Python engine behind iPodderX (2004-2008, Ray Slakinski & August Trometer).

What it does

  • The web UI. It has a toolbar, and a feed list that opens with the Directory, Currently Listening and All Subscriptions. Items sit in a sortable table with a Files pane, and there is a player bar. It comes in Dark, Light and Classic themes, and works on a phone.
  • Several people, one copy. Each person has their own subscriptions and their own read, pinned and playback state. There is one file on disk per episode, however many people want it. People sign in with a password or through a proxy (Cloudflare Zero Trust or Authentik), and admins manage accounts and settings.
  • Scanning. Feeds are checked on a schedule, globally or per feed, and a feed's own TTL is honoured. Keyword, explicit-content and media-type filters decide what is downloaded, with a limit on how many of a feed's newest episodes are downloaded.
  • Downloads. Files come over HTTP, or BitTorrent through qBittorrent, and are filed into a folder per feed. Retention deletes the oldest files to stay under a disk quota or an age limit, and never touches an item someone has pinned.
  • OPML. You can import and export your own subscriptions. You can also subscribe to an OPML URL, which keeps a whole list in step as a folder.

Run it

With Docker:

docker build -t ipx .
docker build -f Dockerfile.web -t ipx-web .
docker compose up -d

docker-compose.yml is a sample: ipx, with its database in SQLite and its three volumes (/config, /data and /downloads) in folders beside the file, and ipx-web, the page, served by Caddy in front of it. Change them to suit. The UI is on port 8099. Torrents need a qBittorrent of your own, set in [torrent] (docs/configuration.md). Files are written as PUID/PGID, 99:100 by default.

From source:

cargo build --release
./target/release/ipxd daemon

The first start creates admin with a random password, written to admin-password beside config.toml (readable by ipx's user alone; the log says where, never what it is). Set IPX_ADMIN_PASSWORD to choose it instead. Sign in at /login, then change it:

echo -n 'a good password' | ipxd user passwd admin

The UI is plain HTTP, so put TLS in front of it if it is reachable from outside your network.

Documentation

docs/configuration.md Every config key, path and environment variable
docs/cli.md Every command, including ipxd user
docs/users.md Accounts, and what several people share
docs/sso.md Signing in through Cloudflare Zero Trust or Authentik
docs/architecture.md How it works: modules, schema, control socket, HTTP API
crates/ipx/CHANGELOG.md, web/CHANGELOG.md, crates/directory/CHANGELOG.md What changed, by release, for ipx, the page and the directory
CLAUDE.md Notes for working on the code, including how production is deployed

Tests

cargo test                # the engine: parsing, filters, retention, schedules, SQL, per-user state
node tests/page-smoke.ts  # the page script loads without throwing
node tests/native-bridge.ts  # the page hands playback to a native shell
npx playwright test       # a real browser against a real daemon on fixture feeds

npm install gets the test runner, and npx playwright install --with-deps chromium gets the browser.

License

MIT, see LICENSE. The icons are Font Awesome Free 7.3.1 by @fontawesome, under CC BY 4.0, embedded as SVG.

Description
No description provided
Readme MIT 49 MiB
2026-10-24 06:03:13 -07:00
Languages
Rust 46.9%
TypeScript 27%
Swift 13.4%
CSS 4.5%
JavaScript 4.3%
Other 3.8%