npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@shaankhosla/repeater

v0.1.7

Published

Spaced repetition, in your terminal

Readme

repeater

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 not to replace Anki’s ecosystem, but 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 .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.
  • Optional LLM helper: add an OpenAI key once to auto-suggest missing Cloze brackets and optionally rephrase basic questions (see the docs).

Quick Start

  1. 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.
  2. Index the cards and start a session:

    repeater drill cards
  3. Try the highlights:

    • Optional LLM helper: auto-cloze + rephrase (repeater llm --set, then repeater drill cards --rephrase)
    • Anki import: .apkg → Markdown (repeater import deck.apkg cards/anki)

That's it! repeater will automatically track progress and schedule reviews.

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

Star History Chart