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

@rotriz/pi-web-ui

v1.6.0

Published

Web UI extension for the Pi coding agent — browser-based session management, git integration, and task tracking

Readme

pi-web-ui

A browser-based Web UI for the Pi coding agent. Provides a full-featured interface for managing sessions, workspaces, git operations, and monitoring agent task progress.

Features

  • Multi-session management — Browse, switch, and delete sessions grouped by workspace/project
  • Parallel tabs — Run multiple independent agent sessions simultaneously
  • Git integration — Branch management, selective staging, commit, push/pull, and diff viewing
  • Task tracking — Automatically extracts task plans from agent output and shows completion progress
  • Workspace switching — Change working directories with automatic session context switching
  • Real-time streaming — SSE-based live updates for agent responses, tool calls, and thinking
  • Dark/light theme — System-aware with manual override
  • Responsive design — Collapsible sidebar, floating panels

Installation

As a Pi extension (recommended)

pi install npm:pi-web-ui

Or manually clone into your extensions directory:

git clone https://github.com/your-repo/pi-web-ui ~/.pi/agent/extensions/pi-web-ui
cd ~/.pi/agent/extensions/pi-web-ui && npm install

Standalone

git clone https://github.com/your-repo/pi-web-ui
cd pi-web-ui && npm install
node server.mjs

Open http://localhost:3123 in your browser.

Configuration

| Environment Variable | Default | Description | |---------------------|---------|-------------| | PORT | 3123 | HTTP server port | | PI_WEB_PORT | 3123 | Same as PORT (takes precedence) | | PI_WEB_PI_MODULE | (auto-detected) | Path to @earendil-works/pi-coding-agent/dist/index.js — set this if auto-detection fails |

Troubleshooting

If the extension fails to start with a module resolution error:

# Find where pi-coding-agent is installed
npm root -g
# Or: which pi → look at the symlink target

# Set the env var and restart pi
export PI_WEB_PI_MODULE=$(npm root -g)/@earendil-works/pi-coding-agent/dist/index.js
pi

Requirements

  • Node.js 20+
  • @earendil-works/pi-coding-agent installed (globally or locally)
  • Git (for git integration features)

Architecture

  • server.mjs — Node.js HTTP/SSE server that wraps the Pi SDK runtime
  • index.html — Single-file frontend (HTML + CSS + JS, no build step)
  • Dependencies: marked (markdown rendering), dompurify (HTML sanitization)

License

MIT