Skip to content
fearkovPublic

About

spaced repetition program

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Spaced Repetition CLI

A small C++20 terminal flashcard program with local persistence and adaptive review intervals.

Build

cmake -S . -B build
cmake --build build

Run

./build/spaced_repetition

The program stores cards in cards.db in the current working directory. Each card has a front, back, repetition count, ease factor, interval, and due date.

You can add, list, edit, and delete cards from the main menu. Editing a card keeps its review history; deleting requires typing delete to confirm.

Review ratings

  • 1 Again: reset the card and review it tomorrow
  • 2 Hard: short interval increase
  • 3 Good: normal interval increase
  • 4 Easy: larger interval increase

The scheduler is based on the SM-2 algorithm, with a one-day minimum interval and a small initial ease-factor adjustment for hard/easy answers.

About

spaced repetition program

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages