Pull words you've learned from Duolingo into Anki 2.1.50+
🔴 NOTICE: Because of recent changes by Duolingo, this plugin is now broken and you may encounter problems when trying to pull your vocabulary from Duolingo. Follow https://github.com/JASchilz/AnkiSyncDuolingo/issues/76 for more information. 🔴
To install manually, download duolingo_sync.ankiaddon
from the latest release. You can then use Anki's Tools
-> Add-ons
-> Install from file...
and select the duolingo_sync.ankiaddon
file to install this plugin.
In Anki, select Tools
-> Add-ons
-> Get Add-ons
and then enter the code from the bottom of this addo-on's Anki Add-On Repository page
The Pull from Duolingo
plugin will download words from your active Duolingo language: whatever language you have most recently selected for learning. You can change your active language using the Duolingo mobile app or web application:
After installing the addon and restarting Anki, you can now select the Pull from Duolingo
dialog from the Tools
menu in Anki.
If it's your first time using the addon, Pull from Duolingo
will ask your permission to create its custom note type.
Pull from Duolingo
will then ask you to log in to Duolingo. The addon will only sync in Duolingo words that you've already learned. This add-on will only pull in words that you've already learned. As you learn more words in Duolingo, use this add-on again to pull those words in Anki.
This plugin does not provide translations: it only provides the words you've learned in the language that you're learning. This is because Duolingo does not make translations available to applications like this plugin. So after importing your cards, on your first review you'll need to provide the translation for the cards that you've imported.
Duolingo Sync
will create cards into your Default
deck. It will include helpful tags--including duolingo_sync
and the name of the language--that you can use to sort your cards. Once these cards are created, you're welcome to move them into other decks or add additional tags.
By all means, edit the notes to your liking after they are imported into Anki. For example, you may wish to replace the text from your native-language with an image or images.
Depending on the language you are studying, these notes may have helpful {{ gender }}
or {{ pronunciation }}
fields. You can browse your notes to see if this information is included, and add it to your cards if you like. For example, adding {{ pronunciation }}
might be helpful if you're studying a language like Chinese with a non-Latin script.
The only editing you can't do is changing the Gid
attribute or removing the duolingo_sync
tag: the addon uses these to uniquely identify words from Duolingo and avoid importing a words into multiple notes.
See the issues for the features I intend to add or fix. Feel free to add any issues you encounter.
The connection to Duolingo's API is provided by KartikTalwar's Duolingo-API Python library. Because of packaging requirements for Anki plugins, a modified version of that library is provided in this repository.
Feel free to open pull requests or issues. GitHub is the canonical location of this project.
Here's the general sequence of events for code contribution: