Show HN: Anki-LLM – Bulk process and generate Anki flashcards with LLMs
5 months ago
- #Flashcards
- #LLM
- #Anki
- CLI toolkit for bulk-processing and generating Anki flashcards with LLMs.
- Features include bulk-verify translations, adding key vocabulary fields, generating new cards, and scriptable collection access.
- Supports batch processing workflows: file-based (with resume) or direct-to-Anki (one command).
- Export Anki decks to clean CSV or YAML files.
- Batch process note fields using OpenAI or Google Gemini models.
- Custom prompts and concurrent processing for efficiency.
- Automatic resume and incremental saves for large jobs.
- Copy mode allows generating cards without API keys by pasting LLM responses.
- Install globally via npm: `npm install -g anki-llm`.
- Requires Node.js (v18 or higher), Anki Desktop running, and AnkiConnect add-on installed.
- Supports OpenAI and Google Gemini models with configurable API keys.
- Commands include export, import, process-file, process-deck, generate-init, generate, and query.
- Example workflows: updating translations, adding structured vocabulary explanations, and generating new flashcards.