Engine
- Bundle rqbit 9.1.0 (scripts/fetch-rqbit.sh, pinned SHA-256 per arch), started on
first use: 127.0.0.1 + random port, random Basic-auth password passed in its env,
UPnP off, session/DHT cache/log under the app data dir, downloads in
~/Downloads/Grabster/Torrents. Stopped with Grabster like NZBGet.
- torrent_add peeks at the file list, then adds only the playable files (no samples);
torrent_stats / torrent_remove (Ditch = delete with data).
- engine.rs: spawn_supervised / wait_for_port shared by NZBGet and rqbit.
- http.rs: tiny loopback HTTP client (Content-Length, chunked, streaming bodies).
Playback
- media.rs proxies torrent streams (Source::Remote) so the page never sees rqbit's
password; suffix ranges become explicit ones; the MKV subtitle fix now runs lazily on
the first request, so it also works on streams.
- Player items are a finished download or a stream. Streams show "Connecting to
peers…", then speed / peers / % on disk in the strip. Stop asks Keep or Ditch;
starting something else over an undecided stream asks first.
Search
- Indexers have a type: Newznab (Usenet) or Torznab (Prowlarr, Jackett). Torznab
results show seeders; double-click or the Stream button plays them.
- Mock mode: a Torznab indexer with public-domain films, and a simulated rqbit.
Tests: http client, playable-file picking, proxy (auth, ranges, MKV fix) against a
fake rqbit, and an opt-in end-to-end test against the real rqbit with the Creative
Commons Sintel torrent (cargo test --lib -- --ignored real_rqbit).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>