AnkiNote
Turn any word, sentence, or STEM problem into a ready-to-review Anki card in seconds.
English | 简体中文 | 繁體中文 | 日本語 | Español | Français
Make every flashcard worth your time. Making one takes seconds, and each card earns the reviews it costs. AnkiNote is a bring-your-own-key AI card studio that turns a word, phrase, sentence, or STEM problem into a complete, styled Anki card — with explanations, natural examples, memory hooks, illustrations, and audio — and saves it straight to your Anki.
No manual formatting. No copy-pasting between ChatGPT and Anki. Paste one API key, run it locally or on a home server, and review on your phone, tablet, or desktop.
✨ What You Get
Language card: definition, illustration, examples |
STEM card: formulas and a step-by-step solution |
Word card in AnkiMobile |
From text on a phone |
STEM card in AnkiMobile |
- Four card modes, one thing per card — Word, Phrase, Sentence, and STEM cards built to stay short, accurate, and spoiler-free. Irregular forms like went even get their own card (go – went – gone).
- Written for your native language — Confusions and notes target the mistakes speakers of your language actually make (for example, warning Japanese speakers that claim doesn't mean クレーム).
- Checked on real cards, not just prompted — Every card type is tested on real output from Gemini, OpenAI, DeepSeek, and Claude (down to each provider's cheapest model), and language pairs ship only after passing review.
- Live preview, inline editing & dark-mode themes — Flip front/back and Light/Dark before saving, edit any field inline, or fix broken LaTeX in one click. Choose from Rosé Pine, Kanagawa, Tokyo Night, and Gruvbox — cards follow Anki's night mode automatically across desktop, AnkiDroid, and AnkiMobile.
- Works with your existing Anki — Writes straight to Anki Desktop via AnkiConnect with no duplicate collection, or runs built-in Anki with AnkiWeb sync on a home server/NAS.
Preview all 4 card themes (Light & Dark)
💡 Core Workflows
Pick words right out of what you're reading
Switch Generate to From text and paste a sentence or paragraph. Tap the words and phrases you don't know, and Sort turns your marks into a clean list in dictionary form with glosses in your language.
- Catches the whole phrase — Tap track in "I lost track of time" and AnkiNote extracts "lose track of".
- Cards in context — Each card is generated with its source sentence, so it covers only the sense used there.
- Review sentence by sentence — Uncheck, edit, switch between word and phrase, or add a sentence card before generating.
Turn a missed STEM problem into a card
Snap a photo of a homework or exam problem, switch Generate to STEM, and drop or paste the image:
- Self-contained front, step-by-step back — Rewrites the problem cleanly with MathJax formulas and highlights the clue that leads to the solution method, not just the algebra.
- Ask a tutor-style follow-up — Save the card, type something like "How would I come up with this myself?", and click Rewrite to create a companion card on deriving the strategy (Save again keeps both; Undo restores the first).
- Edit or repair before saving — Tweak any field inline or fix broken formulas in one click with Fix with AI.
One follow-up question turns a solution card into a card on how to derive the method
See AI-generated STEM diagrams across subjects
Diagrams drawn directly from each card's own values across physics, geometry, calculus, statistics, data structures, and finance (labels follow the card's language)
🚀 Quick Start
The only prerequisite is uv (it manages Python for you):
curl -LsSf https://astral.sh/uv/install.sh | sh
Run AnkiNote directly without installing (always launches the latest release):
uvx --from ankinote-ai@latest ankinote-web
Open http://127.0.0.1:8000 in your browser. On first launch, the Setup Wizard guides you through:
- AI Provider — Paste a single Gemini API key (covers text, images, and speech), or expand Advanced for OpenAI, Claude, DeepSeek, fal.ai, or custom endpoints.
- Anki Connection — Open Anki Desktop with the AnkiConnect add-on installed; the wizard connects automatically. (On a server without Anki Desktop, choose Built-in Anki and sign in to AnkiWeb.)
- Languages, Theme & First Card — Pick your languages and color palette, then generate and save your first card inside the wizard.
To install globally as a command:
uv tool install ankinote-ai
ankinote-web
🐳 Self-Hosting with Docker
Run AnkiNote 24/7 on a home server or NAS to create cards from your phone's browser anytime, even when your computer is off. (On the computer where you use Anki Desktop, Quick Start above is all you need.) Multi-arch images (amd64 + arm64) are published to ghcr.io/ankinote-ai/ankinote and ignity21/ankinote-ai.
# Built-in Anki + AnkiWeb sync (no desktop app required)
cd deploy/headless
cp .env.example .env # optional: AnkiWeb credentials, port, etc.
docker compose up -d # open http://localhost:8080
⌨️ CLI & AI Agents
The ankinote CLI creates cards from the terminal using the same settings as the web app, so any AI agent that can run shell commands (Claude Code, Codex, etc.) can make cards for you.
# Turn underlined words from a book photo (via your agent) into cards
ankinote word batch serendipity ephemeral eloquent
# Batch-generate from a word list (one item per line)
ankinote word batch --file words.txt --rpm 30
- Run bare
ankinotefor an interactive settings menu. - Run
ankinote skill installonce (and again after upgrades) to teach your AI agent these commands. - See the CLI Usage Guide for phrases, sentences, STEM, and context JSONL. (CLI cards save straight to Anki; paste lists into the web app to preview first.)
🤖 Supported Providers
| Capability | Built-in Presets & Compatibility |
|---|---|
| Text Generation | Gemini, OpenAI, Claude, DeepSeek, or any OpenAI-compatible endpoint (via litellm) |
| Image Generation | Gemini, OpenAI (gpt-image), fal.ai |
| Text-to-Speech | Gemini TTS, OpenAI TTS, Google Cloud TTS |
All API keys and settings stay locally in ~/.config/ankinote/settings.json. For supported language pairs, TTS accents, Google Cloud TTS setup, system requirements, and environment variables, see Configuration, Providers & Languages.
📚 Documentation
- Anki Deck & FSRS Setup — recommended deck presets, sibling burying, and daily limits
- Configuration, Providers & Languages — supported languages, TTS details, system requirements, and environment variables
- Docker Deployment Guide — headless & standard stacks, Tailscale, reverse proxies, and migration
- CLI Usage Guide — terminal commands, batch files, and STEM options
- Note Types Reference — card fields and template structure
- Agent Skill — for using AnkiNote with AI coding assistants
🛠️ Development
git clone https://github.com/ankinote-ai/ankinote.git
cd ankinote
uv sync # install Python dependencies (Python 3.14+)
make web-dev # Svelte + Vite frontend dev server
uv run ankinote-web # FastAPI backend (ANKINOTE_API_DOCS=1 for /api/docs)
make test # pytest suite
make format && make check # ruff format/lint + ty type-check
🌐 Community & License
- GitHub Discussions — questions, ideas, and cards you've made
- LINUX DO
- Licensed under the MIT License
Metadata
Release files for ankinote-ai 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ankinote_ai-1.4.1.tar.gz | 5.4 MB | With provenance | Details for ankinote_ai-1.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ankinote_ai-1.4.1-py3-none-any.whl | Python 3 | none | any | Details for ankinote_ai-1.4.1-py3-none-any.whl |
Total release size: 7.3 MB
Release files / ankinote_ai-1.4.1.tar.gz
| Download URL | ankinote_ai-1.4.1.tar.gz |
|---|---|
| Size | 5.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e219469c1cab33a986135986b51de0c2e644d50be9db8373beaedbcc5416bed8
|
|
BLAKE2b-256 checksum How to use checksums |
9507c00b20b6c759931892dccfc41d5b921bff7c4fc01f29f67acdd2144a052e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logRelease files / ankinote_ai-1.4.1-py3-none-any.whl
| Download URL | ankinote_ai-1.4.1-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
949a220927066473b573fef0e1c173cc2eb9b1f18f6dee38736b59bb22f5c493
|
|
BLAKE2b-256 checksum How to use checksums |
6c18e152d68a370122430641d3340bbbe80b04d1133274fc9cd6e0e5bc75f320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logSecurity for ankinote-ai 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ankinote_ai-1.4.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.