FYI I made Anki's spaced repetition algorithm, FSRS, run in the browser. Might be useful to you https://github.com/open-spaced-repetition/fsrs-browser
Edit: I just remembered it takes like 500(?) data points to train the algo... so maybe not.
Edit: I just remembered it takes like 500(?) data points to train the algo... so maybe not.
(Jarrett's the author of fsrs, fyi.)