Synchronize all the .pdf files in your Zotero library with your reMarkable device.
- Fetch files from Zotero
- Fetch files from reMarkable
- Compare with the last sync files stored in
~/.zot_rm_sync/<dir-name>
- Pull changes from Zotero (add new files and remove deleted files)
- Push changes to reMarkable (add new files and remove deleted files)
- Pull changes from reMarkable (remove deleted files)
- Push changes to Zotero (remove deleted files)
Note:
- New files are expected to be added to Zotero only. Files added manually to the reMarkable
/<dir-name>
directory will be ignored. - reMarkable annotations are not saved in Zotero
Tested on Python 3.6
pip install -r requirements.txt
Get a Security Code and run authorize_rmapy.py
python authorize_rmapy.py --security-code <security-code>
Get your Zotero Library ID and Zotero API Key
python sync.py --zot-library-id/-l <zot-library-id> --zot-api-key/-k <zot-api-key> --directory/-d <dir-name> --initialize/-ini
python sync.py --zot-library-id/-l <zot-library-id> --zot-api-key/-k <zot-api-key> --directory/-d <dir-name> [--quiet/-q]
- Download .pdf files from the Zotero Library
- Upload .pdf files to reMarkable
- Maintain directory structure
- Prevent duplicate uploads and downloads
- Delete files from reMarkable if they are deleted in the Zotero library
- Support more file extensions like .epub
- Update files in Zotero Library with reMarkable annotations