Anki add-on: Hashi

Hashi (for Tokei) — Quick Start What this add-on does Exports Anki review statistics. Exports a minimal surface-word lexical snapshot from mature cards. Scope note: Hashi exports surface words only . It reads raw text from a note field you choose. There is no lemmatization, morphology, or inflection handling . Install Install the add-on from AnkiWeb. Restart Anki. Configure (required before your first export) In Anki, go to: Tools → Hashi → Configure Decks… For each row: Deck: Choose the deck you want included (subdecks are included automatically). Target Field: Choose the note field that contains the surface word text you want exported (common choices: Expression, Word, Front — depends on your note type). Mature Interval (days): Default is 21 . Only cards with an interval ≥ this value are included. Click Save . Run an export Tools → Hashi → Export Stats Where the files go By default, Hashi writes to your Anki profile folder under: hashi_exports/ You can change this folder in rules.json via output_dir . If output_dir is an absolute path, Hashi writes there instead. Files produced (for Tokei) anki_stats_snapshot.json Anki review and retention statistics. lexical_snapshot.json Surface-word snapshot. Counts are based on per-card rows, not deduplicated unique words. known_words.sqlite Stores deduplicated surface-word identities over time. Important notes Exports include timestamps (exported_at / range) and are not byte-stable across runs. If you change note types or fields, re-check the Target Field selection. Surface words may include phrases or multi-word entries depending on your card content. Optional: HTTP trigger (advanced) If enabled, you can trigger an export at: http://127.0.0.1:8766/export You can require a token: http://127.0.0.1:8766/export?token=YOUR_TOKEN Support If you find this add-on useful and would like to support development: