kindle-zotero_importer/plugin
Utku Bilen Demir e2578358fb hygiene: minimalist unification with chess tool (F tokens) + prune legacy
- plugin/manager.html: replace stark B mono (#ffffff/#0a0a0a, radius 0) with
  chess F Cleaned D+B tokens (#f8f8f8/#ddd, radius 8px, soft shadow,
  Inter + iA Writer Duo) — same :root, --bg/--panel/--line/--accent/--radius,
  unified tabs as underline (vs boxed), cards/tables/pills with shadow.
  Update inline JS styles (#0a0a0a -> var(--accent)/var(--line)) for
  reimport bar, infobox, status, artifacts.
- plugin/bootstrap.js: remove 394 lines legacy static-dashboard code
  (openStaticDashboard, buildManagerHtml, conflictRows, groupedRows,
  tableRows, conflictTables, statusCards, countStatuses, escapeHtml,
  fileHref, artifactLink, importClippings, configure, pickDirectory) —
  now only manager pipeline + annotation writer remain (881 vs 1275 lines).
- src/kindle_zotero_importer/cli.py: minimalist description, primary
  highlighted (others are developer utilities).
- Build verified: tests pass, XPI rebuilt 23K, JS syntax ok.
2026-09-22 01:02:32 +02:00
..
bootstrap.js hygiene: minimalist unification with chess tool (F tokens) + prune legacy 2026-09-22 01:02:32 +02:00
manager.html hygiene: minimalist unification with chess tool (F tokens) + prune legacy 2026-09-22 01:02:32 +02:00
manifest.json 0.6.4: incremental id-based import, Mappings/Integrated, black iA Duo, resizable tables 2026-09-16 14:44:31 +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.*.