VerbForm is a Python tool that extracts data from verbformen.de to automatically create German flashcards in Anki. It supports verbs, nouns, adverbs, and adjectives, complete with audio and customizable templates.
- Python 3.8+
- Anki Desktop
git clone https://github.com/kmoragap/verbform.git
cd verbform
pip install -r requirements.txtBefore running the script, edit config.py to match your system settings.
| Variable | Description |
|---|---|
ANKI_COLLECTION_PATH |
Path to your .anki2 collection file. |
ANKI_MEDIA_PATH |
Path to your Anki media folder. |
DECK_NAME |
Target deck name. If it does not exist, it will be created. |
MODEL_NAME |
Note type (e.g., "Basic", "Básico", "Basique"). Must match your Anki localization. |
LANGUAGE |
Target language code for translations (e.g., 'en', 'es', 'fr'). |
Note: Consult the Anki Manual to locate your file paths.
Important: Close Anki before running these commands to avoid database locks.
You can add one or multiple verbs at once.
# Single verb
python main.py lernen
# Multiple verbs
python main.py machen spielen gehenUse specific flags for non-verb types.
# Noun
python main.py --noun Buch
# Adjective
python main.py --adjective ganz
# Adverb
python main.py --adverb gernYou can combine flags to generate additional card types.
--reverse: Creates a card with the front and back flipped.--cloze: Generates cloze deletion cards based on the word type:- Verbs: Clozes for 3rd person Präsens, 3rd person Präteritum, and Past Participle.
- Nouns: Clozes for Article (der/die/das), Genitive case, and Plural form.
Example:
python main.py --noun Buch --reverse --cloze- Logic: Edit
config.pyto change theme colors and language settings. - Design: Edit
card_template.pyto modify the HTML/CSS structure of the cards.
Contributions are welcome. Please report issues or submit pull requests via the GitHub repository.

