genanki VS anki-connect

Compare genanki vs anki-connect and see what are their differences.

genanki

A Python 3 library for generating Anki decks (by kerrickstaley)

anki-connect

Anki plugin to expose a remote API for creating flash cards. (by FooSoft)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
genanki anki-connect
16 28
1,839 1,858
- -
4.7 0.0
28 days ago 4 months ago
Python Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

genanki

Posts with mentions or reviews of genanki. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-07.
  • Question about note types when creating decks with genanki
    1 project | /r/Anki | 14 Jun 2023
    I'm working with ChatGPT to create python scripts that generate Anki decks with Genanki.
  • Learning Streets with the help of Google Street View?
    1 project | /r/Anki | 20 May 2023
    Use genanki to create a note for each street, and then two cards (name, direction -> gif, and gif -> name, direction) for each note.
  • Supercharged Studying with Anki, ChatGPT and Python
    1 project | dev.to | 22 Apr 2023
    Anki has many types of cards, the main ones being the basic (memory trigger + answer) and cloze (one or more memory triggers embedded in an outline). This example uses the basic and reversed card, because both the 'question' and 'answer' can be a memory trigger for each other; if you want a simple, basic card you should consult the example at Genanki's README. I hope this script serves as at least a starting point for your own applications of programmable Anki, it is probably my main study method nowadays, and it got a whole more powerful after ChatGPT. Have fun with your coding.
  • Add recommendation for Exporting my cards as a CSV and then importing after making changes?
    3 projects | /r/Anki | 7 Apr 2023
    If you want to do something really custom you may want to look at something like https://github.com/kerrickstaley/genanki (I haven't tried it).
  • Anki-Fy Your Life
    10 projects | news.ycombinator.com | 18 Mar 2023
    Many people consider the prep time to be valuable itself as it usually involves you gaining understanding. That said, I don't really buy that argument and the vast majority of my cards these days are auto-generated using https://github.com/kerrickstaley/genanki.
  • AutoClozemaster-Anki - A tool to autogenerate clozemaster style anki decks
    3 projects | /r/languagelearning | 10 Mar 2023
    It makes use of these frequency lists (have to be manually downloaded). It will make a request to the tatoeba api to grab a sentence (or multiple) including this word and if you would like it will also request an audio file from google translate (while the code is running a temporary recordings folder is created). It then packages it up into an anki deck using the genanki python module.
  • I typed an entire vocabulary book
    1 project | /r/LearnJapanese | 27 Feb 2023
    In the end I feed the data together with audio to another script that generate the Anki deck using genanki.
  • Assimil italian into Anki deck (resourse)
    1 project | /r/Italian | 2 Feb 2023
    Yes, it's actually pretty easy to automate the process with genanki.
  • Show HN: Generate Anki cards from online links, powered by GPT-3
    1 project | news.ycombinator.com | 27 Jan 2023
    Since it looks like the export to Anki is still in progress, I can recommend using https://github.com/kerrickstaley/genanki -- it's been very stable over the 2 years I've been using it. I think it's a much better solution than csv or AnkiConnect, since it requires no actual work from the user except for opening an apkg.
  • Ask HN: Better way to create Anki cards?
    3 projects | news.ycombinator.com | 9 Aug 2022
    If you're comfortable with Python, https://github.com/kerrickstaley/genanki is amazing. You can pull your content from any source, use templates for the question and answer format, and even add media to each card (image, audio).

anki-connect

