Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 964 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 964 Bytes

KOtoZotero

A tool to import notes extracted from KOReader into Zotero.

Limitations

You have to add the books to your Zotero library before running this script.

Quickstart

  1. Export the notes using KOHighlights. Export one CSV file per book. Make sure the books already exist in your Zotero library.
  2. Install the requirements from requirements.txt pip install -r requirements.txt
  3. You need your Zotero user ID, which is available here.
  4. In addition, you need an API key from here.
  5. Set the ZOT_LIB_ID and ZOT_KEY environment variables to your user ID and API Key (obtained in steps 3 and 4).
  6. Run the program, giving the csv files as arguments.
ZOT_LIB_ID=123456 ZOT_KEY=<key> python3 -m kotozotero path/to/Book1.csv path/to/Book2.csv

License

The program is licensed under GPLv3.