- Python (3.9.6)
- genanki:
pip install genanki
If you have git installed, clone the repository with git clone https://github.com/oerol/k-anki.git
and if you don't, click here.
To get started, either connect your Kindle to your PC or place a vocab.db
file in the k-anki
directory. Next, start the program by running:
python main.py
The program will then guide you to the process. If you don't define any API keys, the program will skip the translation/definition fields.
The program then produces an output.apkg
file that you can import into Anki!
To add a translation or a definition to your vocab list, you would have to acquire an API key from Merriam-Webster and DeepL (both include free versions!). Please mind that DeepL requires you to add a credit card for authentification.
This step might seem daunting at first, but it shouldn't take you more than 10 minutes.
After you're done, make sure to copy your API key from Merriam-Webster and DeepL and paste them to the corresponding fields in the settings.json
file.
- Detecs connected Kindle devices automatically
- Filters out common words that you may have added to your flashcards like "the" or "and"
- Includes the passage of the book where the flashcard was first recorded
- Supports adding translation and definitions to words
- Can be configured to run with a single command