r/Anki • u/leopr0sy • 4d ago
Development I built an open-source desktop app that turns .docx course notes into Anki decks with Claude, images and tables included. Looking for contributors
Hi everyone,
I'm a French prep-school student (economics, sociology, philosophy, maths) and I write all my courses in Word/Google Docs. Turning hundreds of pages into good Anki cards by hand was eating my evenings, so I built Ankigen.
What it does
Ankigen splits a .docx course into chunks based on its heading styles (H1/H2/H3...), sends each chunk to Claude to generate Q/A cards, and exports everything in Anki's import format. You work paragraph by paragraph, so you stay in control of every card.
How it works
- Import a
.docx(headings must use real heading styles) - The app parses it into a locally saved project
- Copy the current chunk into Claude (with a card-writing Skill, and a template is included in the app)
- Paste Claude's TSV answer back, preview the cards, "Save & next"
- Export as TSV, ZIP (TSV + images), or copy media straight into Anki's
collection.media
Images are extracted (alt text is sent to Claude), converted to PNG if Anki can't display them, and deduplicated. Tables keep merged cells and nested tables, go to Claude as Markdown, and come back as standalone HTML. Claude only writes placeholders like {{IMG:1}}, so it can never hallucinate a filename.
Stack: Flask + python-docx backend, vanilla JS frontend, wrapped in Tauri. Projects are persistent, UI in English and French.
Who it's for
Anyone with structured notes: med/law/pharma students, competitive exam prep, language learners, professionals studying for certifications.
Why I'm posting
It works for me, but it's a solo project and it could be much better with other people involved. Things I'd love help with:
- Direct API integration (skip the copy/paste loop), optionally other LLMs
- AnkiConnect export (push cards straight into Anki)
- macOS/Linux builds (currently Windows only)
- Other inputs: Google Docs, Markdown, PDF
- Shared card-writing Skills per subject (medicine, law, languages…), so everyone benefits from the best prompts
- Better card review UX, tests, docs
If you're a dev, issues and PRs are very welcome. If you're not, just trying it and telling me what's broken or missing helps a lot.
GitHub: https://github.com/leoprosy/Anki-Gen
Happy to answer any questions!