Hacker News new | past | comments | ask | show | jobs | submit login

I looked into this in 2013. At that point there was a "My Clippings.txt" file stored on the kindle that was accessible as a USB storage volume when plugged in. This file stored each annotation in plain text, along with the document ID and the start and ending location of the annotation.

Trouble was, the location was in the Kindle's "Loc" format which is nontrivial (at least to me at the time) to connect to specific text in the document.

I'm sure someone's probably worked this out by now?

Update: yes, at least 160 projects

https://github.com/search?q=%22my%20clippings.txt%22&type=re...




Sorry I failed to mention I'm aware of the "clippings.txt" setup, but I would like to be able to have it automated via the web.

Amazon doesn't expose a direct API for highlighting, and Readwise for example does a little "hack" where you use their browser extension to redirect to the Kindle highlights page and I think they just slurp up the authenticated API requests.


There are some books where if you exceed a certain number of highlights, they are not saved on the file anymore, and Iā€™m pretty sure it also affects the web version too.

This is set as part of the DRM, so be careful that you are really saving the data you want. I went deep into a book highlighting things before I noticed this limitation.

It obviously does not affect files without DRM.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: