Skip to content

Writing criteria for this guide

Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.

  1. Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
  2. Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
  3. No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
  4. Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
  5. General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's files are invented filler text, written by the lab, and its feed is an invented one served on loopback.
  6. Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
  7. Honest about limits. Chapter 13 names what the tool cannot do: no finding of torrents, no anonymity (swarm members see your address), a single administrator account guarding the WebUI, reachability owned by the router rather than the client, a static build whose libraries age in place, and an API whose verbs and field names change between versions in ways that quietly break older scripts.
  8. The ethics rule is in the text, early. Chapter 1 and the README state this guide's line before any procedure: run only torrents you have the right to share — your own files and files their makers publish for sharing. The program prints the same line itself, as a legal notice on first start, and chapter 4 shows it verbatim. The privacy fact belongs beside it and is also stated early: joining a swarm shows your address to the swarm. Accordingly the lab transferred only its own invented files, between its own two instances, on loopback, with public discovery switched off.
  9. Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.

Verification notes for this guide

The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox, shared with other work while the lab ran. qBittorrent 5.3.0 was run unmodified as the official static headless binary (qbittorrent-nox, from the userdocs/qbittorrent-nox-static release release-5.3.0_v2.1.2 that the project's download page points to; SHA-256 in t00; libtorrent 2.1.2.0, Web API 2.16.2, per t01b). Two instances ran side by side, each in its own profile: A, WebUI 127.0.0.1:18088, torrenting port 48188; B, WebUI 127.0.0.1:18089, torrenting port 48189. The lab's RSS feed was served by a one-line Python HTTP server on 127.0.0.1:18090. All servers were stopped when the lab ended.

The fixtures are the lab's own invention and regenerate byte for byte from qbittorrent-lab/make_fixture.py: field-notes.txt (2 MiB, SHA-256 3346c8d4f3934e2603f47229711e107ed82f6a268a0ab2f353b5d6e3abfde5d4) and weather-log.txt (512 KiB, SHA-256 676eaa9ee8c8354806250eb65d430a5f73e5994806be3362df0a9b78a4539bd1). Their .torrent maps were built by the lab's own script (make_torrent.py, shipped in the lab), not by the client under study: info hashes 53b631ea684e0f4ad2189245c7d294a99737919b (field-notes, 8 pieces of 256 KiB) and 155542a1c23fd88acd12d6d36a1c640d30e81595 (weather-log), neither naming a tracker. The regeneration was re-run and re-hashed during writing; both info hashes and both file hashes reproduced exactly. Transcripts are lightly normalised (absolute home paths shortened in two console captures); no output was invented, and one transcript (t11) preserves a genuinely empty first attempt at reading the config before the corrected one.

Run for real, with transcripts as evidence:

  • Version, full --help, binary size and SHA-256, and the build's component versions via app/buildInfo (t00, t01b).
  • First start in an empty profile: the legal notice verbatim, the WebUI address, and the temporary password printed for that session (t01). The password in the transcripts is a throwaway, printed for a session that no longer exists, from a profile that is lab scratch and ships nowhere.
  • The API's refusals: 403 with no cookie, login by cookie (HTTP 204), 401 for a wrong password (t01b, t10).
  • Preferences read in full, then changed and read back: save path, own admin password, DHT/PeX/LSD off (t02); a download limit of 131072 bytes/s on B (t05, exercised t06).
  • Shutdown through the API and restart with --confirm-legal-notice: console then shows neither the notice nor a temporary password; the chosen password logs in (204) and the dead temporary one does not (401) (t03, t03b).
  • Seeding: fixture placed in A's save path, torrent added (the add call's JSON names the info hash the lab computed in advance), the client's own check ending at progress 1, state stalledUP (t04).
  • Downloading: the same torrent on B at stalledDL with no peers, the addPeers introduction to A's torrenting port, the downloading state under the speed ceiling, completion at progress 1 with A having uploaded exactly 2097152 bytes, and the arrived file's SHA-256 matching the original's exactly (t05, t06).
  • Day-to-day verbs: torrents/pause answering 404 (renamed to stop/start in this version), stop → stoppedUP, start → stalledUP, a forced recheck caught mid-flight as checkingUP with progress 0, torrents/files and torrents/properties (t07).
  • Categories and tags: empty category list, create + assign, tags created, one applied, the vocabulary read back (t08).
  • RSS: an invented local feed added and refreshed, both articles parsed with their torrent URLs; a rule set with the plausible key feedURLs accepted with HTTP 200 yet reading back with affectedFeeds: [], then set correctly with affectedFeeds — and on the next refresh the matching item's torrent present in B's list by itself, while the non-matching item was never added (t09).
  • Failures and deletion: three wrong-password 401s, the ban defaults (5 tries, 3600 s) read from live preferences, a non-torrent upload refused with HTTP 415, a magnet for a nonexistent swarm resting at metaDL, and deletion with deleteFiles=false leaving the downloaded file on disk (t10).
  • The profile on disk (config, categories, BT_backup pairs, log), the log through the API, sync/maindata (including its honest connection_status: "firewalled"), and shutdown of both instances through their own APIs (t11).

Documented only — described from the project's documentation, not run, and the text does not claim otherwise:

  • The desktop (GUI) program, its dialogs and its built-in Torrent Creator; scripts made the lab's maps instead.
  • Public trackers, live DHT/PeX/LSD discovery (all three were switched off so the introduction could be isolated), port forwarding and UPnP/NAT-PMP on a real router.
  • µTP, BitTorrent's UDP transport: the sandbox allows no UDP, so all peer traffic in the lab ran over TCP.
  • The search-plugin system (named in chapters 1 and 13 as deliberately unrun), proxy and anonymous-mode settings, per-file priority changes (the priority value was read, not changed), scheduling, and watched folders.
  • The forgotten-password remedy of chapter 14 (removing Password_PBKDF2 from qBittorrent.conf): the line's place and form were read live from the lab profile's own config file; the removal itself was not performed, since the lab never locked itself out.
  • The neighbour tools of chapter 12 (Transmission, Deluge, rTorrent, WebTorrent, the Usenet family) — characterised, not run.

Nothing in this guide touches any real swarm, and no copyrighted or third-party file was downloaded, seeded or sought at any point. The only transfers that occurred moved the lab's invented text files between the lab's own two instances over loopback.