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

huiyu-piwebui-forge

v1.1.0

Published

Self-hosted browser workbench for the pi coding agent

Readme


Features

🔐 Self-hosted & private

Your code, API keys, and conversation history stay on your own machine. No cloud, no third party, no data leakage.

🧠 Multi-LLM support

Works with Anthropic Claude, OpenAI GPT/o1/o3, DeepSeek, Google Gemini, Mistral, Groq, xAI, OpenRouter, and more — including local models.

📁 Full file management

Built-in file browser with CodeMirror editor supporting 10+ languages. Create, edit, search files right in the browser.

🖥️ Integrated terminal

Full terminal emulator via xterm.js + WebSocket. Multiple tabs, reconnect support, resizable layout.

🔀 Git integration

View diffs, stage changes at hunk level, explore commit history with git-graph — all from the browser.

🔌 MCP protocol support

Connect external MCP servers and expose their tools to your coding agent. Supports both global and project-level configurations.

📱 Mobile-friendly + PWA

Responsive design works on iOS/Android. Install as a PWA for a native-like experience.

🎨 Fully customizable theme

Dark and light themes controlled by CSS variables. Create your own skin without rebuilding.

📦 Docker & K8s ready

Dockerfile, docker-compose, Kubernetes and OpenShift deployment manifests included.


Getting Started

Quick Start (no install required)

npx huiyu-piwebui-forge

Opens your browser at http://localhost:9144. Provider API keys go into Settings → Providers.

One-time global install (faster subsequent launches)

npm install -g huiyu-piwebui-forge
huiyu-piwebui-forge

# Override defaults via flags:
huiyu-piwebui-forge --port 4000 --workspace-path ~/Code
huiyu-piwebui-forge --api-key @/run/secrets/api-key --no-expose-docs
huiyu-piwebui-forge --help       # full flag table

Prerequisites

  • Node.js 18+
  • An API key from a supported provider (Anthropic, OpenAI, DeepSeek, Google, etc.)

One-click Start (Windows)

Clone the repo, double-click start.bat — the script installs everything and opens your browser at http://localhost:9145.

One-click Start (macOS / Linux)

Clone the repo, run bash start.sh from the terminal — the script installs everything and opens your browser at http://localhost:9145.

Manual Start

git clone https://github.com/huiyu9144/Huiyu-PiwebUI-Forge.git
cd Huiyu-PiwebUI-Forge
npm install
npm run dev
  • Client (dev server with hot reload): http://localhost:9145
  • API server: http://localhost:9144

API Key Setup

Create ~/.pi/agent/auth.json:

{
  "deepseek": {
    "type": "api_key",
    "key": "sk-your-api-key-here"
  }
}

Or set an environment variable:

# Windows
set DEEPSEEK_API_KEY=sk-your-api-key

# macOS/Linux
export DEEPSEEK_API_KEY=sk-your-api-key

Supported providers: Anthropic, OpenAI, DeepSeek, Google, Mistral, Groq, xAI, OpenRouter, and more.


Customization

The theme is controlled by CSS custom properties in src/globals.css. Override the variables to create your own skin:

:root {
  --bg-primary: #0a0a0a;
  --accent: #60A5FA;
  /* ... */
}

html[data-theme="light"] {
  --bg-primary: #ffffff;
  --accent: #2563EB;
  /* ... */
}

Tech Stack

| Layer | Technologies | |-------|-------------| | Frontend | React 19, TypeScript, Vite 6, Tailwind CSS v4, Zustand, CodeMirror 6 | | Backend | Fastify 5, WebSocket, SSE, JWT | | Terminal | xterm.js + node-pty | | Infrastructure | Docker, docker-compose, Kubernetes, GitHub Actions |


Community


Acknowledgments

This project is built on top of two open-source projects:

  • pi-forge by Devin Marks and contributors — the self-hosted browser UI for the Pi coding agent.
  • pi by earendil-works and contributors — the core Pi coding agent SDK and CLI.

License

MIT — see the upstream projects for their licenses: