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

@alasano/pi-panels

v0.1.0

Published

Responsive status panels for pi - git info, LLM context usage, and Spotify now-playing below the editor

Readme

pi-panels

pi-panels screenshot

Responsive status panels rendered below the editor in pi. Three panels ship out of the box, each independently toggleable:

  • GIT - worktree name, branch, upstream tracking (shown only when non-default), ahead/behind counts
  • INFO - LLM context usage bar (color-coded from green to red as you approach the context window limit), active model and thinking level
  • NOW PLAYING - Spotify track, artist, and progress bar with animated fill (hidden automatically when Spotify is not running)

Panels auto-size to their content, render side-by-side when terminal width allows, and fall back to a stacked layout on narrow terminals.

Install

pi install npm:@alasano/pi-panels

Commands

| Command | Description | | ------------------------ | ----------------------------------------------------- | | /status-panels | Open the settings overlay to toggle individual panels | | /status-panels on\|off | Enable or disable all panels |

Settings overlay

Running /status-panels with no arguments opens a centered overlay where you can enable or disable each panel individually using checkbox toggles. Typing any character dismisses the overlay and passes the keystroke to the editor.

Preferences

Panel visibility preferences are persisted at ~/.pi/agent/state/extensions/status-panels/config.json and restored on session start. Default behavior on first run is all panels enabled.

Refresh behavior

  • Git info refreshes every 5 seconds and immediately after each agent turn
  • LLM context and model info update on turn end and model switch
  • Spotify polls every 1 second while playing, every 2.5 seconds when idle
  • The rendering loop ticks every 250ms to keep the Spotify progress bar smooth

Requirements

  • macOS (Spotify integration uses osascript/AppleScript)
  • Pi interactive mode (panels use the widget API which is unavailable in print/RPC mode)