Federated repositories



If you need help, or just want to chat, drop by #dsm-9 on Freenode

SuperMemo-2 algorithm implementation for Plan9. This fills the same niche as Mnemosyne / Anki, except without sucking. There are no dependencies (both Mnemosyne and Anki depend on Python3, QT5, PyQt5, and a fuckton more). This implementation is designed to be useful both with digital cards and physical cards.

Deck files must have one field per line, the card ID. More fields can be added with @@@ as the delimiter, but will be ignored by the current programs. Deck files must end in .deck. A log file will be maintained by the implementation alongside the deck file, with the same name but the .log extension. This file is plain text, and should be compatible with oboeta and any other software which accepts the simple format used.

sm2/due path/to/deck (without the extension) prints the cards that should be studied. When done (either with a custom reader, the not-yet-written HTML server / CLI client / etc, or physical cards), use sm2/log path/to/deck to report grades from 0-5 (0 meaning no recollection and 5 meaning “piece of cake!”). The log will be updated. sm2/due will give a new card list based on this information. Try to update the logs within a day of the actual studying, as the time of entry is used as the timestamp currently.

Copyright 2020 Noam Preil.

This implementation is licensed under the GPLv3.