Work

Marginalia

A quiet reading companion: annotate anything you read on the web, keep your notes in one shelf, and revisit them when they matter.

Role
Design & Engineering
Year
2026
Stack
Links
Live site ↗Source ↗

The problem

Highlights rot. They live inside the app that captured them — a browser extension, an e-reader, a PDF viewer — so a year of reading ends up scattered across four silos, none of which talk to each other, all of which die when a subscription lapses.

Marginalia is one shelf for all of it: select text anywhere on the web, add a note in the margin, and the passage, its source, and your commentary are stored locally, exportable, and searchable.

Approach

The annotation layer is a content script that measures selection rectangles against the live document and re-anchors them on resize and reflow using surrounding text fingerprints rather than brittle DOM paths. Notes render in a sidebar that shares the page's typographic voice instead of floating above it as chrome.

Storage is a single SQLite file per reader, synced opt-in via plain files. Every export path — Markdown, JSON, BibTeX — is a first-class feature, because the promise of the product is that your notes outlive the product.

Outcome

The re-anchoring layer survives page redesigns, paywalled re-layouts, and dark-mode class churn in the field with a ~2% orphan rate. The whole client ships under 90KB gzipped and adds no measurable input latency on annotation — the bar for software that lives inside someone else's reading.