HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
open-spaced-repetition
ts-fsrs
TypeScript2024–2025
open-spaced-repetition / ts-fsrs

ts-fsrs

ts-fsrs is a versatile package written in TypeScript that supports ES modules, CommonJS, and UMD.

3Distinct people
3Mentions
0Explicit recommenders
871GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

ts-fsrs is a versatile package written in TypeScript that supports ES modules, CommonJS, and UMD.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month3 dated mentions

Observed mentions: 2024-09-21 23:51:00 UTC to 2025-08-07 20:14:21 UTC.

012024-09-01 00:00:00 UTC to 2024-10-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 20242024-10-01 00:00:00 UTC to 2024-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-01 00:00:00 UTC to 2024-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2025-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-01 00:00:00 UTC to 2025-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 20252025-03-01 00:00:00 UTC to 2025-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-04-01 00:00:00 UTC to 2025-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-01 00:00:00 UTC to 2025-06-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-06-01 00:00:00 UTC to 2025-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 00:00:00 UTC to 2025-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-08-01 00:00:00 UTC to 2025-09-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsAug 2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 20242024-09-01 00:00:00 UTC2024-10-01 00:00:00 UTC101
Oct 20242024-10-01 00:00:00 UTC2024-11-01 00:00:00 UTC000
Nov 20242024-11-01 00:00:00 UTC2024-12-01 00:00:00 UTC000
Dec 20242024-12-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
Jan 20252025-01-01 00:00:00 UTC2025-02-01 00:00:00 UTC000
Feb 20252025-02-01 00:00:00 UTC2025-03-01 00:00:00 UTC000
Mar 20252025-03-01 00:00:00 UTC2025-04-01 00:00:00 UTC000
Apr 20252025-04-01 00:00:00 UTC2025-05-01 00:00:00 UTC000
May 20252025-05-01 00:00:00 UTC2025-06-01 00:00:00 UTC101
Jun 20252025-06-01 00:00:00 UTC2025-07-01 00:00:00 UTC000
Jul 20252025-07-01 00:00:00 UTC2025-08-01 00:00:00 UTC000
Aug 20252025-08-01 00:00:00 UTC2025-09-01 00:00:00 UTC110

What Hacker News says

3 sources
mcdrake·Aug 7, 2025Submission

Show HN: I made a Chrome extension for doing LeetCode with spaced repetition

Hello! I started preparing for LeetCode interviews last month. Since I'm not regularly implementing Union-Find in my day job, I used Anki to drill problems for common types of solutions/patterns. The goal wasn't to memorize specific problems, but to be able to code a BFS/Union-Find/whatever without really thinking about it - freeing me up to think about the problem-specific edge cases. I thought it would be nice to do this directly in the browser, so I made an extension over the weekend. It's free, open-source, with no signups/logins/tracking/etc. Your data is just stored in your browser and you can import/export/reset as you see fit. I should mention that I used (and highly recommend!) the awesome ts-fsrs library: https://github.com/open-spaced-repetition/ts-fsrs Thanks for reading!
1 points · Open discussion
If anyone's interested in experimenting with FSRS, we at Open Spaced Repetition provide official packages in Python, Typescript and Rust PY: https://github.com/open-spaced-repetition/py-fsrs TS: https://github.com/open-spaced-repetition/ts-fsrs RS: https://github.com/open-spaced-repetition/fsrs-rs Currently ts-fsrs and rs-fsrs support FSRS 6 and py-fsrs should also support FSRS 6 in the next day or so. Also, both py-fsrs and fsrs-rs include the ability to optimize the FSRS model from your past reviews!
In Spaced repetition systems have gotten better
So weird how some minds think alike in more than one aspect. I already loved your writing, but I never would have predicted that anyone else (besides me) was trying to put spaced repetition algorithms into SQL. I've been in touch with the guys making Open Spaced Repetition: https://github.com/open-spaced-repetition ... specifically the Free Spaced Repetition Scheduler (FSRS), of which they recommended if we're going to copy one of the implementations it should be the TypeScript one, since that's the best documented: https://github.com/open-spaced-repetition/ts-fsrs + https://open-spaced-repetition.github.io/ts-fsrs/ I've been working on it the last few days and was working on it this morning, then I saw this/your post on HN. Jaw dropped. I always enjoy making things from scratch as a way of getting to know them, but in this case it seems
Read the rest
wise (and a bit of a new experience for me) to copy someone else's open source work and try to do a real implementation of the FSRS-5 scheduler in PostgreSQL PL/pgSQL functions. Then cards and their data-logic can stay together in one place, and anyone can use whatever language they want for UI/API.
In A Simple Spaced Repetition Algo (In Ugly SQL)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.