Ki: A command-line tool for collaborating on spaced-repetition flashcard decks

by langfield
GNU/Linux ◆ screen ◆ bash 365 views

A demo of the Ki command-line tool. We walk through an example workflow in which we imagine the user already has a collection of flashcards in the .anki2 database format on their machine (anyone studying with Anki will have a file like this somewhere on their computer).

We use Ki to convert this into a git repository, view the data, make a small correction to one of the flashcards, and then push the changes back to the database, where they can be read by the user’s Anki desktop client, and used for studying.

Lines beginning with # are comments, describing the operation we’re about to perform.