Build a personal PDF reading library that keeps annotations outside the file. Point it at a folder of PDFs. Render pages with PDF.js and virtualise the page list so a 900-page document opens in under a second and scrolls without loading every page — do this first, because if the reader is slow nothing else about the tool matters. Store annotations as a sidecar JSON file next to each PDF, named after the document's SHA-256 rather than its filename, so renaming or moving the file does not orphan the notes. Each annotation records the page, a normalised rectangle, the type (highlight, underline, note), the colour, the note text and the exact text under the selection. Never write into the PDF itself. Build one thing the sidecar format makes easy and the paid apps make hard: search across every annotation in the whole library at once, with the surrounding sentence and a link back to the page. A library of highlights you cannot search is a library you never re-read. Add an export that produces a Markdown file per document — highlights in page order, each with its note and a page reference — so the reading has an output. Sync is a folder you already sync: put the PDFs and their sidecars in the same directory and let Syncthing or iCloud Drive move them. Do not build a sync protocol; last-writer-wins on a JSON file is an acceptable answer for one person and a bad one for anybody else. Out of scope: a native app, stylus input, and editing the PDF.