Laverna Anki Addon

AnkiWeb addon 1504755463

Acts as a local bridge server between a command-line tool and Anki, receiving data to create custom decks with Google Translate audio.
AI-generated summary; may contain mistakes.

card-creationsync-integrationdeck-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2025-12-24
Anki versions
25.09.2~
License
BSD-3-Clause (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-07-12 (112 days before the snapshot).
  • GitHub Actions workflows: 3.
  • Commits in the last year: 25.
  • Issues: 0 open, 17 closed.
  • Pull requests: 0 open, 25 merged.
  • Median first response: less than 1 hour (1 answered issues and pull requests).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.09.2+2025-12-24
History across monthly snapshots

Loading…

Similar addons

AnkiMaxer

Acts as the local Anki-side helper for a browser extension, finding and unsuspending cards and building filtered Incorrects and Marked review decks while keeping all data local.

sync-integrationschedulingtaggingfiltered-decks

3 votes 21% approval 👍 2 · 👎 1 Anki 2.1.66~ Updated 2026-09-12
Crowd Stats (BETA)

Displays a review-screen overlay comparing your Again/Hard/Good/Easy ratings with anonymous community averages for mapped decks, while uploading limited anonymized card and rating data.

sync-integrationreview-flowstatisticsbeta

7 votes 65% approval 👍 7 · 👎 0 Anki 2.1.1~ Updated 2026-05-22

Description

Laverna Addon for Anki

This addon is a bridge server between Laverna CLI and Anki. It's purpose is to act as a middleman to receive the data from Laverna CLI.

Why do we need this addon? Because Anki doesn't have a SDK so we use this addon to make new decks for your profile.

This addon works with Laverna CLI to create custom decks for your needs with Google Translate audio.

  • Download Laverna CLI
  • Install this addon
  • Start Anki (the addon runs HTTP server on localhost with port 5555)
  • Now you can use Laverna CLI to create your decks, for more info, see laverna anki --help or the git repository

Click here to download the addon.

Check the status of the addon via Curl

❯ curl http://localhost:5555/
{"minimum_required_anki_app_version":"25.09.2","status":"healthy"}

README

Laverna

Version CI Godoc License Codecov

the goddess of the thieves, helps you steal translation speeches from the G-daddy monopoly.

goddess-of-thieves

Installation

Grab Binaries

You can find the binaries through GitHub releases.

Install Via Go

  go install github.com/occamist/laverna@latest

Sample Usage

Basic

Let's create example CSV

speed,voice,text
normal,th,สวัสดีครับ
slower,en,Hello there
slowest,ja,こんにちは~

Running below command will generate audios in the same directory.

  laverna run --file example.csv

Anki

Make sure you have Laverna Anki Addon installed first. Then you can proceed with the below CSV format.

Text,HelperText,TextA,TextB,TextC,TextD
ฉันชอบ{{c1::ฟัง}}เพลง,I like to listen to music,ฟัง,เล่น,ดู,อ่าน
เขา{{c1::เล่น}}ฟุตบอลทุกวัน,He plays football every day,เล่น,ฟัง,ดู,อ่าน
คุณ{{c1::อ่าน}}หนังสือนี้ไหม,Do you read this book,อ่าน,ฟัง,เล่น,ดู
  laverna anki --profile Talha --deck my-thai-deck --voice th --file ./testdata/anki-th-example.csv

Now your new deck is created in Anki with the audio.

anki-front-card

anki-back-card

Yomitan

Run a local HTTP server that acts as a custom audio source (JSON) for Yomitan. In Yomitan, go to Settings → Audio → Configure Audio Playback Sources → Add, choose type Custom URL (JSON), and set the URL to below if you intend to host locally:

http://localhost:8770?term={term}&reading={reading}&language={language}

Then open a terminal and run below to ensure the server is listening on your machine while you use Yomitan on the browser.

  laverna yomitan
2026/08/08 00:00:00 listening on "localhost:8770"

If you wish to not host locally, you can use my own hosting server. This is the only option you have on your phone or on your tablet etc. :)

https://yomitan.occamist.dev/?term={term}&reading={reading}&language={language}

Shell Completions

Output shell completion script for bash, zsh, fish, or Powershell. Source the output to enable completion.

Bash / Zsh

source <(laverna completion bash) or source <(laverna completion zsh)

Fish

laverna completion fish > ~/.config/fish/completions/laverna.fish