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

@wrud/cli

v0.11.0

Published

Run wrud locally with one command - a local-first recorder for AI-agent sessions (tools, models, cost, insights). `npx @wrud/cli`.

Readme

@wrud/cli

What R U Doing — a local-first, open-source recorder for AI-agent sessions.

Your agent runs for an hour, changes dozens of files, spends real money, picks its own model — then the session scrolls off and is gone. wrud records every session (tools, models, tokens, cost, file edits, prompts), writes a plain-language recap, and turns recurring mistakes into lessons you feed back. Runs entirely on your machine — no cloud, no account, nothing leaves your box.

Works with Claude Code and Cursor via their own lifecycle hooks.

Quickstart

npx @wrud/cli

Starts the API + dashboard on one origin (default http://localhost:11190), seeds a local API key, opens your browser, and prints a token to paste on the Connect screen. On macOS it also puts a W in your menu bar (skip with --no-menubar).

Then wire your agent and verify capture end-to-end:

npx @wrud/cli install-hooks   # auto-detects & wires every agent you have (Claude Code, Cursor, ...)
npx @wrud/cli doctor

Restart your agent afterwards so it picks up the new hooks. (Target one agent with --agent claude-code / --agent cursor.)

Menu bar app (macOS)

npx @wrud/cli menubar

Installs a tiny native menu bar app (no Electron — the prebuilt universal .app ships inside this package) and launches it: a W icon that shows whether the server is running (dimmed = stopped), opens the dashboard, starts/stops the server, and shows today's sessions / tokens / estimated cost. Click Launch at Login in its menu to keep it across reboots.

Commands

| Command | What it does | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | wrud | Start the server + dashboard (one origin). Attaches if already running. | | wrud install-hooks [--agent claude-code\|cursor] [--user\|--project] | Wire your hooks + mint a least-privilege ingest key + self-verify. No --agent auto-detects and wires every installed agent; --agent <id> targets one. | | wrud doctor | Prove the capture path works end-to-end (PASS/FAIL + HTTP status). | | wrud menubar | macOS: install + launch the native menu bar app (server start/stop, dashboard, today's usage). | | wrud cleanup (alias uninstall) | Remove everything wrud installed — ~/.wrud (db, tokens, log), temp session buffers, and wrud's hook entries in every agent's settings (user + project). Edits shared config surgically; --dry-run previews; confirms unless --yes. |

Environment

| Var | Default | Purpose | | -------------------- | ------------------------ | ---------------------------------------------------------------------------------- | | WRUD_PORT | 11190 | API/server port (dashboard is served same-origin) | | WRUD_DB | ~/.wrud/wrud.db | SQLite database path | | WRUD_BASE_URL | http://localhost:11190 | Base URL the hooks/CLI talk to | | WRUD_API_KEY | — | Ingest token override (else read from ~/.wrud) | | WRUD_NARRATOR_CMD | claude | CLI used for the plain-language recap (runs on your agent's own login; no API key) | | WRUD_ANTHROPIC_KEY | — | Optional: use the Anthropic API for the recap instead of the local narrator |

Privacy

Local-first by design: a Node server and one SQLite file on your disk. No account, no egress. The summary recap runs in the background on your agent's own login, so there's no extra API key and no extra bill.

Links

  • Source, docs & issues: https://github.com/eliransu/wrud
  • License: MIT