Simple flashcard collection based on the Spaced-Repetiton System, using the SM2+ algorithm
- Clone this repo:
$ git clone 'https://github.com/nikhilmwarrier/srs-flashcards-system' flashcards && cd flashcards
- Install dependencies
$ pip install -r requirements.txt
- Add flashcards to the
new_cards
directory. Flashcards are plain text files containing only three lines, in the format:
<difficulty_level: integer[0, 10]>
Q: <Question>
A: Answer
e.g.
creator-of-python.txt
(Make sure that filenames are unique.)
3
Q: Who invented Python?
A: Guido von Rossum
- Run
init.py
with Python
$ python init.py