Irio / AnkiSyncDuolingo

Pull your Duolingo vocabulary into Anki, as an Anki plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AnkiSyncDuolingo

Pull words you've learned from Duolingo into Anki 2.1.

Installing

Manually

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.

From the Anki Add-on Repository

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

Use

Select Your Language in Duolingo

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:

Select your language in the Duolingo application

Pull from Duolingo

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 for your Duolingo credentials. The addon will only sync in Duolingo words that you've already learned. As you learn more words in Duolingo, use the Sync Duolingo tool again to pull those new words into Anki.

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.

Managing Notes

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.

Editing Notes

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.

Etc.

Improvements

See the issues for the features I intend to add or fix. Feel free to add any issues you encounter.

Acknowledgements

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.

Getting Involved

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:

  1. Either:
    • Identify an existing issue in the issue tracker and comment that you'd like to try to resolve it.
    • Open an issue in the issue tracker.
  2. Get acknowledgement/concurrence.
  3. Submit a pull request to resolve the issue. Include documentation, if appropriate.

About

Pull your Duolingo vocabulary into Anki, as an Anki plugin

License:MIT License


Languages

Language:Python 100.0%