Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A CLI/TUI toolkit for bulk-processing and generating Anki flashcards with LLMs.
| Date | Stars |
|---|---|
| 2026-07-31 | 276 |
| 2026-08-06 | 276 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="meta/logo-dark.svg">
<img src="meta/logo.svg" alt="anki-llm icon" width="300">
</picture>
</p>
<p align="center">
A CLI/TUI toolkit for bulk-processing and generating Anki flashcards with LLMs,
with built-in TTS audio support.
</p>
<p align="center">
<a href="#installation">Install</a> · <a href="#features">Features</a> ·
<a href="#commands-reference">Commands</a> · <a href="#configuration">Configuration</a> ·
<a href="#faq">FAQ</a> · <a href="CHANGELOG.md">Changelog</a>
</p>
---
<p align="center">
<img src="meta/anki-llm-generate.webp" alt="anki-llm generate demo" width="830">
</p>
## What people say
> What's next get AI to answer your flashcards for you?
> — grei_earl (Reddit)
> I love this. The README is extremely detailed and clear, and using
> AnkiConnect to edit decks in-place avoids the usual apkg headaches.
> — rahimnathwani (Hacker News)
> This is cool!
> — Hsaeedx (Reddit)
## Example workflows
- **Bulk-verify translations** – End-to-end pipeline for cleaning large decks.
[Read more](#example-use-case-fixing-1000-japanese-translations)
- **Add a Key Vocabulary field** – Create a per-note field highlighting 1–3 key
words with readings, meanings, and HTML context.
[Read more](#example-use-case-adding-a-key-vocabulary-field)
- **Generate new cards** – Interactively create multiple contextual flashcards
for a vocabulary word or concept from a single command.
[Read more](#example-use-case-generating-new-vocabulary-cards)
- **Add TTS audio** – Bulk-fill audio fields for existing notes or synthesize
audio for newly generated cards. [Read more](#anki-llm-tts)
- **AI-assisted card template editing** – Pull note type HTML + CSS to local
files so coding agents (Claude Code, Cursor, etc.) can redesign card
layouts, then push changes back to Anki.
[Read more](#anki-llm-note-type)
- **Scriptable collection access** – Query AnkiConnect directly from the CLI or
AI agents. [Command reference](#anki-llm-query-action-params)
### Let an agent drive the workflow
The best way to use `anki-llm` is often to describe the outcome to a coding
agent and let it choose and run the commands. For example:
> Use `anki-llm` to add grammar breakdowns to my Japanese cards. Start with
> five cards so I can review the result.
The agent can inspect your collection, prepare the prompt and query, run a small
preview, and scale up after you approve the result. You stay focused on what the
cards should contain instead of assembling each CLI step yourself.
## Why?
Hand-editing a large Anki collection is slow and error-prone. Verifying
translations, adding grammar notes, generating contextual examples: doing it
card by card is impractical at any real size.
`anki-llm` provides a bridge between your Anki collection and modern AI models.
**Batch processing**
- **File-based**: _Export_ deck to file, _process_ with LLM, _import_ results
back to Anki.
- **Direct**: Process and update notes in-place.
**Card generation**
Generate multiple contextual flashcard examples for a term, review
interactively, and add selected cards to your deck.
## Features
- **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 any OpenAI-compatible LLM (OpenAI, Gemini,
OpenRouter, Ollama, and more).
- **Custom prompts**: Use flexible template files to define exactly how the LLM
should process your cards.
- **Concurrent processing**: Make multiple parallel API requests to speed up
large jobs.
- **Resilient**: Automatically retries failed requests and saves progress
incrementally (file mode).
- **Automatic resume**: Pick up where you left off if processing is interrupted
(file mode).
- **Copy mode**: Alternatively, generate cards without API keys by pasting LLM
responses from browser interfaces (ChatGPTExcerpt of 78,726 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:fbed9542cd42138f, llm:Description: 'A CLI/TUI toolkit for bulk-processing and generating Anki flashcards with LLMs.' Language: Rust. No topics provided.
matched fp:fbed9542cd42138f, llm:Description: 'A CLI/TUI toolkit for bulk-processing and generating Anki flashcards with LLMs.' Language: Rust. No topics provided.
matched fp:fbed9542cd42138f, llm:Description: 'A CLI/TUI toolkit for bulk-processing and generating Anki flashcards with LLMs.' Language: Rust. No topics provided.