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

pi-dedumbify

v0.1.0

Published

Pi extension for executable spaced repetition with FSRS scheduling

Readme

pi-dedumbify

Pi extension for executable spaced repetition with FSRS scheduling.

Write real TypeScript or Python code, run tests in an isolated temp workspace, then rate the review to schedule the next interval.

Install in pi

From npm:

pi install npm:pi-dedumbify

From GitHub:

pi install git:github.com/lukaskawerau/pi-dedumbify

Then restart pi or run /reload.

What it does

  • centered review overlay inside pi
  • user-authored global card deck
  • TypeScript cards graded via Vitest
  • Python cards graded via uv + Pytest
  • FSRS scheduling via ts-fsrs
  • automatic review persistence in SQLite

Commands

  • /sr — auto-sync cards, then open review modal
  • /sr-sync — force a card rescan + DB sync
  • /sr-stats — sync cards, then show DB-backed deck stats
  • /sr-validate — structural validation + run solution tests without writing reviews

Keyboard shortcuts in the modal

  • tab / shift+tab — switch panes
  • ctrl+r — run tests
  • ctrl+s — toggle starter/solution
  • 1 / 2 / 3 / 4 — Again / Hard / Good / Easy
  • esc — close

Card location

Cards live under:

~/.pi/agent/spaced-rep/cards/

DB lives at:

~/.pi/agent/spaced-rep/fsrs.db

Card format

Each card lives in its own directory.

TypeScript example:

sum-array-ts/
  card.yaml
  prompt.md
  starter.ts
  solution.ts
  tests.ts

Python example:

factorial-py/
  card.yaml
  prompt.md
  starter.py
  solution.py
  tests.py

Minimal card.yaml:

id: sum-array-ts
title: Sum an array of numbers
language: typescript
tags:
  - arrays
  - iteration
timeboxSec: 180
files:
  prompt: prompt.md
  starter: starter.ts
  solution: solution.ts
  tests: tests.ts
runner:
  entry: answer.ts

Local development

cd ~/coding/apps/dedumbify
npm install
npm run check
pi

The repo exposes a project-local extension shim at .pi/extensions/dedumbify.ts, so pi auto-discovers it when started from the repo root.

Status

MVP works.

Implemented:

  • card discovery + validation
  • SQLite deck state + review log
  • grading runners for TS and Python
  • FSRS scheduling
  • review modal with answer buffer and autosave on rating

Still rough:

  • result rendering polish
  • richer session stats
  • nicer reveal-solution flow