Top
Best
New

Posted by thomascountz 12/14/2025

Hashcards: A plain-text spaced repetition system(borretti.me)
401 points | 195 commentspage 2
dustfinger 12/14/2025|
If you are an emacs user, you might be interested in org-drill, which of course is plain text and uses space repetition algorithm:

https://orgmode.org/worg/org-contrib/org-drill.html

BeetleB 12/15/2025|
org-drill has not been maintained in a long time. I would recommend org-srs[1], which admittedly may also one day not be maintained (single developer curse). However, I think it has some benefits over org-drill, the main one being it supports FSRS.

[1] https://github.com/bohonghuang/org-srs

dustfinger 12/15/2025||
Thank you, I will check that out.
lovestory 12/14/2025||
Spaced repetitions only work if you use them every day with minimal or no breaks. If the algorithm actually does the recall probability very well like FSRS does, you will keep failing the cards if you don't do them consistently. I learned the hard way where I almost forgot like 80% of my spanish deck that I was certain that I will be able to retire and recall it. But nope, even that word that you felt was rock solid in your memory is gonna fade, so just trust the algorithm.
krychu 12/14/2025||
Self-plug. For anyone working in the terminal: https://github.com/krychu/lrn.

A very simple cli tool, consuming basic txt format. You can use it in a second window while waiting for your compilation to finish.

Recently I’ve been also experimenting with defining QA pairs in my note files (in a special section). I then use a custom function in emacs to extract these pairs and push to a file as well as Anki.

erhuve 12/14/2025||
Know a big proponent of hashcards, has a setup[1] that's followed up by a prompt[2] that converts websites, pdfs, etc. into hashcards for SRS.

[1] https://www.zo.computer/prompts/hashcards-setup

[2] https://www.zo.computer/prompts/add-flashcards

MichaelNolan 12/14/2025||
I am always intrigued by new SRS systems, though sadly most are just "simplified" Anki clones. I have always been tempted to throw my hat into the ring.

The biggest area for improvement is probably deck collaboration. Most SRS proponents often state that its bets to make cards yourself because the act of making the cards is a key part of the learning process. I don't disagree, but part of the reason that making cards your self is recommended is because the shared decks are, on average, terrible.

After that I would like to see more built in support for non front/back or cloze cards. There are a lot of other card types that you can make, but are difficult or impractical to do in anki. Things like "slow" cards, one sided cards, code/music/math/text cards. These can all be done in anki, but it's a pain.

Then support for card order/hierarchy/prerequisite an and encompassing graphs like what MathAcademy does.

And lastly, a web first experience. Anki is offline/local first. That has the benefit that you are always safe from being rug pulled. But there are a lot of places (like work) where local first does not work well.

ashishb 12/14/2025||
Markdown is the final perfect form for every text (non-binary) content based system.

Every product will eventually use markdown as their content store.

krackers 12/14/2025|
One of the biggest benefits of LLMs is that products are incentivized to have a way to import and export from markdown.
theshrike79 12/16/2025||
And many sites have their documentation pages available as markdown just for this reason.

If an LLM can use your product/API easily, it will get more users. If you make it hard, they'll choose something else.

smarkmt 12/14/2025||
For language learning I've found audio playback and images to be very useful.

Could you imagine adding support for this?

johanyc 12/14/2025|
https://github.com/eudoxia0/hashcards?tab=readme-ov-file#ima...

https://github.com/eudoxia0/hashcards?tab=readme-ov-file#aud...

Both are supported already

jcul 10/6/2025||
This looks really cool. I thought in the past about implementing something like this myself.

I have use anki, and briefly mochi.

Having plain text cards that are simple to edit and manage with basic linux tools is really important.

I have used the genanki python library in the past to generate cards, but it's not great.

Going to give this a go.

mstipetic 12/14/2025||
I wish more people knew about GNU recutils instead of inventing new formats
OJFord 12/14/2025||
I like recfiles, it's been a while but I started on Rust helpers (OP project is in rust) if it's any use: https://github.com/OJFord/recfiles-rs

Not abandoned exactly, I just haven't been working on the project that I wanted it for in gosh has it been that long.

sundarurfriend 12/14/2025|||
I wish there were more/better tools for working with recutils. I had a phase of trying to use recutils wherever it made sense, a few years ago, but the format has a lot of redundancy (not a bad thing in itself), and editor support to make working with that easier was basically non-existent (perhaps it exists only for Emacs). Using the command-line interface for everything was way too cumbersome. Visidata claimed to support the format, which got me excited, but in my experience it mangled the file if you had anything more than a basic set of records, and the support for display too was overall very rudimentary.
dkarl 12/18/2025|||
People have invented so many things similar but not identical to recutils that I wonder why you think recutils is the solution that everyone should converge on.
leobg 12/14/2025|||
Guilty as charged. First time I hear about it. Thanks. Looks like a natively LLM friendly database format.

https://en.wikipedia.org/wiki/Recutils

mstipetic 12/14/2025||
Yes! I have a whole blog post in the works about how they make an awesome LLM memory layer.
knowsuchagency 12/14/2025||
Could you link to it? I'd love to read it. This is also my first time learning of recutils
leobg 12/14/2025||
Dito. (Or MeeToo, +1, or whatever the hell people say these days.)
shakna 12/14/2025|||
The mascot doesn't really help with adoption of the format.
allarm 12/15/2025||
No one cares about their mascot that much, of course. Say hi to Fred and George!
shakna 12/16/2025||
Eight years ago: https://news.ycombinator.com/item?id=15302279

I mean... Its even in the FAQ. It's a question people care to ask.

allarm 12/16/2025||
> Eight years ago

Kind of proves my point. Someone asked a question 8 years ago, that doesn't look like something that has any effect on adoption really.

dkarl 12/18/2025|||
When you put it in the FAQ, it's an admission that it's frequently asked, and it kinda preempts any subsequent record of curiosity.
shakna 12/17/2025|||
The complaint, today, is it doesn't have much adoption.

So the question always being around kinda does suggest there's difficulty.

Unless it's somehow become widely used?

mbo 12/14/2025|||
Aren't the hashcards complaint recutils files too?
blitz_skull 12/14/2025|||
Inform me please. Never heard of it.
OJFord 12/14/2025||
You could think of it like markdown but for structured data, with a spec for how to do that and a utility for querying them.
zetalyrae 12/14/2025||
I actually know about Recfiles lol.
rasengan0 12/15/2025|
Thank you, finally a SRS implementation I can use for my plain text files. Very nice! I had Gemini make a deck from https://github.com/eudoxia0/hashcards , hashcard_tutorial.md and after correcting my deck to account for escaping the < and > with \< and \>; on the second run ($ hashcards drill --card-limit=10 ./)dealt me all the correct cards, like a self QA I really like the keyboard shortcut of space and 1,2,3,4 for making deck reviewing quick work.
More comments...