Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2.66 KB

README.md

File metadata and controls

41 lines (30 loc) · 2.66 KB

Anker

Anker is a bridge between anki and telegram messenger to help you learn languages. Using Anker, you can create flashcards directly into your ankiweb account.

Highlights:

  • Privacy-oriented: Anker doesn't store your credentials, password, or email.
  • Offline translations: Anker uses several open-source offline translation tools. Say "nein" to google translate.
  • Easy to self-host: Anker is shipped with a Docker image.

Usage

I encourage you to run your instance of Anker, but you can try to find mine in the telegram search.

Once you have access to the bot, you can do the following:

  1. Authorize to ankiweb
  2. Choose a deck or create one
  3. Set the translation languages
  4. Send it a word and choose a translation
  5. Synchronize a collection in the Anki app
  6. Enjoy learning

Running your own Anker

  1. First, you must fill the missing information in the run.sh.template file. Please, read the instructions in the comments.
  2. Rename the run.sh.template file to run.sh.
  3. Build a docker image using docker build -t Anker. and run the container using docker run -d --name Anker anker.

Differences from other similar projects

  • AnkiConnect is a plugin for the Anki desktop program. You must have an Anki desktop local installation and a one-to-one connection between your Anki desktop and your ankiweb account. On the other hand, Anker doesn't require anything from you except an account on Anki web and telegram. Anker allows many users login into their accounts using one Anker instance.
  • ankigenbot - ankigenbot is very similar to Anker but different in the following:
    1. ankigenbot uses online translation services. Anker uses offline ones.
    2. ankigenbot uses chromiumdriver to access ankiweb (therefore requires more CPU and Memory). Anker uses a very thin http-client instead.
    3. ankigenbot store user credentials localy. Anker doesn't store it locally.
    4. ankigenbot is shipped as a source code, and you must install all dependencies locally to self-host it. Anker is shipped with Dockerfile and requires little effort to set up locally.