Hacker News
A Claude Code Skill Recovered 815 Export-Blocked Kindle Highlights by Reading Character Offsets Out of the Mac App's SQLite Database
The kindle-highlights skill combines three passes: scraping the Amazon notebook DOM, reading exact character positions from the Mac Kindle app's SQLite store to locate highlights that are hidden entirely, and capturing Cloud Reader pages to canvas for local OCR through Apple Vision to reconstruct text truncated at those known positions. Across four real books it extracted 2,432 highlights, 815 of which were export-blocked, 454 truncated and 361 fully hidden, with recovered text landing within a couple of characters of the true boundary. It is a small repo at 15 stars, and the interesting part is the pattern of using a known offset to aim OCR rather than reading a whole page.
↳ Follow the thread