Skip to content

open-spaced-repetition/fsrs-browser

Repository files navigation

NPM Version

fsrs-browser

This project runs fsrs-rs in the browser with support for training FSRS parameters.

Versioning

We git submodule fsrs-rs and burn for reasons given here. As such, it will not be up to date with the latest fsrs-rs. fsrs-browser's major and minor version numbers will match the version of fsrs-rs used. The patch version number is reserved for fsrs-browser's use and may drift out of sync with fsrs-rs.

Building and demoing

Run ./dev.sh for fast builds or ./prod.sh for fast runs.

Run the /sandbox project to demo various behavior.

I highly encourage ./prod.sh if you intend to run training. On my machine training 24,394 revlogs on ./dev takes days, while ./prod.sh takes 3.5 seconds.