Skip to content

Synchronize all the .pdf files in your Zotero library with your reMarkable device

License

Notifications You must be signed in to change notification settings

gpcarlos/zotero-reMarkable-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zotero - reMarkable Synchronization

Synchronize all the .pdf files in your Zotero library with your reMarkable device.

picture alt

How does it work?
  1. Fetch files from Zotero
  2. Fetch files from reMarkable
  3. Compare with the last sync files stored in ~/.zot_rm_sync/<dir-name>
  4. Pull changes from Zotero (add new files and remove deleted files)
  5. Push changes to reMarkable (add new files and remove deleted files)
  6. Pull changes from reMarkable (remove deleted files)
  7. 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

Requirements

Tested on Python 3.6

pip install -r requirements.txt

Authorization

reMarkable

Get a Security Code and run authorize_rmapy.py

python authorize_rmapy.py --security-code <security-code>

Zotero

Get your Zotero Library ID and Zotero API Key

Use

Initialization

python sync.py --zot-library-id/-l <zot-library-id> --zot-api-key/-k <zot-api-key> --directory/-d <dir-name> --initialize/-ini

Synchronization

python sync.py --zot-library-id/-l <zot-library-id> --zot-api-key/-k <zot-api-key> --directory/-d <dir-name> [--quiet/-q]

Features

  • 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
Thanks to @urschrei and @subutux for the fantastic APIs

About

Synchronize all the .pdf files in your Zotero library with your reMarkable device

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages