Posted by l3a0 2 hours ago
On Kindle Cloud Reader, Amazon serves images for the pages of the book, so you can't directly read the text. But you can indeed OCR the images and extract the context like that. I created a small browser extension with Claude.
It's crazy how difficult Amazon made this process for reasonable use cases like that.
I had a lot of fun hooking up some e-ink displays in my house to call out to BookOrbit to get the highlights and display them. Highlighting something in my book and then seeing it on a screen a day or two later is more fun than I would have guessed.
Those highlights are my own notes in my own account, so I built a Claude Code skill that gets them back. Three unlocks made it work:
- The Mac Kindle app syncs a SQLite database with the exact character-precise start/end position of every highlight — no export limit applies to it.
- The Cloud Reader renders pages as images that can be captured via canvas and OCR'd locally with Apple Vision (free, on-device, no tokens).
- Known positions turn recovery from transcription into arithmetic: find the known prefix, cut to the known length. Recovered text lands within 0-2 characters of the position ruler (median residual 0-1).
Four books so far: 2,432 highlights, 815 of them export-blocked — all recovered, verbatim, location-cited, into one Markdown file per book.
Constraints, honestly: macOS only (AppleScript browser control, Apple Vision OCR, the Mac Kindle app's data files), your own logged-in Chrome, and Claude Code to drive it. It reads only your own annotations on your own account — no DRM is touched, and the output is for your personal notes.
Build story: https://baowebdev.substack.com/p/how-to-take-back-your-kindl...