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

@jmfederico/pi-web

v1.202608.1

Published

Web UI for persistent Pi Coding Agent sessions in real workspaces.

Readme

PI WEB

CI npm version Node.js License: MIT

PI WEB is a web UI for Pi Coding Agent that keeps agent sessions running in real workspaces on your machine or server.

Run agents where your code, tools, credentials, and build caches live. Supervise them from any browser.

Website and docs: https://pi-web.dev/

PI WEB

PI WEB desktop screenshot

Why PI WEB?

Agentic development works better when the work environment is persistent.

PI WEB lets you:

  • keep Pi Coding Agent sessions alive after browser disconnects;
  • run agents inside real repositories and git worktrees;
  • supervise multiple sessions in parallel;
  • switch between laptop, phone, tablet, and desktop;
  • use a server, workstation, or remote dev box as your agent runtime;
  • manage projects, workspaces, files, terminals, sessions, and remote machines from one web UI.

Your browser is the control surface. The work stays where it can keep running.

Quick start

Requirements:

  • Node.js 22.19.0 or newer
  • npm
  • Pi Coding Agent >=0.84.0, configured for your user
  • git and the development tools your agents need

Install and start PI WEB as per-user services:

npm install -g @jmfederico/pi-web --allow-scripts=node-pty
pi-web install
pi-web doctor

On npm 12, the scoped flag lets node-pty prepare its required native module without enabling install scripts for other dependencies.

Then open:

http://127.0.0.1:8504

Useful commands:

pi-web status
pi-web logs
pi-web restart
pi-web doctor
pi-web version
pi-web uninstall

For more install options, including one-line install, Pi package install, WSL/manual usage, and remote access, see the installation guide.

Core model

PI WEB organizes work like this:

Machine     a local or remote PI WEB runtime endpoint
Project     a folder on that machine
Workspace   a provider-owned working folder; bundled Git discovers worktrees, otherwise the project folder
Session     a Pi Coding Agent chat running inside a workspace

A typical flow:

  1. Add a project.
  2. Choose a workspace or git worktree.
  3. Start a session.
  4. Let the agent work.
  5. Come back later from any browser.

Remote-first development

PI WEB is designed for remote AI-driven development.

Instead of tying agent work to your laptop session, run PI WEB on a machine that stays available: a server, desktop, cloud VM, home lab machine, or remote dev box.

Use a private network, SSH tunnel, trusted reverse proxy, or federated PI WEB machine setup when accessing it remotely.

Read more: Remote-first development

Machines and fleets

PI WEB can register other PI WEB runtimes as remote machines. One browser-facing PI WEB instance can proxy projects, files, git state, sessions, terminals, activity, Pi package management, and selected-machine settings from trusted remote machines.

When a remote machine is selected, Settings tabs label their target. Pi packages, PI WEB plugin enablement, session daemon toggles, external file access, and upload defaults target the selected machine. Gateway/server settings such as host, port, allowed hosts, registered machines/tokens, and keyboard shortcuts stay local to the gateway/browser.

Read more: Fleet and machines guide

PI WEB plugins

PI WEB supports trusted browser plugins plus optional sessiond-backed workspace providers. Bundled Git uses the same public provider and backend contracts available to installed plugins. Use Settings → PI WEB plugins to manage desired state on the selected machine.

Pi packages are a separate Pi package-manager concept. A Pi package may include a PI WEB plugin, but installing a package and enabling it are different operations. Server-backed changes require a session-daemon restart; see the plugin guide for lifecycle and recovery details.

Read more: PI WEB plugin guide and API

Configuration

Global config lives at:

$PI_WEB_CONFIG
~/.config/pi-web/config.json

Project-local PI WEB config lives at:

<project>/.pi-web/config.json

Common configuration includes host/port, path access, uploads, PI WEB plugin enablement, shortcuts, and session daemon options. In Settings, machine-affecting config targets the selected machine; gateway host/port/allowed-hosts, remote machine registration, tokens, and keyboard shortcuts stay local.

Read more: Configuration reference

Development

Clone the repository and run:

npm install
npm run dev

Open the Vite URL, usually:

http://localhost:8505

For the split development setup:

npm run dev:sessiond
npm run dev:web
npm run dev:client

Validate changes with:

npm run verify

Security model

PI WEB assumes trusted users, trusted repositories, and trusted server paths.

It is not a sandbox, permission system, or multi-tenant platform. Do not expose it directly to the public internet without a trusted network, firewall, VPN, SSH tunnel, or authenticated reverse proxy.

Documentation

License

MIT © 2026 Federico Jaramillo Martinez. See LICENSE.