All Projects → damaru2 → ankigenbot

damaru2 / ankigenbot

Licence: GPL-3.0 license
Telegram bot to automatically generate and upload anki cards to ankisrs.net

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ankigenbot

deepcourse
Learn the Deep Learning for Computer Vision in three steps: theory from base to SotA, code in PyTorch, and space-repetition with Anki
Stars: ✭ 117 (+101.72%)
Mutual labels:  anki
kanjigrid
Fork of the Kanji Grid addon for Anki
Stars: ✭ 21 (-63.79%)
Mutual labels:  anki
AnkiSharp
Create anki decks and cards from your C# application
Stars: ✭ 39 (-32.76%)
Mutual labels:  anki
alfred-anki
Create New Cards into any decks with any "Note Type".
Stars: ✭ 42 (-27.59%)
Mutual labels:  anki
Kindle2Anki
Export Vocabulary Builder to Anki APKG
Stars: ✭ 84 (+44.83%)
Mutual labels:  anki
anki-model
anki 选择题模板
Stars: ✭ 38 (-34.48%)
Mutual labels:  anki
mnemocards
In addition to helping you memorise, this code helps you do other things that I don't remember...
Stars: ✭ 34 (-41.38%)
Mutual labels:  anki
logseq-anki-sync
An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
Stars: ✭ 219 (+277.59%)
Mutual labels:  anki
apy
CLI script for interacting with local Anki collection
Stars: ✭ 135 (+132.76%)
Mutual labels:  anki
inka
Command-line tool for adding flashcards from Markdown files to Anki
Stars: ✭ 30 (-48.28%)
Mutual labels:  anki
anki-maobi
máobĭ (毛笔) is an Anki add-on to create cards with writing quizzes for Hanzi (Chinese characters)
Stars: ✭ 42 (-27.59%)
Mutual labels:  anki
unified-remote-anki
Unified Remote for Anki
Stars: ✭ 23 (-60.34%)
Mutual labels:  anki
popup-dictionary
Pop-up Dictionary Add-on for Anki
Stars: ✭ 67 (+15.52%)
Mutual labels:  anki
DAnki
DAnki: Automate deck creation for Anki to learn german
Stars: ✭ 16 (-72.41%)
Mutual labels:  anki
mpvacious
Adds mpv keybindings to create Anki cards from movies and TV shows.
Stars: ✭ 286 (+393.1%)
Mutual labels:  anki
leetcode-anki
Anki cards generator for Leetcode
Stars: ✭ 166 (+186.21%)
Mutual labels:  anki
Game2Text
Complete toolbox for gamifying language learning
Stars: ✭ 86 (+48.28%)
Mutual labels:  anki
manjaro-fs-arm64
Manjaro rootfs with xfce4 and vncserver preinstalled. Just setup username, password and vnc password. Also one more edition with latest Anki preinstalled.
Stars: ✭ 19 (-67.24%)
Mutual labels:  anki
anki-md
A markdown to anki flash cards converter
Stars: ✭ 22 (-62.07%)
Mutual labels:  anki
memanki-cli
CLI implementation of memanki
Stars: ✭ 21 (-63.79%)
Mutual labels:  anki

ankigenbot

@ankigen_bot, Telegram bot to automatically generate and upload anki cards to ankisrs.net.

Anki is a very effective program to learn vocabulary, but anki does not have any way to generate cards automatically. Given a word in English, Spanish, French, German or Italian this bot will send you definitions with sentence examples and with a tap you can add them to your anki deck.

Anki + @ankigen_bot is the best way to learn vocabulary: Send the bot every word you do not understand when you are reading, studying or interacting with people, it will not take you time and anki will make sure you do not ever forget all those words.

Features

  • Generate flashcards with definitions and examples for English, Spanish, French, German and Italian.

    • The word from the example is removed. In English, regular derivatives of the words are removed.
  • Automatically upload the cards to the deck of your anki account you select.

  • Generate the cards with the front/back fields swapped with /swap. Definition is front by default.

  • Include the pronunciation of the word in the flashcard with /ipa in case that the word is in English. Disabled by default.


If you want @ankigen_bot to support another language, you can open an issue and point me to a hopefully nice, free and simple dictionary for that language.

image3

Write a word and select the definitions you want


Installation

For executing this code, you will need to have:

  • The following python libraries: sqlite3, selenium, the telegram-bot libraries and pronouncing. For instance, with pip it would be
pip3 install sqlite3 selenium python-telegram-bot pronouncing
  • translate shell, follow the instructions in the repository for installation.

  • Create a file called private_conf.py with a variable token_id initialized to the toked_id of your telegram bot. You also have to create in the root directory two folders called data and log. In commands:

git clone https://github.com/damaru2/ankigenbot
cd ankigenbot
mkdir data log
echo "token_id = '<your_bot_token_id>'" > ./src/private_config.py
  • Chrome (or Chromium). Add a variable in src/private_config.py called chrome_binary_location and add the path so it points to where your Chrome/Chromium binary file is. For example
echo "chrome_binary_location='/usr/bin/google-chrome'" >> ./src/private_config.py

Once everything is installed you can run the bot from the root directory:

python3 src/ankigen_bot.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].