Yomichan Forvo Server

AnkiWeb addon 580654285

1 other version of this addon exists. Compare versions ↓

Runs a local web-scraping server that supplies Forvo pronunciation audio to Yomichan as a custom audio source, with configurable port, language, and preferred users or countries.
AI-generated summary; may contain mistakes.

sync-integration

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
36 (πŸ‘ 28 Β· πŸ‘Ž 8)
Updated
2024-07-15
Anki versions
unknown
License
Unlicense (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

abandoned

  • Last update or commit: 2024-10-21 (741 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 5 open, 15 closed.
  • Pull requests: 1 open, 9 merged.
  • Median first response: 70 hours (25 answered issues and pull requests).
  • Outside pull requests: 100% of 9 merged.
  • Forks that may still be maintained: "Native Mandarin Audio from Yomichan" (1118415626).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2024-07-15
History across monthly snapshots

Loading…

Compare versions

The original addon and its forks. The best value in each column is in bold.

VersionWorks on Anki 26.09.3MaintenanceLast activity VotesApprovalGitHub starsNotes
Yomichan Forvo Server this addon original unknown abandoned 21 Oct 2024 πŸ‘ 28 Β· πŸ‘Ž 8 62% 45
↳ Native Mandarin Audio from Yomichan unknown abandoned 20 Nov 2023 πŸ‘ 0 Β· πŸ‘Ž 0 – 5

Forks can add features or work in a different way. Read the description before you change to another version. Fork detection is incomplete, so other versions can exist.

Similar addons

Korean Native Audio

Fetches recorded Korean dictionary pronunciations into chosen Anki fields, with configurable note-type mappings, optional ElevenLabs text-to-speech, and Naver, KRDICT, and Forvo sources.

card-creationsync-integrationdictionary

6 votes 44% approval πŸ‘ 5 Β· πŸ‘Ž 1 ⭐ 0 Anki 25.09.4~ Updated 2026-07-29
Local Audio Server for Yomichan

Runs a local server from which Yomitan fetches audio from a database of over 250,000 expressions, enabling near-instant, offline card creation with improved audio coverage and quality.

sync-integration

11 votes 74% approval πŸ‘ 11 Β· πŸ‘Ž 0 ⭐ 261 Anki 2.1.50~ Updated 2023-06-19
Anki Dictionary Add-on

Provides an in-Anki dictionary window for searching installed Yomichan/Migaku dictionaries, generating LLM definitions, fetching images and audio, and exporting results to note fields or cards.

card-creationaiexportappearancedictionary

4 votes 15% approval πŸ‘ 2 Β· πŸ‘Ž 2 ⭐ 13 Anki 25.09.2~ Updated 2026-04-11

Description

YOMICHAN FORVO SERVER FOR ANKI

Simple server to take advantage of Yomichan’s custom audio sources feature. Requires Anki Connect. It web scrapes Forvo’s search and word page to get a list of words.

NOTICE Forvo sometimes enables Cloudflare verification, meaning it tries to verify that a human is browsing their site instead of a program like this one. The add-on can't function when this happens, but please check https://github.com/jamesnicolas/yomichan-forvo-server/issues/13 if you want to track this issue.

Prerequisites:

  • Anki
  • Yomichan
  • Anki Connect

Install:

  1. Copy the code and install like you would for any other Anki addon
  2. Restart Anki
  3. Allow network connections (required since this is a local server)
  4. In yomichan settings, go to Audio > Configure Audio Playback Sources > Custom Audio Source
  5. Select Type as JSON and set URL to http://localhost:8770/?term={term}&reading={reading}
  6. In your Audio Sources list below, make sure one of them is set to Custom

Now when you scan a word in Yomichan, you should be able to right click the audio icon and the Forvo custom audio sources should appear.

Configuration

Yomichan Forvo Server supports a few configuration options, which you can edit by going to Tools > Add-Ons > Yomichan Forvo Server > Config. Note configuration changes requires you to restart Anki to see effects.

  • port Port that YomiChan will call. Default is 8770
  • language Language code to use in Forvo. Some examples are ja for Japanese or zh for Mandarin Chinese. Default ja. On the Forvo website, you can see what language code is in square brackets beside the language name on a pronunciation. If you want to have a separate source for another language, you can add another parameter to the URL to override this config: eg http://localhost:8770/?term={term}&reading={reading}&language=zh
  • preferred_usernames A list of Forvo usernames. This will order the results on top based on this priority. If empty, results will show based on the Forvo website order or according to preferred_countries. Default empty.
  • preferred_countriesA list of countries, usually title case. (Eg. "United States"). This will order the results on top based on this priority. preferred_usernames takes priority over preferred_countries. If empty, results will show based on the Forvo website order or according to preferred_usernames. Default empty.
  • show_gender Show the gender symbols (β™‚, ♀,) beside the username based on their gender. Default true.
  • show_countryShow the country of the user beside their name. Default false

Links

Changelog

2024-07-15

  • add support for preferred countries

2024-06-10

  • handle anonymous users
  • support showing country

2023-08-30

  • support overriding the language in the URL

2023-07-28

  • fixed deprecated method_whitelist in urllib3 Retry and use allowed_methods

2022-10-26

  • handle case when gender isn’t available

2022-09-05

  • add support for preferred usernames
  • fixed bug where it was using the raw audio from forvo, now uses the normalized audio from forvo
  • added gender symbols to results
  • support configuration where port, username order, language, and showing gender symbols are configurable

2022-07-25

  • update selectors for new forvo layout

2022-01-30

  • add Content-length header

2021-11-14

  • change timeout to 10 seconds

2021-03-22

  • fixed bug with empty reading/expression inputs returning unrelated words
  • added basic retries/timeouts to deal with connection issues

README

Yomichan Forvo Server for Anki

image

Simple server to take advantage of Yomichan's custom audio sources feature. Requires Anki Connect. It web scrapes Forvo's search and word page to get a list of words.

Prerequisites:

  • Anki
  • Yomichan
  • Anki Connect

Install:

  1. Copy the code and install like you would for any other Anki addon
  2. Restart Anki
  3. Allow network connections (required since this is a local server)
  4. In yomichan settings, go to Audio > Configure Audio Playback Sources > Custom Audio Source
  5. Select Type as JSON and set URL to http://localhost:8770/?term={term}&reading={reading}
  6. In your Audio Sources list below, make sure one of them is set to Custom

Now when you scan a word in Yomichan, you should be able to right click the audio icon and the Forvo custom audio sources should appear.

Configuration

Yomichan Forvo Server supports a few configuration options, which you can edit by going to Tools > Add-Ons > Yomichan Forvo Server > Config. Note configuration changes requires you to restart Anki to see effects.

  • port Port that YomiChan will call. Default is 8770
  • language Language code to use in Forvo. Some examples are ja for Japanese or zh for Mandarin Chinese. Default ja. On the Forvo website, you can see what language code is in square brackets beside the language name on a pronunciation. If you want to have a separate source for another language, you can add another parameter to the URL to override this config: eg http://localhost:8770/?term={term}&reading={reading}&language=zh
  • preferred_usernames A list of Forvo usernames. This will order the results on top based on this priority. If empty, results will show based on the Forvo website order or according to preferred_countries. Default empty.
  • preferred_countries A list of countries, usually title case. (Eg. "United States"). This will order the results on top based on this priority. preferred_usernames takes priority over preferred_countries. If empty, results will show based on the Forvo website order or according to preferred_usernames. Default empty.
  • show_gender Show the gender symbols (β™‚, ♀,) beside the username based on their gender. Default true.
  • show_country Show the country of the user beside their name. Default false.

Links

  • GitHub: https://github.com/jamesnicolas/yomichan-forvo-server
  • Anki Add-on page: https://ankiweb.net/shared/info/580654285

Changelog

2024-07-15

  • add support for preferred countries

2024-06-10

  • handle anonymous users
  • support showing country

2023-08-30

  • support overriding the language in the URL

2023-07-28

  • fixed deprecated method_whitelist in urllib3 Retry and use allowed_methods

2022-09-05

  • add support for preferred usernames
  • fixed bug where it was using the raw audio from forvo, now uses the normalized audio from forvo
  • added gender symbols to results
  • support configuration where port, username order, language, and showing gender symbols are configurable

2022-07-25

  • update selectors for new forvo layout

2022-01-30

  • add Content-length header

2021-03-22

  • fixed bug with empty reading/expression inputs returning unrelated words
  • added basic retries/timeouts to deal with connection issues

2021-11-14

  • change timeout to 10 seconds