A program to copy all your Kindle highlights and notes to a page in Notion.
Explore the docs
·
File issues and feature requests here
If you found this script helpful or appreciate my work, you can support me here:
A Python package to export all the clippings from your Kindle device to a page in Notion. Run this script whenever you plug in your Kindle device to your PC.
A key inspiration behind this project was the notes saving feature on Google Play Books, which automatically syncs all your highlights from a book hosted on the service to a Google Doc in real time. I wanted a similar feature for my Kindle and this project is one step towards a solution for this problem.
Intended for
NOTE Need a step-by-step guide to setting this package up? Click here for the full guide.
To get a local copy up and running follow these simple steps:
NOTE As of 10-07-2022, the latest update to this package relies on the offical Notion API for sending API requests. This requires you to create an integration token from here. For old users, you'd have to switch to this method as well since
notion-py
isn't being maintained anymore.
pip install kindle2notion
Plug in your Kindle device to your PC.
You need the following three arguments in hand before running the code:
your_notion_auth_token
from the secret key bearer token provided.your_notion_database_id
from the URL of the database you have copied to your workspace. For reference,
https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=...
|--------- Database ID --------|
your_kindle_clippings_file
is the path to your My Clippings File.txt
on your Kindle.Additionally, you may modify some default parameters of the command-line with the following options of the CLI:
--enable_highlight_date
Set to False if you don't want to see the "Date Added" information in Notion.--enable_book_cover
Set to False if you don't want to store the book cover in Notion.Export your Kindle highlights and notes to Notion!
kindle2notion 'your_notion_auth_token' 'your_notion_table_id' 'your_kindle_clippings_file'
python -m kindle2notion 'your_notion_auth_token' 'your_notion_table_id' 'your_kindle_clippings_file'
You may also avail help with the following command:
kindle2notion --help
python -m kindle2notion --help
NOTE This code has been tested on a 4th Gen Kindle Paperwhite on both MacOS and Windows.
See the open issues for a list of proposed features (and known issues).
Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE for more information.