What qBittorrent Is
You have a file — a Linux install image, a dataset, a folder of your own photos — and it is too big, too popular, or too far away for the ordinary way of fetching things, where one server hands the whole file to everyone who asks. BitTorrent is the other way: the file is cut into pieces, everyone who holds pieces trades them with everyone else, and the load spreads across the crowd instead of landing on one machine. A crowd sharing one file is called a swarm; a member with the whole file is a seed, and a member still collecting pieces is a peer or leecher.
qBittorrent is a BitTorrent client: a free, open-source program that joins swarms for you. It keeps the list of your torrents, fetches and checks the pieces, uploads to others while it downloads, and proves every piece against a hash — a fingerprint recorded in the torrent's map — before it accepts it. Corrupt pieces are thrown away and fetched again, never quietly filed.
This guide teaches the headless form,
qbittorrent-nox: the same program
with no windows at all, driven entirely
through its WebUI — control pages it
serves to a browser — and the API
behind those pages, which any other
program (this guide uses curl) can
drive directly. The nox build is how
qBittorrent runs on a server, a NAS box
or a spare machine in a cupboard, and
everything it does can be watched and
checked numerically, which suits a guide
that prefers evidence to impressions.
A first taste
After installing (chapter 3) and starting the program (chapter 4), asking it what it is holding takes one line:
curl -s -b cookies.txt \
http://127.0.0.1:18088/api/v2/torrents/info
and the answer is a plain list — in the lab's case, one small file, complete:
[{"name": "field-notes.txt",
"state": "stalledUP", "progress": 1}]
progress: 1 means all of it, and the
state says it is ready to serve others.
Chapter 7 picks those words apart.
The line this guide draws, early
BitTorrent moves other people's files as readily as your own, so the ethics rule belongs here, before any procedure: run only torrents you have the right to share — files you made, files whose makers publish them for sharing (Linux images, public datasets, open-licensed media), and nothing else. The program itself says the same thing on its very first start, in a legal notice this guide shows in full in chapter 4: when you run a torrent, its data is made available to others by your upload, and what you share is your sole responsibility. Every file in this guide's lab is invented filler text, made by the lab, shared between the lab's own two instances on one machine. Nothing else was fetched from anywhere.
What it is not
It is not a website: there is no central qBittorrent server holding files, only your program and the swarms it joins. It is not a search engine — chapter 13 is plain that finding torrents is outside it (a search-plugin system exists and is documented-only here). And it is not anonymous: peers in a swarm can see the address of everyone they trade with. Chapter 13 returns to all three.
Who it is for
The home-lab keeper who wants a spare
machine to fetch and seed large open
files unattended. The maker sharing
their own firmware or datasets without
paying for a file host. Anyone who has
clicked download on a Linux image and
met a .torrent file among the mirrors.
The common thread is one person, their
own machine, and files they are entitled
to move.