shaankhosla/repeater
소개
터미널에서 사용하는 간격 반복 학습 도구입니다.
개발 도구What you can do
- Markdown-first decks: write basic Q/A + cloze cards in plain .md alongside your notes.
- Media support: open linked images/audio/video.
- Anki import: import your existing Anki decks .apkg to Markdown.
- Stable card identity: “meaning-only” hashing; formatting tweaks don’t reset progress.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalrepeater
repeater is a command-line flashcard program that uses spaced repetition to boost your memory retention. It’s like a lightweight, text-based Anki you run in your terminal. Your decks are kept in Markdown, progress is tracked in SQLite, and reviews are scheduled with Free Spaced Repetition Scheduler (FSRS), a state-of-the-art algorithm targeting 90% recall.
"Just tested this out and it's amazing! The ability to simply use the same file to take your notes (e.g., in class) and as your flashcards source file is a serious game-changer. I love how minimalist it is, too."
— Reddit user

[!NOTE] You can find the main documentation, including installation guides, at https://shaankhosla.github.io/repeater/.
How is this different than Anki?
Anki is a powerful and flexible spaced-repetition system with a mature GUI, mobile apps, and a large plugin ecosystem. If you want a highly customizable study system, Anki is an excellent choice.
repeater takes a different approach. Instead of asking you to move your active-recall material into a separate application, your notes themselves are the source of truth. Flashcards live directly inside plain Markdown files, alongside regular notes, and are detected automatically. There is no card editor, no syncing layer, and no separate “collection” to manage.
In practice, this means less flexibility but much less friction. You edit cards the same way you edit notes, using the same tools, and can easily inspect, version, or refactor your material without exports or migrations. The goal is to offer a simpler, text-first workflow for people who prefer minimalism, the terminal, and plain files over feature depth.
Features
- Markdown-first decks: write basic Q/A + cloze cards in plain
.mdalongside your notes. - Media support: open linked images/audio/video.
- Anki import: import your existing Anki decks
.apkgto Markdown. - Stable card identity: “meaning-only” hashing; formatting tweaks don’t reset progress.
- Optional LLM helper: add an OpenAI key once to auto-suggest missing Cloze brackets and optionally rephrase basic questions (see the docs).
- Apple Notes integration (beta): drill cards written directly in Apple Notes — no file export needed. macOS only. Pass
--apple-notestodrillorcheck(see the docs).
Quick Start
Create a deck in Markdown (
cards/neuro.md):You can put your normal notes here, `repeater` will ignore them. Once a "Q:,A:,C:" block is detected, it will automatically turn it into a card. Q: What does a synaptic vesicle store? A: Neurotransmitters awaiting release. --- Use a separator to mark the end of a card^ Then feel free to go back to adding regular notes. C: Speech is [produced] in [Broca's] area.Index the cards and start a session:
repeater drill cardsTry the highlights:
- Optional LLM helper: auto-cloze + rephrase (
repeater llm --set, thenrepeater drill cards --rephrase) - Anki import:
.apkg → Markdown(repeater import deck.apkg cards/anki)
- Optional LLM helper: auto-cloze + rephrase (
That's it! repeater will automatically track progress and schedule reviews.
Advanced: pair with an agentic CLI
Because decks are plain Markdown, agentic CLIs like Claude Code or Codex are a natural fit. Two workflows to try:
- Cards from your notes — "Read every file in
notes/and addQ:/A:/C:blocks for the key facts, in place." - Cards from a topic — "Research the Krebs cycle and write a study deck at
cards/krebs.mdusingQ:/A:/C:syntax."
Installation
Install script (Linux & macOS) - Recommended
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/shaankhosla/repeater/releases/latest/download/repeater-installer.sh | sh
Homebrew (macOS)
brew install shaankhosla/tap/repeater
Windows (PowerShell)
irm https://github.com/shaankhosla/repeater/releases/latest/download/repeater-installer.ps1 | iex
npm
npm install @shaankhosla/repeater
Star History
관련 프로젝트 살펴보기
불러오는 중…