Mochi logo Mochi

FAQ

Importing and exporting

Which spaced repetition algorithim does Mochi use?

Mochi uses a modified SM-2 algorithim. Modified in that 1. the easing factor must be adjusted by the user manually and 2. cards do not reset their repetition interval on an incorrect answer by default.

Is it possible to import decks from Anki?

Yes. Imported Anki decks will look slightly different in Mochi than they do in Anki due to the fact that Anki uses HTML and Mochi uses Markdown. Also at this time review data will not be imported. See https://mochi.cards/blog/import-from-anki/ for more information.

How can I create my own .mochi files?

In Mochi, imports use the format .mochi. These are are zip files that contain the following files:

The data.edn is a text file with EDN (an alternative to JSON) that contains information about the notes, cards, and decks to be imported. A sample data.edn might look like this:

{:decks [{:name "Sample deck"
          :cards [{:content "Sample card"}]}]
 :notes [{:name "Sample note"
          :content "Note content"
          :cards [{:content "Another sample card"}]}]}

The top level data structure is a map with the following format:

Top level map

Optional


Deck

Required

Optional


Note

Required

Optional


Card

Required

Optional


Review

Required