StudyLoop turns markdown notes into verified flashcards using only the source text
The author built StudyLoop, an open-source MIT-licensed Python terminal tutor, after finding that writing flashcards by hand was too slow and LLM-generated cards could invent facts. The tool treats the user's markdown notes as the sole source of truth, sending each passage to a model that must return a card with a supporting quote. Cards are stored only if the quote is an exact excerpt of the passage and the answer's wording is substantially grounded in it, while each card keeps a line-range citation back to the source. In a live run on a sample HTTP caching notes file, 30 of 32 proposed cards were accepted and 2 rejected for unsupported quotes. Scheduling uses the SM-2 spaced repetition algorithm, and the ask command answers questions by retrieving passages with BM25 ranking, without any network call.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in