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

@opzero/cli

v0.1.7

Published

React + Bun web UI for Claude Code. Server + SPA, phone-first design. Installable as a PWA on iOS and Android via Add to Home Screen.

Readme

CodeZero

React + Bun web UI for Claude Code. Server + SPA, phone-first design. Installable as a PWA on iOS and Android via Add to Home Screen.

Package name: opzero-code. Product name shown in the UI: CodeZero. On-disk config directory remains ~/.config/opzero-claude/ to preserve existing installs.

Quick start

codez setup

One command installs dependencies, builds the web UI, provisions a machine agent against the default CodeZ Hub (https://code.opzero.sh), registers the local MCP bridge with Claude Code, installs autostart, and starts the server.

Run it again any time — it is idempotent. Flags: --skip-hub, --skip-mcp, --skip-autostart, --no-start.

What the agent sees

After codez setup, the machine automatically appears in zhub with its hostname, repos, and any active sessions. Any MCP client — Claude.ai, Claude CLI, mobile — connects to the hub and can drive this machine remotely.

Develop

bun run dev

Runs the Bun server on http://127.0.0.1:4097 and the Vite dev server for the web UI. The web dev server proxies /api to the server.

Build and serve

bun run build       # tsc + vite build
bun run start       # production server on 4097
bun run typecheck   # server-side tsc
cd web && bunx tsc --noEmit  # client-side tsc

Config

User config lives at ~/.config/opzero-claude/config.json. On first run the server generates a password, bcrypts it, writes authSecret, and persists the hub URL when codez setup provisions it.

Hub auth tokens live at ~/.config/opzero-claude/hub-auth.json (mode 0600).

Features

  • Live Claude Code sessions with real-time SSE streaming
  • Mirror externally-owned sessions via JSONL tailing
  • Channels: bidirectional relay into terminal sessions via MCP plugin
  • Cost / token tracking per session
  • Permission mode picker (Accept Edits, Auto, Bypass, Don't Ask, Plan)
  • PWA install: Add to Home Screen on iOS/Android
  • Voice input via Web Speech API
  • Command palette (Cmd+K): sessions, projects, quick actions
  • Auto-memory viewer per project
  • Session disposal with confirmation
  • Live sidebar status updates with session-start flash
  • Inline send-error feedback
  • Cloudflare Access auth provider (optional)
  • Auth fallback: automatic OAuth / API key retry on billing errors
  • Self-healing reconciliation loop (stale channels, orphan sessions, auth health)
  • Remote MCP server (packages/codezero-mcp/) — 17 tools for full agent control

MCP Server (agent control)

A remote MCP server at packages/codezero-mcp/ exposes 17 tools for full programmatic control over CodeZero. Run alongside the main server:

bun run packages/codezero-mcp/index.ts   # starts on :4098

Agents connect via the hub URL (recommended) or directly for local testing. See docs/mcp.md for details.

Public URL

https://codez.opzero.sh

Appendix: Optional direct browser access (Cloudflare Tunnel)

The primary distribution path is the hub. If you need a direct HTTPS URL for this machine (e.g. to hit the web UI without the hub), Cloudflare Tunnel is the recommended route.

cloudflared tunnel login
cloudflared tunnel create codezero
cloudflared tunnel route dns codezero codez.yourdomain.com

Write ~/.cloudflared/config.yml:

tunnel: <TUNNEL_ID>
credentials-file: /Users/<you>/.cloudflared/<TUNNEL_ID>.json

ingress:
  - hostname: codez.yourdomain.com
    service: http://localhost:4097
  - service: http_status:404

Run:

bun run start                     # server
cloudflared tunnel run codezero   # tunnel, separate terminal

The server listens on plain HTTP. Cloudflare terminates TLS at the edge.