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

termreel

v0.0.7

Published

AI-powered terminal demo recorder — describe your demo, get a GIF

Readme

termreel

termreel cover

AI-powered terminal demo recorder. Describe what you want to demo in plain English — termreel generates a VHS tape file, records it into a GIF/MP4/WebM, and lets you refine it with AI in a loop.

Prerequisites

brew install vhs   # macOS
# or
go install github.com/charmbracelet/vhs@latest

Install

# run without installing
npx termreel new

# or install globally
npm install -g termreel
pnpm add -g termreel

termreel demo

Commands

termreel new

The flagship command. An interactive AI wizard that generates a .tape file and records it.

npx termreel new

What it does:

  1. Picks your AI provider — Anthropic (Claude) or OpenAI (GPT)
  2. Picks a model
  3. Asks for your API key (saved to ~/.config/termreel/config.json on first use)
  4. You describe the demo in plain English
  5. You pick output formats (GIF, MP4, WebM), a theme, and dimensions
  6. AI generates the .tape file — concurrently generates a filename while you pick options
  7. Records with VHS
  8. Drops into a refine loop — describe changes, AI updates the tape, re-records, repeat

If VHS fails to render, termreel automatically sends the error back to the AI to fix it (up to 3 attempts).


termreel run <tape>

Run an existing .tape file with an optional theme override.

npx termreel run demo.tape
npx termreel run demo.tape --theme "Dracula"
npx termreel run demo.tape --no-theme

| Flag | Description | |---|---| | -t, --theme <name> | Inject a theme by name (case-insensitive) | | --no-theme | Skip theme picker, use the tape as-is |

Theme injection writes to a temp file — your original tape is never modified.


termreel themes

Browse all 200+ bundled themes with live color previews.

npx termreel themes

Fuzzy-search by name, see a full color swatch for each theme, then copy the theme name or the full Set Theme {...} directive to your clipboard.


AI Providers

| Provider | Models | Key Env Var | |---|---|---| | Anthropic (Claude) | claude-opus-4-5, claude-sonnet-4-5, claude-haiku-4-5 | ANTHROPIC_API_KEY | | OpenAI (GPT) | gpt-4o, gpt-4o-mini, gpt-4-turbo | OPENAI_API_KEY |

API keys are resolved in this order: environment variable → ~/.config/termreel/config.json → interactive prompt (saved on first entry).

Your provider preference and keys are stored at ~/.config/termreel/config.json.


How It Works

termreel wraps VHS — it doesn't reimplement the recording pipeline. Instead it:

  • Uses AI to generate valid .tape files from plain English descriptions
  • Injects themes as JSON into the tape (using a THEME_PLACEHOLDER sentinel so the AI never hallucinates theme values)
  • Kicks off filename generation concurrently while you fill out the rest of the wizard
  • Loops AI refinement and auto-fix until you're happy with the result

Development

pnpm install
pnpm test        # vitest
pnpm typecheck   # tsc --noEmit
pnpm build       # tsup → dist/

Attribution

Made by (human) Ankit Kumar and (agent) Command Code.