8 1
Contact Author Sign in to rate

Aglish - YouGlish Widget for Anki

0.01MB. Updated 2022-06-04.
The author has shared 18 other item(s).


Anki add-on for YouGlish; a YouTube search engine for language learning that helps you learn vocabulary in context. YouGlish supports many languages and customizations of the interface. This add-on supports all languages supported by YouGlish and some customizations. Usage The add-on integrates YouGlish with Anki through a custom filter you put in your card templates (e.g. {{aglish:Front}}). Its usage is quite simple. Let's go through some examples: All options have default values so they can be omitted; {{aglish:Front}} assumes English in all accents, showing a widget in Anki's theme with captions. For a list of all supported languages and accents, see YouGlish documentation (scroll down to the documentation of the widget.fetch function). Watch this video for a demo of the add-on. Experimental Support for YouGlish login I've recently added experimental support to allow users to use their YouGlish account and premium subscription plans in the add-on. This is not tested. I appreciate if someone can test it with their premium plan and tell me about the result. To use your YouGlish account with the add-on, go to Tools > Aglish > Log in to YouGlish. You'll be presented with the YouGlish login page. After logging in successfully, you can close the window. The add-on will now use your login information when showing the widget on cards. Changelog - 2022-06-04: - Streamlined support for YouGlish login via a webview that can be accessed from Anki. - Added a config option to set a global hotkey to trigger the widgets - 2022-05-15: Added the restrict and hotkey options - 2022-02-16: Fixed error when opening the previewer or card layouts screen - 2022-02-12: Added experimental support for YouGlish login - 2021-07-12: Fixed issue in Anki 2.1.35 - 2021-06-10: Initial release References YouGlish widget API: YouGlish & YouTube Terms of Service You may want to read the Privacy & Terms of Service pages of both YouGlish and YouTube: Support Consider supporting me on Ko-fi or Patreon if you like my add-ons: I'm also available for freelance add-on development at Fiverr:


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1659679359
works on mac anki. Thank You!

But it seems not compatible on ios. I use the template {{aglish lang=english accent=uk:Front}} , I press the button but don't work. I guess my iphone need inistall some video software or it doesn't support it at all. lol
Comment from author
Yes, the widget doesn't currently work on mobile. I plan to add a feature that allows users to opt in to include some code in templates that will make the widget work on mobile platforms too.
on 1656927689
Excellent! Thank you.
on 1649026995
It is briliiant an addon indeed however it doesn't update existing cards to make addon works you have to add an card after installing the addon

Q: How can I also update existing decks with that feature?
Comment from author
You can update existing cards, and you don't have to add any new cards. Just update your template from the Cards button in the editor window of an existing card, as described in the Usage section.
on 1644686197
this is a good value to anki
Comment from author before post was edited
You have to put the filter text described above in your card template. You can access the card templates screen by clicking the "Cards" button in the editor. I'll try to make a video when I have the time.
For more info about card templates, see https://docs.ankiweb.net/templates/intro.html

UPDATE: I made a short video demo: https://www.youtube.com/watch?v=aqc98e5ar64
on 1643911697
I have the same problem of asking for premium subscription after 4 cards.
is there anyway to bypass this?
Comment from author
Maybe you can bypass it by using a VPN and switching your IP address periodically.
I'm investigating a way to use YouGlish's subscription plans in the add-on, if you're willing to subscribe to one of the plans listed in their site at https://youglish.com/subscribe
on 1641843873
Your daily search quota has exceeded.
Please come back tomorrow or upgrade to one of YouGlish's Premium account plans.

Can you help solve this error ? I tried looking more information where to get premium. Didnt find anything.
Comment from author
The message refers to premium use of YouGlish API as shown here under the "REST API Plans" section: https://youglish.com/api/plans

Unfortunately, the premium plan can't be used with this add-on as far as I know, as the add-on uses a different method (The method referred to as "Widget" in the above link) that is provided for free by YouGlish with no option to go premium to increase the quota. I'll try to contact YouGlish's authors to ask them to consider adding an option to use the premium key with the widget.

UPDATE: It turned out the message refers to subscription plans here: https://youglish.com/subscribe
Still, I don't think the subscription plan can be used in Anki since it requires logging in to your YouGlish account.
on 1635442773
I like your addon, I just have one problem.
The autoplay option doesn't show anything.
{{aglish lang=english accent=us autoplay:Vocab}}
Comment from author
Autoplay works for me.
Could you post more info like your Anki version and an export of a sample deck in https://forums.ankiweb.net/t/aglish-youglish-widget-for-anki-official-thread/14503 ?
on 1631746003
very good!
on 1626437434
Can you help us to give more information about how to use it? I don't know how to use
So I tried to add a field to the current note type, and in Card template. I add this code
{{aglish lang=english accent=uk:front}}

but it doesn't seem to work :(
Comment from author
You don't have to add any new field. Just add the code to your card template (accessible from the Cards button in the editor) in either the front or back sides, changing "Front" to an existing field in your note type that you want to query its content.
Are you getting any kind of errors in the card layout screen? if you put this in the Basic note type that comes with Anki, make sure that the field name is correct; it should be "Front", not "front", as field names are case-sensitive.