open-spaced-repetition/fsrs-browser

FSRS for the browser, including Optimizer and Scheduler

54

stars

196

commits

Rust

primary language

Jun 14, 2026

updated

www.npmjs.com/package/fsrs-browser
fsrs
machine-learning
rust
spaced-repetition-algorithm
wasm
Browse cluster: Spaced Repetition & FSRS Algorithm

README

NPM Version

fsrs-browser

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

Versioning

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.

Contributors

AlexErrant

152 commits

L-M-Sherlock

24 commits

actions-user

16 commits

ishiko732

3 commits

open-spaced-repetition/fsrs-browser

FSRS for the browser, including Optimizer and Scheduler

54

stars

196

commits

Rust

primary language

Jun 14, 2026

updated

www.npmjs.com/package/fsrs-browser
fsrs
machine-learning
rust
spaced-repetition-algorithm
wasm
Browse cluster: Spaced Repetition & FSRS Algorithm

README

NPM Version

fsrs-browser

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

Versioning

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.

Contributors

AlexErrant

152 commits

L-M-Sherlock

24 commits

actions-user

16 commits

ishiko732

3 commits

Languages

Rust

47.1%

TypeScript

40.7%

Shell

8.9%

HTML

3.4%