backfill-anki-yomitan

AnkiWeb addon 1184164376

Backfills Anki fields, media, and audio from Yomitan's API for selected decks or cards, with presets, configurable handlebars, and undo support.
AI-generated summary; may contain mistakes.

card-creationsync-integrationnote-management

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
26 (πŸ‘ 26 Β· πŸ‘Ž 0)
Updated
2026-01-06
Anki versions
23.10~
Description language
en

Maintenance

stale

  • Last update or commit was 188 days before the snapshot (2026-03-27).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.10+2026-01-06
History across monthly snapshots

Loading…

Similar addons

AnkiAutoImage

Adds media to Anki notes via Yahoo/legacy Google image search, Nadeshiko sentence image/audio/text, and Gemini image generation, with configurable settings and review hotkeys.

card-creationaisync-integration

Rating 9 πŸ‘ 6 Β· πŸ‘Ž 3 ⭐ 10 Anki 2.1.1~ Updated 2026-06-06
Yomitan Frequency Sort

Sorts new cards using Yomitan frequency dictionaries with toggleable averaging, startup sorting, review display, backfilling, occurrence filtering, and only word plus optional reading fields.

sync-integrationreview-flownote-management

Rating 10 πŸ‘ 10 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2025-12-18

README

backfill-anki-yomitan

Anki add-on to backfill fields including media and audio using Yomitan's API

Installation

  1. Install the Yomitan API like specified in the README.
  2. Install the add-on from AnkiWeb
  3. Restart Anki

Usage

Create a Backup of your profile/deck before doing any of these steps

Make sure your Browser is running and the API is working.

Run on deck

  1. Go to Tools -> Backfill from Yomitan in the top bar.
  2. Select your deck in the Deck dropdown

Run on select cards

  1. Select Cards you want to backfill in Browse
  2. Go to Edit -> Backfill from Yomitan in the top bar of the card browser.

General Steps

  1. For Expression Field choose the expression field (e.g. Expression in Lapis) of your note type, this is the field that will be queried into Yomitan.
  2. Optionally choose a Reading Field (e.g. ExpressionReading in Lapis) to differentiate expressions using their reading. If left blank, the add-on uses the first result Yomitan returns.
  3. For Field choose the field to backfilled.
  4. In Handlebar type in the Yomitan handlebar, from which you wish to pull data from (e.g. frequency-harmonic-rank). You can concatenate multiple handlebars using a , (e.g. single-glossary-jmdict-2025-08-08,single-glossary-γƒ‡γ‚Έγ‚Ώγƒ«ε€§θΎžζ³‰)
  5. Optionally tick Replace if you wish to replace the current content of the field in every card.
  6. Press Run.

You can cancel backfilling by pressing on the close button of the processing popup. Changes can be undone with Edit -> Undo or with CTRL + Z.

Depending on the dictionaries, backfilling can cause a large amount of inline css to be added to your cards. You can use the Inline CSS Cleanup addon to reduce your collection size.

Presets

You can backfill multiple fields using a .json preset. Presets are stored in the user_files folder in the addon directory. An example for Lapis is included and can be found here.

Format:

{
    "targets": {
        "FieldName": {
            "handlebar": "{handlebar}",
            "replace": true
        },
        "FieldName2": {
            "handlebar": "{handlebar2},{handlebar3}",
            "replace": false
        },
        ...
    }
}

handlebar and replace behave identically to above.

Make sure every handlebar in the preset is a valid handlebar in Yomitan. Otherwise backfilling will fail, because all handlebars are requested in a single API call. For the included Lapis preset, this means adjusting the MainDefinition handlebar to the one matching your preferred dictionary.

Config

Tools -> Add-ons -> backfill-anki-yomitan -> Config

max_entries

Default: 4

Amount of entries to request when Reading Field is specified.

reading_handlebar

Default: reading

Handlebar used to compare against Reading Field.

yomitan_api_ip

Default: 127.0.0.1

yomitan_api_port

Default: 19633

yomitan_api_timeout

Default: 10

Issues

If you're backfilling audio, please be aware that retrieving audio, depending on the audio sources configured in Yomitan, can be quite slow. You can reduce the time by decreasing max_entries in the config.

If you encounter any issues, please report them on GitHub or in the add-on's TMW #resources-sharing thread. Please attach the backfill-log.log file, which can be found in the add-on's user_files directory.

Screenshot

screenshot