ani - Watch local anime in the browser with Yomitan subtitles & one-click cards.

AnkiWeb addon 719365920

Plays local anime in the browser with Yomitan-scannable subtitles, automatically filling new Anki cards with the subtitle sentence, screenshot, and sentence audio.
AI-generated summary; may contain mistakes.

card-creationsync-integrationdictionaryfork-or-reupload

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-10-26
Anki versions
25.09.4~
Languages
Python, HTML, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-26 (6 days before the snapshot).
  • Test files: 1.
  • Commits in the last year: 26.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

GitHub

Repository
carter-fs/ani Β· more by carter-fs
Stars
⭐ 0 · forks 0 · open issues 0
Last commit
2026-10-26
License
GPL-3.0
Languages
Python, HTML, Shell
Tests
1

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.0725.09.4+2026-10-26
History across monthly snapshots

Loading…

Similar addons

Yomitan β†’ Anki: AI Sentence Translator

Automatically translates example sentences and target words on newly created Yomitan cards into a chosen language via Google Gemini, filling the SentenceTranslation field in the background without blocking card creation.

card-creationaisync-integration

1 votes 0% approval πŸ‘ 0 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2026-08-22
Japanese popup dictionary

Provides instant hotkey-activated Japanese dictionary popups in Anki's reviewer and editor, showing definitions, pitch accents, and frequency with deinflection, customizable themes, and local SQLite caching.

shortcutsappearancedictionary

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 Anki 25.09.2~ Updated 2026-05-11

Description

Watch local anime in the browser with Yomitan-scannable subtitles and one-click Anki cards. Adding a card with Yomitan automatically fills in the subtitle sentence, a screenshot and the sentence audio.

Based on Autocards by かにちぁん, reworked to run in the browser on macOS and Linux.

README

ani

Watch local anime in the browser with Yomitan-scannable subtitles and one-click Anki cards. Adding a card with Yomitan automatically fills in the subtitle sentence, a screenshot and the sentence audio.

Based on Autocards by かにちぁん, reworked to run in the browser on Windows, macOS and Linux.

ani playing an episode with subtitles over the video

Status: Active

Features

  • Subtitles drawn over the video as text, so Yomitan can scan them
  • Cards get the sentence, a screenshot and the sentence audio automatically
  • Subtitles synced to the episode automatically, the rest of the season in the background
  • Library with thumbnails and watch progress; resumes where you left off
  • Spoiler-free transcript, pause on hovering the subtitle, line-by-line navigation

Install

You need Anki 25.07 or later and a browser with Yomitan.

  1. In Anki, open Tools > Add-ons > Get Add-ons, enter 719365920 and restart Anki.
  2. Say yes when ani offers to install AnkiConnect, then restart Anki again. On first start ani also downloads the tools it needs (about 80 MB).
  3. Open Tools > ani: Library, click the settings icon, type a deck name and click Create the ani note type for this deck. Then copy the field list it shows into Yomitan's Anki settings.

Already using Lapis? Skip step 3's button: Lapis has the same field names ani fills by default (Expression, Sentence, Picture, SentenceAudio), so in ani's settings just pick your mining deck. Keep Lapis's Yomitan setup as it is; ani matches the sentence with its <b> tags removed and leaves Lapis's bolding in place.

On Anki from Flathub, also run flatpak override --user --filesystem=home net.ankiweb.Anki so ani can find files you drop onto a series.

Use

  • Tools > ani: Add series picks a folder of episodes and, if they're elsewhere, a folder of Japanese subtitles. Episodes are matched to subtitles by number (S01E03, - 03, 第3θ©±).
  • Tools > ani: Library opens the player. Anki must stay open while you watch.
  • Add a card with Yomitan as usual; ani fills in the picture and audio within a few seconds.
  • To add episodes later, drop them onto the series page.
  • Tools > ani: Stop, or the power button in the player, stops ani.

Your video and subtitle files are never changed; synced subtitles are saved beside each video as <video>.ani.srt.

Keys

Key Action
Space / K Play or pause
Left / Right Previous or next line
R Replay the current line
[ / ] Subtitle offset -/+ 0.1s, remembered per series
F Fullscreen
N / P Next or previous episode
H Toggle hover pause
L Library

Troubleshooting

  • No picture or sound: the browser can't decode the file. HEVC (x265) works in Firefox 137+ and in Chromium-based browsers on macOS; on Linux it needs hardware decoding (VA-API).
  • Wrong audio language: the browser plays the first audio track it can decode, so on dual-audio releases put the Japanese track first.
  • Cards not filled: only cards added today, whose sentence matches a line already played and whose picture and audio fields are empty, are filled. With your own note type, map its sentence field to {sentence} in Yomitan and enter the deck and field names in ani's settings.

Settings outside the app

Set these as environment variables for Anki if the defaults don't suit:

Variable Default Purpose
ANI_PORT 6969 Port the player is served on
ANI_HOSTS none Extra host:port names the player answers to, comma-separated (see below)
ANI_SEARCH Downloads, Desktop, Movies, Videos Folders searched for files dropped onto a series (:-separated, ; on Windows)
ANKICONNECT http://127.0.0.1:8765 AnkiConnect URL

Watching from another device

ani only listens on this computer and refuses requests addressed to any other name. To watch on another of your devices, forward a private address to the player and list that address in ANI_HOSTS. With Tailscale, for example:

tailscale serve --bg --https=8443 http://127.0.0.1:6969
ANI_HOSTS=yourmachine.your-tailnet.ts.net:8443 anki

Then open https://yourmachine.your-tailnet.ts.net:8443 on the other device. Anyone who can reach that address can control the player, so only use one that is private to you. Cards are still filled through AnkiConnect on the computer running ani, so they are only filled when they reach that computer's Anki.

Development

  • python3 test_ani.py runs the tests.
  • addon/build.sh makes dist/ani.ankiaddon (install from file) and dist/ani-ankiweb.zip (upload to AnkiWeb). Each names the other as a conflict so only one copy runs.
  • addon/tools.sh rebuilds the tool bundles the add-on downloads, from pinned sources. Publish a rebuild under a new release tag (tools-2, ...) and update RELEASE and the checksums in addon/__init__.py; never re-upload to a published tag.

Licence

GPL-3.0-or-later. See LICENSE.