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.
- 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.
- 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.
- 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.
- 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.
- 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 traffic is the lab talking to itself.
- 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.
- Honest about limits. The limits chapter names what the tool cannot do: extraction is a heuristic — paywalls, script-built pages, and hostile layouts defeat it, and some saves in any archive are titles and rubble; its fetcher refuses private addresses and non-standard ports by design, so it is an archive of the fetchable public web, not of everything a browser can see; it is a reading archive, not a backup of the web — the page, its layout, and everything outside the extracted block are not preserved; importing a decade of another service's saves is a project, not a button, because an import refetches the live web and takes its failures as they come; and self-hosting means the updates and the database are yours. The lab proved the extraction quality on two simple fixtures, the fetch refusal on a stock install, and the state machinery end to end; scale, imports, and hostile real-world pages are documented, not measured, and the text marks the difference.
- The one rule is in the text, early. Chapter 1 and the README state the rule plainly — Wallabag keeps the words, not the page: it saves the article it extracted at save-time, so what you reread is a snapshot in your own archive, and if the extraction missed, the archive holds the miss — before any procedure depends on it, and later chapters point back to it where the rule bites: the saved failure entry, search that can only find what extraction kept, exports that carry the misses, and clients that can display no more than the snapshot holds.
- 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 an Ubuntu sandbox with PHP 8.3.6 (CLI)
and Composer 2.7.1 already installed. Wallabag 2.6.15 was
the project's official release package
(wallabag-2.6.15.tar.gz, 64 MB, from the wallabag GitHub
releases for tag 2.6.15; the package ships its vendor/
libraries pre-installed, so no composer install was run).
php -m confirmed pdo_sqlite, gd, intl, mbstring,
xml, curl, and zip present; the tidy extension was
NOT present, and Wallabag installed and ran without it on
this machine (transcript t00). The application was
configured for SQLite in app/config/parameters.yml
(lab copy in wallabag-lab/parameters-lab.yml.example,
secret redacted) with domain_name
http://127.0.0.1:18089, and served by PHP's built-in server
with the front controller as router:
php -S 127.0.0.1:18089 -t web web/app.php. Wallabag ran in
a scratch folder outside the checkout; the checkout's lab
keeps the fixtures, drivers, configuration, and transcripts.
All transcripts live in wallabag-lab/transcripts/.
Run for real, with transcripts as evidence:
- Environment and install (t00, t01):
php bin/console about --env=prodreported Symfony 4.4.51 on PHP 8.3.6.php bin/console wallabag:install --env=prod --resetpassed its requirement checks (PDO pdo_sqlite, database connection, curl) and reported "wallabag has been successfully installed"; the SQLite database file was created at 216 KB. The installer's interactive administrator prompt consumed the lab's piped input and created no user; the administrator was created withfos:user:create wallabag wallabag@lab.example wallabag --super-admin, verified in thewallabag_usertable. All lab credentials (userwallabag, passwordwallabag, and the API client below) are throwaway lab credentials, stated as such wherever they appear. - First login and first save (t03):
GET /loginreturned 200 with the page title "Welcome to wallabag!";POST /login_checksigned the lab user in (first login lands on/quickstart); an authenticated request returned 200 with the real application HTML. Posting the fixture address to/new-entrycreated entry 3, whose/view/3page returned 200 containing the article. The SQLite row read back: title "The Elmwood Community Newsletter — Spring Plant Swap Returns",http_status200,reading_time1, and the stored content beginning "By the Elmwood Community Association. Published for neighbours of the fictional Elmwood district.
" — the article text extracted by Wallabag itself from the lab's fixture server, with the page's navigation and footer absent. - The fetch refusal, on the stock release (t02): before any
adjustment, the same save produced an entry titled
"No title found" with
http_status500 and the fetching error message as its content. The fetcher log named the cause: the SSRF plugin (j0k3r/httplug-ssrf-plugin) whitelists ports 80, 443, 8080 only and blacklists private IP ranges including127.0.0.0/8. To let the lab's Wallabag fetch the lab's own fixture page, the lab patched exactly two defaults in its scratch copy of the vendorOptions.php(added port 19089 to the port whitelist; removed127.0.0.0/8from the IP blacklist). No Wallabag application code was changed. The guide states plainly that a real installation should not carry this patch; it exists so a loopback fixture can be fetched at all, and the refusal itself is reported as a product finding. - Tags, archive, star (t05):
PATCH /api/entries/3withtags=gardening,community,archive=1,starred=1returned 200 with the new state; a followingGETconfirmed it,GET /api/tagslisted both tags with one entry each, and the SQLite rows agreed (archived=1 starred=1; both tag rows present). - The REST API (t04): an API client ("Lab CLI client") was
created in the web developer pages; its ID and secret
were used at
POST /oauth/v2/token(password grant), which returned 200 with a bearer access token (expires_in3600) and a refresh token.GET /api/entrieswith the token returned 200 (1 entry at that point), andPOST /api/entriesadded the second fixture article, which Wallabag fetched and extracted itself: entry 4, title "Keeping a Paper Star Chart — A Beginner Guide to Night Notes",http_status200, with its body text confirmed from the API response. - Export (t06): in a logged-in session,
GET /export/all.jsonreturned 200 (4,797 bytes,application/json),GET /export/unread.jsonreturned 200,GET /export/3.jsonreturned the single entry with its tags and states intact, andGET /export/all.epubreturned 200 (10,229 bytes,application/epub+zip). The EPUB was verified as a real ebook archive: zip contents includemimetype,META-INF/container.xml,OEBPS/book.opf, and one HTML document per article.
Documented only — described from the project's documentation and the running instance's own pages, not run, and the text does not claim otherwise:
- Production serving behind Apache or nginx, TLS, and the hosted wallabag service.
- Imports of every kind (Pocket, Instapaper, Readability, browser/HTML, Wallabag-to-Wallabag): the import pages and importer names were seen in the live instance; no import was run, and no timings or success rates are claimed.
- Tagging rules and ignore-origin rules: their tables and pages exist in the installed instance; no rule was written or fired.
- Annotations, public share links, and RSS feeds (the feed settings were read; no reader subscribed).
- Browser extensions, phone and tablet apps, ebook-reader integrations and OPDS: characterised from the project's documentation; the web interface and API they build on were run.
- Queues (RabbitMQ/Redis), mail delivery, image downloading for entries, two-factor authentication, and upgrades from an earlier version (2.6.15 was installed fresh).
- MySQL and PostgreSQL databases (SQLite was run), other PHP versions, and behaviour at archive scale — the lab's archive held two articles.
- The neighbouring tools in chapter 15 are characterised, not benchmarked.
Fixtures are this guide's own and deliberately generic: a fictional community newsletter piece and a how-to for a fictional hobby, written for this lab and served by it. No example is modelled on any real person, publication, network, service, or organisation. One finding is kept in the record rather than tidied away: a stock Wallabag will not fetch this lab's fixture pages at all, because its SSRF protection refuses loopback addresses and non-standard ports — the guide reports the refusal, the exact log line, and the two-line lab-only vendor patch that the fixture fetch required.