kindle-zotero_importer/plugin
Utku Bilen Demir 9622cec49f Kanzi 0.6.8: fix [r] on notes colours highlight
- src/kindle_zotero_importer/import_plan.py: _annotation_stub now checks comment first for [code] (so [r] on a Kindle note colours its highlight), strips bracket from comment, handles highlight text bracket too
- Fixes grey=[r] not applying when note is '[r] this is a red note' with yellow highlight (was all yellow)
- Add missing 'color' field (was dropped in previous refactor)
- Bump to 0.6.8 for release
2026-09-22 16:15:50 +02:00
..
bootstrap.js Kanzi 0.6.7: bracket colours [r]=grey + editable Settings 2026-09-22 15:19:27 +02:00
manager.html Kanzi 0.6.7: bracket colours [r]=grey + editable Settings 2026-09-22 15:19:27 +02:00
manifest.json Kanzi 0.6.8: fix [r] on notes colours highlight 2026-09-22 16:15:50 +02:00
prefs.js privacy: anonymized sharing on by default with opt-out, mention in README 2026-09-19 18:06:06 +02:00
README.md 0.6.4: incremental id-based import, Mappings/Integrated, black iA Duo, resizable tables 2026-09-16 14:44:31 +02:00

Kindle Zotero Importer Zotero Plugin

This is a hybrid Zotero plugin wrapper around the current Python importer. Zotero owns the user interface and writes native annotations through Zotero APIs; the Python project still performs parsing, matching, planning, EPUB positioning, and PDF positioning.

Use

  1. Install kindle-zotero-importer.xpi in Zotero through Tools > Plugins.
  2. Open Tools > Kindle Zotero Importer....
  3. Select the updated Kindle My Clippings.txt in the manager.
  4. Follow the current stage, percentage, and elapsed time in the manager.
  5. Review created, existing, updated, failed, and unresolved counts when it completes.

The plugin uses match-overrides.json from the project directory as the persistent source of title mappings and ignored titles. Generated JSON artifacts are still written to the project directory for audit and debugging.

Build XPI

From the repository root:

python scripts/build_plugin.py

The output is dist/kindle-zotero-importer.xpi.

The plugin manifest targets Zotero 6.999 through 10.0.*.