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

opsx-ui

v0.2.1

Published

A read-only, live-updating web viewer for everything OpenSpec touches.

Readme

opsx-ui

A read-only, live-updating web viewer for everything OpenSpec touches — a browser home for your specs, changes, and proposed deltas that replaces the openspec view TUI and updates as agents work.

opsx-ui only reads project OpenSpec state. It never writes to, or mutates, any project's openspec/ directory. (Your own viewer preferences are the sole exception — they are saved to an OS user-config file, never inside a project.) Driving agents (propose / apply / archive) is intentionally out of scope for now.

Install

npm install -g opsx-ui

Requires the openspec CLI >= 1.5.0 on your PATH.

Usage

opsx-ui                 # open the OpenSpec project in the current directory
opsx-ui ./some/project  # open a specific project
opsx-ui -g              # global mode: skip cwd, show the project picker

Options:

| Flag | Meaning | | ---------------- | -------------------------------------------------------- | | -g, --global | Skip the current directory and open the project picker. | | -p, --port <n> | Preferred port (auto-increments if taken). Default 4573. | | --poll | Use filesystem polling (WSL / network mounts). | | --no-open | Don't open a browser automatically. |

If the current directory has no openspec/, opsx-ui offers to point you at another project or a registered store. Running it in a project with openspec/ opens straight to the change board.

What you get

  • Change board — every active change as a card with task progress and validation health, updating live.
  • Activity feed — a reverse-chronological rail of what just changed on disk, so you can watch an agent's edits land in real time.
  • Spec browser — drill into capabilities, requirements, and scenarios.
  • Spec diff — a change's proposed deltas beside the current spec, grouped and colored by operation (ADDED / MODIFIED / REMOVED).

Architecture

A global CLI boots a local Node server (Express + WebSocket) that reads OpenSpec state and streams it to a React/Vite UI.

  Browser (React/Vite)  ◀── WebSocket (live snapshot + activity) ──▶  Node server
                                                                          │
                                              chokidar watch(openspec/)   │
                                                                          ▼
                                                      OpenSpecSource (port)
                                                      └ CliOpenSpecSource → `openspec … --json`

All OpenSpec reads go through a single OpenSpecSource interface that returns typed view-models — the UI never sees raw CLI output. The CLI adapter is the one swappable seam, so a future OpenSpec library or HTTP API drops in without touching the server or UI.

Develop

npm install
npm run dev:server   # local API + watcher (port 4573)
npm run dev:web      # Vite dev server (port 5273, proxies /api and /ws)
npm test             # unit tests (mappers, source port, read-only guarantee)
npm run build        # bundle web + compile server into dist/

Scope

v1 renders the diff as operation-grouped delta cards beside the current spec (no token-level inline highlighting) because OpenSpec's delta JSON does not expose the ### Requirement: header used as identity. Paired, highlighted before→after diffing is a planned follow-up and slots in behind the same OpenSpecSource seam.