Skip to content

Script to simplify the process of adding Anki cards from Immersion Reader using Yomitan's note generator feature (complete with sentences, audio and frequency)

License

Notifications You must be signed in to change notification settings

GameFuzzy/anki-immersion-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anki-immersion-reader

Create release

Description

What the script does

  1. Copies a list of all the words in the provided CSV file exported by Immersion Reader and prompts you to paste them into Yomitan's word generator and hit generate.
  2. Waits for the user to hit enter to continue.
  3. Once the user has done so it adds the sentences extracted from the CSV file to the newly created Anki cards.
  4. (Optional) It will then by default clear the sentence reading field to allow for easier backfilling of furigana.

Installation

Prebuilt binaries for most platforms can be found here.

You can also build it from source as described further down on this page.

(Optional) Verify binary checksum against CI

Requires GitHub CLI

gh attestation verify anki-immersion-reader_<OS>_<ARCH>[.exe] -R GameFuzzy/anki-immersion-reader

Usage

./anki-immersion-reader_<OS>_<ARCH>[.exe] [options] filepath deck
  -r string
        shorthand for -sentence_reading (default "SentenceReading")
  -s string
        shorthand for -sentence (default "Sentence")
  -sentence string
        Name of your note type's sentence field (default "Sentence")
  -sentence_reading string
        Name of your note type's sentence reading field (default "SentenceReading")

with filepath being the path to the CSV file exported by AnkiDojo,

deck being the name of your mining deck in Anki.

Notes

  • Setting sentence_reading to an empty string like so: -sentence_reading "" tells the script to not clear the sentence reading field.

Build from source

Requires Go 1.22.0

Instructions

go build

About

Script to simplify the process of adding Anki cards from Immersion Reader using Yomitan's note generator feature (complete with sentences, audio and frequency)

Topics

Resources

License

Stars

Watchers

Forks