This syncs kobo e-reader bookmark and annotations to Evernote
You need a developer token and shard details from Evernote to run this.
- Rename the config.dist.py to config.py. This file stores your configuration settings.
- Login to your main production evernote account.
- Jump over to https://www.evernote.com/api/DeveloperToken.action and login. This will provide you with your developer token and notestore shard information.
- Update the config.py with these settings.
- Connect your Kobo by USB
- Update the config.py with the path to the KoboReader.sqlite file. On my device this was
/Volumes/KOBOeReader/.kobo/KoboReader.sqlite - run
python kobosync.py
The script will run through all the bookmarks and annotations on your device checking whether they exist in your evernote account and creating them in the evernote account if they don't.
To check whether an item already exists in your Evernote account, the script filters your current notes looking for the words:
kobosync-link=bookmark-id
Where bookmark-id is replaced by the unique ID generated by your Kobo. If you remove this tag from the bottom of the note the script will sync a copy back to Evernote again.
Presently this is just a script that I am using for protoyping a full client app. So it's console based without a UI at the moment. That will be coming once I have everything working the way I want it to.
Make sure you check out the issues https://github.com/purplebeanie/kobosync1/issues. Most notably the rate limiting is not yet implemented so if you have large bookmarks / annotations it's not going to transfer all of them presently.
I am building and testing this on a Mac using Python 2.7. The OAuth2 module has been installed using pip and the Evernote SDK is included as a submodule to this project.
I am connecting to a Kobo Glo at last check running 3.2.0 of the Kobo software.