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

@parke.dev/pi-dashboard

v0.1.0

Published

Optional header/footer dashboard for the Pi coding agent: cwd, model, context, full session cost, tok/s, git, and PR

Readme

@parke.dev/pi-dashboard

Optional TUI header/footer dashboard for the Pi coding agent.

Default is off. Installing the package does not replace stock UI and starts no pollers. Enable the dashboard and (optionally) pick the bundled theme as two independent opt-ins.

Inspired by Ben Davis / my-pi-setup — this is an independent implementation, not a fork.

Install

pi install npm:@parke.dev/pi-dashboard

Opt-in 1 — enable the dashboard

Write ~/.pi/dashboard.json:

{
  "enabled": true
}

Or set PI_DASHBOARD_ENABLED=true for a single shell.

Settings

Resolves defaults ← ~/.pi/dashboard.json ← environment.

| Field | Env | Default | Notes | | ---------------- | ---------------------- | ------- | -------------------------------------------------- | | enabled | PI_DASHBOARD_ENABLED | false | Master switch. Off = stock UI, no timers. | | header | PI_DASHBOARD_HEADER | true | Replace the TUI header when enabled. | | footer | PI_DASHBOARD_FOOTER | true | Replace the TUI footer when enabled. | | showPr | PI_DASHBOARD_SHOW_PR | true | Look up an open PR via gh (cached, silent fail). | | pollIntervalMs | PI_DASHBOARD_POLL_MS | 3000 | Git/PR poll interval. | | title | PI_DASHBOARD_TITLE | — | Optional header / window title override. |

Opt-in 2 — select the theme (optional)

The package ships a passive GitHub Dark Default theme. It is discoverable through the pi package manifest but is never auto-selected.

Pick it in ~/.pi/agent/settings.json:

{
  "theme": "github-dark-default"
}

Or choose it interactively with /theme / /settings after install.

What the footer shows

When enabled, two lines above the editor:

  1. current working directory · provider/model · thinking level
  2. compaction-aware context % / window · full session cost · live tok/s · git branch · changed file count · optional open PR hyperlink

Full session cost folds assistant messages, tool-result usage (e.g. delivered subagent runs), and compaction / branch-summary usage — the same sources Pi's native footer uses.

Extension status rows from other packages (ctx.ui.setStatus) still render below those two lines via footerData. With the companion packages installed, this includes actionable counts for subagents, workflows, and background terminals, plus the hostname of a live Steel browser session. Their richer /subagents, /workflows, /ps, and /steel-session UIs remain available.

Design notes

  • Uses @parke.dev/pi-ext-config for config loading.
  • Reuses @parke.dev/pi-git library helpers for git state only — does not load or register that package's tools.
  • PR lookup shells out to gh, is cached per branch, and fails silently.
  • Startup is non-blocking; polls coalesce; a generation counter drops stale work after reload / session switch.
  • External strings are sanitized; widths are ANSI-aware.
  • One extension, plain async. No tools, so no skill.

License

MIT