Skip to content

joedel/spaced-repetition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Spaced Repetition

This is a command line spaced repetition program written in Javascript using Node.js.

Spaced repetition is a learning technique that incorporates increasing intervals of time between subsequent review of previously learned material in order to exploit the psychological spacing effect (from Wikipedia). It is very useful for learning a new language or specific sets of information.

Basically information you know well is shown less often, information you have trouble is shown more often.

The algorithm implemented in this app is the SM-2 algorithm used in the SuperMemo-2 software as well as the popular open source Anki software. The algorithm is described in detail here: http://www.supermemo.com/english/ol/sm2.htm

To run

  • Make sure you have Node.js installed.
  • Clone the repo and create your word list (see baseCards.json)
  • On the command line run: node spaced.js

Why?

This will likely turn into a web app, this was an opportunity to start small and learn a little more about Node.js. On the plus side, it's very distraction free :)

TODO:

  • record the history and all data to a real db, do something interesting with it
  • refactor
  • choose when to start or skip to answer without waiting 4 seconds?
  • choose input file from command line instead of hard coded

License

MIT

About

Remember everything with spaced repetition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published