Writing Criteria
Every guide in this repo is written to the same standard. If you're adding or editing a guide — human or AI — hold it to these.
- Plain words, real ideas. Simple language, never dumbed-down concepts. Explain jargon on first use; collect terms in the glossary.
- No hype. No marketing adjectives, no "revolutionary," no promises about what something will do for the reader.
- Honest about limits. Say what the thing can't do. State uncertainty instead of smoothing it over. Validation notes include what remains unverified.
- No invented numbers. Benchmarks, defaults, and specs are either measured or qualified with "depends on your setup." If it wasn't tested, say so.
- Checkable. Commands are meant to be run, with "Check:" blocks showing what success looks like. Sources are linked, not asserted.
- Respect the reader's setup. Call out Windows/Mac/Linux differences. Don't assume a GPU, a budget, or prior experience.
- Safety isn't skipped. Real risks get stated plainly, not buried.
- Scoped. Each guide says what it covers and points elsewhere for the rest. No guide pretends to be the whole subject.
- Structure over prose. Tables, before/after examples, symptom → fix. Scannable beats essay.
Verification notes for this guide
Built and verified 2026-10-24 against
calibre 9.17.0 (the current release
on build day), on Ubuntu 24.04, on a
machine with no display: every calibre
command ran headless with
QT_QPA_PLATFORM=offscreen.
Primary sources read, not remembered: the project's official manual — the calibredb command reference in full (every sub-command this guide uses is described there), the installer's own source when its failure needed explaining (chapter 3), and the live output of the installed tools themselves.
The install, with its declared
deviations (transcript t00; chapter 3
tells it in full): the official
installer's signature step fetches from
code.calibre-ebook.com through a small
HTTPS helper that parses proxy addresses
by hand and cannot cope with a
credentialed one — the lab's egress
proxy — and that host returned empty
replies through the lab's network in any
case. The lab therefore fetched the
identical tarball the installer fetches
(the calibre-ebook.com/dist/linux-x86_64
redirect to the project's GitHub release
of v9.17.0, 201.6 MB), unpacked it into
/opt/calibre (654 MB) and ran
calibre_postinstall. The one step not
reproduced is the installer's SHA-512
signature check. System libraries
libegl1, libopengl0 and
libxcb-cursor0 were installed first, as
the installer itself directs.
Ran for real (transcripts in
calibre-lab/transcripts/), against a
fresh two-book library of public-domain
EPUBs from Project Gutenberg:
- t00 —
calibre,calibredbandebook-convertall report 9.17. - t01 —
calibredb addof Alice's Adventures in Wonderland (#11) and Frankenstein (#84): ids 1 and 2, the author/title folder layout, covers extracted,metadata.opffiles andmetadata.dbcreated. - t02 —
list, plain and with a field set and author sort. - t03 —
show_metadatafor both books: full inherited metadata, including Frankenstein's eight Library of Congress subject headings as tags. - t04 — search three ways:
author:,tags:throughlist --search, and a compoundtitle: ... or author: ...query. - t05 —
set_metadata: both books' tags replaced with a household vocabulary; ratings set, exposing the scale trap —rating:8andrating:9silently capped to 5 stars. - t05b — the rating resolution: set in
stars (0–5, halves allowed), stored
doubled;
rating:4andrating:4.5read back as 8 and 9 throughlist --fields rating. - t06 —
ebook-convertEPUB → MOBI (189,810 bytes);add_formatattached it, andlist --fields formatsshows Alice holding EPUB and MOBI. The same transcript holds the PDF failure: embedded Chromium refusing to run as root. - t06b — EPUB → PDF with
QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox: a 93-page, 477,513-byte PDF. - t07 —
calibredb export --all: both books written out with every format, cover and.opf. - t08 —
calibre-serverrun against the library and queried with curl: the web interface answers, the OPDS feed at/opdsdescribes the library, and/ajax/booksreturns the edited metadata as JSON — the rating showing as4.0, the third confirmation of the chapter 5 scale story. - t09 —
check_libraryreports every category empty, exit 0;backup_metadata --allrewrote both books'.opffiles. - t11 — saved searches:
gothicadded and listed, then used assearch:gothicin a query;list_categoriescounted the library's four tags.
Attempted and not verified, stated
plainly: fetch-ebook-metadata. On
9.17 the command first downloads a
helper module from
code.calibre-ebook.com; that host was
unreachable from the lab network (empty
replies on every attempt, including one
through a local proxy relay built to
work around the credentialed-proxy
parsing bug — transcript t10). Chapters
5 and 14 present metadata download as
documented-only for this reason. The
failure is a property of the lab's
sandboxed network; nothing in it
suggests the command misbehaves on an
ordinary connection.
Documented only, and labelled as such
in the chapters: the entire graphical
interface (no display existed) — the Add
books flow, the Edit metadata dialog and
its download review screen, the tag
browser, virtual library editing, the
viewer, the editor, and the device
drivers' preferences; sending books to a
physical e-reader over USB and by email
(no device, no mail setup in the lab);
restore_database (the lab's database
was never damaged; the rebuild's costs
are quoted from the manual); and remote
calibredb against a running content
server (the lab's server and client were
one machine using the folder directly).
Fixtures: both books are public domain (Project Gutenberg #11 and #84); the edited tags ("Classic fiction", "Childrens fiction", "Gothic", "Horror") and the ratings set on them are the lab's own inventions for demonstration. No credentials, accounts or personal data appear in any transcript.