GenKI-Karten
GenKI-Karten is an Anki workflow helper that augments vocabulary cards with generated explanations and usage examples.
What it does
- Loads tab-separated Anki deck exports.
- Generates additional explanatory content per card entry.
- Supports mock generation for deterministic tests.
- Writes updated deck files ready for re-import.
How it is built
- Uses an abstraction layer (
Explanation) with concrete implementations for mock and LLM-backed generation. - Defines structured example output models with Pydantic.
- Includes test utilities to reset fixture decks and validate read/write behavior.
- Uses environment-based API key configuration for provider access.
Tech stack
Python, pandas-style deck processing workflow, Pydantic, dotenv, Google GenAI client.