clippy-kindle icon indicating copy to clipboard operation
clippy-kindle copied to clipboard

Support using Anki API to directly create flashcards

Open dangbert opened this issue 2 years ago • 0 comments

An MVP for this is already complete in the anki branch of this repo, but it's hardcoded with the names/settings of my personal Anki data. The solutions there needs to be generalized as follows:

  • Add support for the following fields in settings.json:
{
        // global settings;
        "user_anki_dir": "~/.local/share/Anki2/User 1",

        // settings for a particular book group:
        "spanish": {
            "deck": "My-cool-deck",
            "tags": ["world::lang::es"],
            // ...
        },
}
  • Refactor ankiImport.py to read from these settings

dangbert avatar Sep 12 '22 10:09 dangbert