clippy-kindle
clippy-kindle copied to clipboard
Support using Anki API to directly create flashcards
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