On Anki's Database

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    A Python 3 library for generating Anki decks

  • Not needing Anki itself is pretty much a requirement for me, because that's the way which makes sense in my worldview. Tools work independently and feed into each other—not get slapped onto each other, which kinda smells like a whiff of bad OOP.

    I began a feeble attempt at a lib for my own purposes, but I had to take Anki db structs a little at a time just to keep my frustration in check.

    There are in fact some libs for writing Anki data: https://github.com/kerrickstaley/genanki and maybe https://github.com/patarapolw/AnkiTools — but genanki, while looking quite good for one-time generation, doesn't seem to be able to update cards.

    Afaik Anki itself does include Python libs for creating and manipulating db records—however dunno if they work without the full app running, and on top of that I personally keep trying to use Lua, since it runs circles around Python in terms of speed.

  • Anki-Android

    AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • anki-connect

    Discontinued Anki plugin to expose a remote API for creating flash cards.

  • 100%

    The AnkiConnect project[1] is about the closest that we get to that right now, but requires running everything through a server inside Anki.

    [1]: https://github.com/FooSoft/anki-connect

  • AnkiTools

    Discontinued an Anki *.apkg and collection.anki2 reader and editor

  • Not needing Anki itself is pretty much a requirement for me, because that's the way which makes sense in my worldview. Tools work independently and feed into each other—not get slapped onto each other, which kinda smells like a whiff of bad OOP.

    I began a feeble attempt at a lib for my own purposes, but I had to take Anki db structs a little at a time just to keep my frustration in check.

    There are in fact some libs for writing Anki data: https://github.com/kerrickstaley/genanki and maybe https://github.com/patarapolw/AnkiTools — but genanki, while looking quite good for one-time generation, doesn't seem to be able to update cards.

    Afaik Anki itself does include Python libs for creating and manipulating db records—however dunno if they work without the full app running, and on top of that I personally keep trying to use Lua, since it runs circles around Python in terms of speed.

  • apy

    CLI script for interacting with local Anki collection

  • There is also apy[1] which needs an Anki installation but at least doesn't actually run the Anki process.

    [1]https://github.com/lervag/apy

  • anki-rb

    A ruby gem for creating anki flashcard decks (with integrated media)

  • A few years ago I wrote a ruby gem to generate anki decks and spent some time reversing the schema from the android app and open source code. There were some very weird decisions iirc, something around pipe characters to mark individual card fields.

    https://github.com/rkachowski/anki-rb

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts