Skip to content

Wallabag for Mere Mortals

Every reader of the web keeps a pile: tabs that must not be closed, bookmarks in a folder called "later", links mailed to yourself. The pile holds addresses, not articles — and addresses rot. Wallabag is the read-it-later program you run yourself: you give it an article's address, it fetches the page, extracts the article, and stores the words in your own archive, on your own server, to read on any device, export as an ebook, or reach by API.

One rule governs everything it does, and this guide states it in chapter 1 and keeps pointing back to it: 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. A saved entry is a cleaned extraction, not a copy of the page: wonderful to read, wrong to treat as evidence, and only as good as the fetch that produced it.

The lab behind this guide ran the real thing: Wallabag 2.6.15, the official release package (wallabag-2.6.15.tar.gz, vendors pre-installed) from the project's GitHub releases, on PHP 8.3.6 with SQLite. Against two fictional articles served by the lab's own fixture server, it installed and created its schema; signed in over HTTP; met a flat refusal from Wallabag's SSRF filter — private addresses and non-standard ports are refused by design — and recorded that failed "No title found" save before making the documented, lab-only adjustment that let the fixture fetch proceed; then saved both articles, read their extracted titles and body text back out of the SQLite database; tagged, archived, and starred an entry and proved each change in the database; created an API client, took a real OAuth2 token, and listed, added, and changed entries through the REST API; and exported the archive as JSON and as a verified EPUB ebook.

What the lab could not do, it did not fake. Imports, tagging rules, browser extensions, phone apps, queues, mail, and production web-server setups are described from the project's documentation and the real instance's own pages, and labelled documented-only. criteria.md keeps the full ledger.

What this guide covers

  • What Wallabag is — the pile of addresses, the archive of words, and the one rule
  • The moving parts — the web app, the database, the fetcher and extractor, entries, and the API
  • Installing Wallabag — the release package, the PHP extension check, SQLite configuration, the installer, and the administrator account
  • Your first save — signing in, saving a fixture article, and proving the stored text in SQLite
  • Reading the archive — Unread, Archive, Starred, and the reading view
  • Fetching and extraction — Graby, site configurations, the SSRF refusal the lab met, and failed saves
  • Tags and organisation — tags, archive, and star, proved in the database
  • Searching and tagging rules — search over stored words, automatic tagging rules, and annotations
  • The API — clients, OAuth2 tokens, and entries read and written by a program
  • Importing — Pocket, Instapaper, and the rest, and why a big import is a project
  • Exporting and feeds — JSON and EPUB out, single entries, and RSS feeds
  • Clients and extensions — browser extensions, phone apps, and ebook readers
  • Running your instance — users, settings, backups, and updates
  • Real jobs — the daily queue, the research shelf, and the script-fed archive
  • The neighbours — Pocket, Instapaper, linkding, Shaarli, and ArchiveBox, by what each one keeps
  • Limits — heuristic extraction, fetch refusals, and why this is not a backup of the web
  • Troubleshooting — "No title found", sign-in loops, the missing router script, and 401s
  • Glossary — the terms, collected in one place

What it doesn't cover

Running a public multi-user service, production web-server and TLS setup in detail, writing extraction site configurations, or migrating archives at real scale with measured timings — the lab's archive held two articles, and the guide says what that does and does not prove. Nothing here saves anyone else's pages: every example is a fictional article on the lab's own fixture server.

How to use this guide

Read chapter 1 for the rule and chapter 2 for the map of parts; chapter 3 installs, and chapter 4 proves a save. Read chapter 6 before you judge your first strange save: half of Wallabag's behaviour lives in its fetcher, including the refusal that protects the network it runs on. The lab's fixtures live in wallabag-lab/fixtures/, its driver scripts in wallabag-lab/drivers/, its configuration in wallabag-lab/parameters-lab.yml.example, and every claim's evidence in wallabag-lab/transcripts/; its distilled commands are examples/commands.txt and its notes examples/lab-notes.txt.


Part of the series

This guide is one of the For Mere Mortals guides: plain-language guides to the tools programmers and makers use.

Related guides:

License

The writing in this guide is licensed under CC BY 4.0. Code examples and lab scripts are licensed under the MIT License.