Posts with mentions or reviews of anki-connect. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • I created a program that finds out which anki cards out of 50_000 are in english and deletes them in 2 minutes
    3 projects | /r/rust | 23 Oct 2023
    Creating a Node.js Scraper: Initially, I created a web scraper for my Anki collection using Anki Connect and Node.js. I chose Node.js because I believed that using Rust would require defining every field for the response object(later found out I was wrong). Encountered issues: My program kept crashing due to not specifying the query to be of the same type(as I am writing this I realize I could have just did if(note.field == undefined) continue;) or the TypeScript ?. Resorting to single requests: To resolve the issue, I decided to send one request per card, resulting in processing 50,000 cards, which took 15-30 minutes.
  • Ankiconnect: insertReviews() function
    1 project | /r/Anki | 12 May 2023
    Has anyone used the insertReviews() function before to simulate answering cards programmatically? I’m not able to find much information online regarding it (perhaps because it is relatively new). I am not confident enough in my knowledge of Anki’s review algorithm to attempt replicating its behavior on all 9 of the required inputs for each review (see the 'Manual Analysis' subsection here); wanted to reach out here to see if anyone had experience with the function they would like to share.
  • Org-Drill vs Anki?
    6 projects | /r/AnkiComputerScience | 21 Oct 2022
    I do however create all my decks in Emacs' Org mode using louietan/anki-editor and export to Anki via the plugin FooSoft/anki-connect. This way I never worry about my decks getting corrupted. I actually just have one large deck but anki-editor allows me to separate my deck into separate org files which is convenient.
  • Ask HN: Better way to create Anki cards?
    3 projects | news.ycombinator.com | 9 Aug 2022
    Another tool I've used if you have the Anki app is the Anki-Connect plugin https://github.com/FooSoft/anki-connect

    It supports curl, python, javascript, etc to add cards and supports an incredible amount of actions to interact with Anki.

    Example:

  • Show HN: SkillPress – Learn JavaScript via spaced repetition and active recall
    1 project | news.ycombinator.com | 26 Jul 2022
    Just to add a footnote to the above: I wasn't aware of https://foosoft.net/projects/anki-connect/ so what I'm thinking about is very doable right now, and probably being done.
  • Anki Connect: [Errno 13] Permission denied when try to add audio
    1 project | /r/Anki | 16 Jul 2022
    I've made a small script to make cards with audio. Following the manual at https://foosoft.net/projects/anki-connect/, I have an audio field of:
  • Doing cards outside of Anki apps?
    4 projects | /r/Anki | 16 Jul 2022
    I dont think there's a public/documented Ankiweb api. You could use AnkiConnect to interface with your locally running instance of Anki: https://foosoft.net/projects/anki-connect/
  • Filtering A deck of cards based on a list in Excel?
    1 project | /r/Anki | 17 May 2022
    Read the AnkiConnect documentation. You can interact with AnkiConnect in any language environment you wish. I've mostly - but not exclusively - used Python. It would probably be a very forgiving way to begin.
  • anki cards -> storage method? also how to be efficient? 🤨
    2 projects | /r/Anki | 11 May 2022
    I write my cards in plaintext (Emacs Org mode via anki-editor) and push them to Anki via anki-connect. The advantages for me are:
  • PDF Note Style UI/UX in Remnote
    5 projects | /r/ObsidianMD | 3 May 2022
    create Anki cards with Emac's anki-editor and push them to Anki with anki-connect. There is also a markdown equivalent of anki-editor if you prefer that format plus packages to perform your SRS within Emacs itself such as org-drill, org-fc and pamparam.

What are some alternatives?

When comparing genanki and anki-connect you can also consider the following projects:

CrowdAnki - Plugin for Anki SRS designed to facilitate cooperation on creation of notes and decks.

Textractor - Extracts text from video games and visual novels. Highly extensible.

anki - Anki's shared backend and web components, and the Qt frontend

markdown-anki-decks - Tool for converting markdown files into anki decks

CardOverflow

Obsidian_to_Anki - Script to add flashcards from text/markdown files to Anki

fsrs4anki - A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm

anki-apkg-export - :book: Generate decks for Anki (spaced repetition software)

mdanki - Markdown to Anki converter

anki-sync-server - Self-hosted Anki sync server

DufteRanatomie - Wir übersetzen das Anki-Deck "Dope Ranatomy" ins Deutsche. / We're translating the Anki-Deck "Dope Ranatomy" into German.