Desktop app for automated Anki language vocabulary card creation from video, audio, manga and books, in 32 languages.

Anki Miner
<!-- i18n-nav:start -->
Language: English
English ·
日本語 ·
Русский ·
Français ·
Español ·
Deutsch ·
简体中文 ·
繁體中文 ·
Italiano ·
العربية ·
粵語 ·
한국어 ·
ไทย ·
עברית ·
فارسی ·
Català ·
Svenska ·
Dansk ·
Polski ·
Hrvatski ·
Lietuvių ·
Suomi ·
Magyar ·
Ελληνικά ·
Română ·
<!-- i18n-nav:end -->
Turn native content in Japanese, Chinese, Korean, and twenty-nine more languages into Anki vocabulary cards.
Also on Android - Anki Miner for Android.
Please leave a ⭐ star if Anki Miner helped you - it helps others find it :).
Mining Demo
| !ホント | !いちゃいちゃ | !代 |
|---|---|---|
| ⬇️ MP4 (sound) | ⬇️ MP4 (sound) | ⬇️ MP4 (sound) |
2055492159)Grab the download for your platform from the latest release:
| Platform | Download |
|---|---|
| Windows | AnkiMiner-*-Setup.exe |
| macOS (Apple Silicon) | AnkiMiner-*-macOS-arm64.dmg |
| macOS (Intel) | AnkiMiner-*-macOS-x86_64.dmg ¹ |
| Linux (Debian/Ubuntu) | anki-miner_*_amd64.deb |
| Linux (other) | AnkiMiner-*-Linux-x86_64.AppImage |
¹ Excludes AVIF screenshots and silence removal for generated subtitles.
.dmg, drag AnkiMiner onto Applications, then launch it. The first launch is blocked because the app is not notarized: dismiss the dialog, open the app again, and choose Open Anyway (also under System Settings -> Privacy & Security). Once only.chmod +x AnkiMiner-*.AppImage, or Properties -> Allow executing in your file manager.Install from PyPI (Python 3.11+)
pipx install anki-miner # or: pip install anki-miner anki_miner_gui
Japanese, Indonesian and Hebrew need nothing extra. For another mining language, add its engine:
pipx install "anki-miner[languages]" # all; or one of [zh], [ko], [yue], [en], [ca], [de], [pt], [fr], [es], [it], [nl], [nb], [ro], [el], [fi], [hu], [hr], [sv], [pl], [lt], [da], [ru], [uk], [sl], [tr], [th], [vi]
Arabic and Persian have no extra. Their data, and the spaCy models of the European languages, download in-app from Settings -> Mining Language, where the downloads above fetch everything.
Install from source
git clone https://github.com/0xzerolight/anki_miner.git cd anki_miner pip install -e . anki_miner_gui
For full development setup, see CONTRIBUTING.md.
.epub, .txt; single book or a whole folder), standalone subtitle files, or pasted text.Built-in themes (29)
Theme licenses: LICENSE-THEMES.md.
Want another theme added? Suggest in a GitHub Issue.
How It Works
Dictionaries and frequency lists for every mining language, with download links: RESOURCES.md. The Setup Wizard offers the right set for your mining language.
JMnedict License
Uses bundled name wordsets derived from JMnedict (JMdict/EDICT project, EDRDG, CC BY-SA 4.0).
| Issue | Solution |
|---|---|
| "Cannot connect to Anki" | Start Anki and ensure AnkiConnect is installed. |
| "Deck not found" | Pick an existing deck in Settings -> Cards & Anki. Decks are not created for you; make it in Anki first if you need a new one. |
| "Note type not found" | Configure your note type's field names in Settings -> Cards & Anki. |
| "ffmpeg not found" | Install ffmpeg and add it to PATH. |
| No definitions found | Add a Yomitan dictionary in Settings -> Dictionaries -> Add dictionary… |
| Windows installer will not open / SmartScreen warning | See First-run notes: select More info -> Run anyway; restore Defender false positives from Protection history. |
| Fresh install has no definitions | Run Tools -> Setup Wizard or Tools -> Download Recommended Resources. For manual import, keep the Yomitan ZIP intact (do not unzip it). |
| Add Dictionary stalls or fails | Note the last visible stage and attach logs (see "Where are the logs?" below). Include the dictionary ZIP name, source, and size in the report. |
| Where are the logs? | Use Help -> Open Log Folder, or open %USERPROFILE%\.anki_miner\anki_miner.log on Windows or ~/.anki_miner/anki_miner.log on macOS/Linux. Rotated logs use the .1 through .5 suffixes. Send anki_miner.crash too if it is there (a crash that took the app down writes its stack to that file, not to the log), and anki_miner.child.log, which holds a helper process's output. |
| Reporting a bug | Help -> Export Diagnostics… writes a ZIP to a location you choose, holding the logs (anki_miner.log and its rotations, anki_miner.crash, anki_miner.child.log), your settings.json, your config and UI-state files, queue snapshots and download manifests, and generated reports of the machine and app state (environment.txt, health.txt, resources.txt, stores.txt, disk.txt, screens.txt). Review it before uploading because it contains file paths and file names from your computer. Nothing is uploaded automatically. |
| More diagnostic logging | Set ANKI_MINER_LOG_LEVEL=DEBUG before starting Anki Miner to capture third-party yt-dlp, urllib3, and fugashi details. The default is WARNING; Anki Miner logs remain at DEBUG. |
| Audio is wrong language | The tool picks the mining language's audio track, else the first one. Choose it yourself with Audio track… (Video -> Single). |
| Subtitles out of sync | Use the subtitle offset control in the GUI (range ±300 seconds). |
Contributions of any kind are welcome.
If you want to support the project, please share it with others who may benefit from it.
Bug reports and feature requests -> Issues.
General questions and discussion -> Discussions or Discord.
Sincere thanks to people who made exceptional contributions to the project:
See CONTRIBUTORS.md for everyone who has made any kind of contribution to the project.
GNU General Public License v3.0. See LICENSE.
100% Free & Open-Source native desktop software. Star the repository to support development.
DeckCraft: presentations and slide shows; an open-source, clean-room presentation app in pure Rust. Part of the ArtCraft Crafting Apps.
egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
TextureCraft: An open-source, 3D texture painting workflow written from scratch in pure Rust