This is about Zotero2Readwise Python library I just released that retrieves all Zotero annotations and notes (using the new Zotero PDF editor and Note Editor), and uploads them to Readwise. The workflow I’m suggesting here is as follows:
Zotero → zotero2readwise Python library → Readwise → Readwise Official plugin
Please NOTE that this is NOT a replacement for the other workflow described in
Obsidian Forum: Zotero → zotfile → mdnotes → obsidian → dataview Workflow.
The main difference here is that the new Zotero (available in Windows, MacOS, and iOS (beta)), you can annotate PDF files without actually saving to PDFs.
The new Zotero PDF Reader and New Note Editor (see Zotero announcement) makes it much simpler to annotate PDF files even on iOS devices (currently in beta).
Important features
- Tags from a Zotero annotation or note is also passed to Readwise.
- Updating highlights is also supported. So, if you updating an existing Zotero annotations/notes, the corresponding Readwise highlight will also updated.
You can checkout the library README here to install the library and run it.
You can install the library using pip install zotero2readwise from a shell terminal (refer to README for more instruction).
Minimum Requirements
- Readwise Access token (from here)
- Zotero Key (from here)
- user ID (from here if it’s personal library. If it’s a group library, please check the instructions in here)
Usage
After installing the library, you can do all the conversion in one of the following two ways:
Approach 1 (Run a python script)
After installing the zotero2readwise, download the run.py file from the library GitHub repository, and then just run
python run.py <readwise_token> <zotero_key> <zotero user/group ID>.
You can get more information on how to run the Python script by simply running
python run.py --help
For example, in my case,
Approach 2 (through a Python terminal)
This approach is more flexible as it also allows you to save any failed items.
Feel free to post any suggestion or bug.