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

specrails-hub

v1.58.0

Published

**The local dashboard for shipping software with AI agents.**

Readme

specrails-hub

The local dashboard for shipping software with AI agents.

specrails-hub turns "I'll let Claude do it" into a workflow you can see, steer, and trust. Draft specs in conversation with Claude, drag them onto execution rails, and watch the pipeline ship — all from one window, on your laptop, with every cost tracked.

It's a local-first companion to specrails-core: one window for all your projects, one place to manage specs and pipelines, one place to see what AI cost you this week.

100% local. Single user. No accounts. No telemetry leaving your machine. Your code stays on your laptop unless you spawn an agent against it.

What you can do with it

  • Draft a spec by talking to Claude or Codex — open Explore, describe what you want; the live draft updates each turn. Save it as a draft and come back later, or commit when it looks right.
  • Generate a spec in one shot — Quick mode for when you already know what you want. Optionally enrich it with a "Contract Layer" of names, shapes, invariants, and a file touch list.
  • Drag specs onto execution rails — each rail is an independent lane. Run multiple specs in parallel, with different agent profiles per rail.
  • Compare two specs side by side — drag any spec modal to the edge of the screen; a picker of your todo specs appears on the other side. Pick one and they live next to each other. Tablet-style.
  • Split a big epic — SMASH a parent spec into a family of sub-specs in one click; the children carry short summaries on their cards.
  • Refine a spec in placeContinue Editing reopens any draft / todo / backlog spec in Explore, with the original conversation resumed if there was one.
  • Track every AI cost — every AI CLI invocation across rails, Quick spec, Explore turns, and AI edits is recorded — across both Claude and Codex. Codex cost is estimated from a local rate-card since the CLI doesn't report it natively. The Analytics page shows your burn rate, top tickets, breaks down spend per provider, and lets you export CSV.
  • Customise everything — three themes, font sizes, terminal preferences, agent profiles, plugin integrations (Serena bundled today).

How specrails-hub looks

┌──────────┬───────────────────────────────────────────────────┐
│          │  Dashboard · Jobs · Analytics · Agents · ⚙        │
│   Arc    │ ──────────────────────────────────────────────── │
│  side-   │                                                   │
│   bar    │   SpecsBoard            │   Rails                 │
│          │   (your specs)          │   (execution lanes)     │
│ projects │                         │                         │
│          │   #1  Login flow ●      │   ▶ Rail 1   #1 #2     │
│ + Add    │   #2  Webhook retry     │     [profile: default]  │
│          │   #3  Cost limits  ●    │                         │
│          │                         │   ▶ Rail 2   running    │
│          │                         │     [profile: budget]   │
│   ⚙      │                         │                         │
└──────────┴───────────────────────────────────────────────────┘
                  ⌥ Terminal panel (Cmd+J)

Quick start

# 1. Install
npm install -g specrails-hub

# 2. Start the hub
specrails-hub start

# 3. Add a project from the CLI…
specrails-hub add /path/to/your/project

# …or click "+ Add project" in the dashboard sidebar at
#   http://127.0.0.1:4200

If the project doesn't have specrails-core yet, the setup wizard walks you through installing it. One flow, no tier picker. Total time: about a minute on a warm cache.

Prefer a desktop app? Download a signed build for macOS or Windows from https://specrails.dev/downloads/specrails-hub/latest/. The desktop app bundles the server, so you don't need a separate start command.

Prerequisites

  • Node.js 20+ (specrails-core ≥ 4.6.0 for codex projects; ≥ 4.2.0 for claude-only)
  • At least one AI CLI on your PATH:
    • Claude Codeclaude binary. Set ANTHROPIC_API_KEY to authenticate.
    • Codex CLI ≥ 0.128.0 — codex binary. Run codex login or set OPENAI_API_KEY.
  • git
  • (Optional) uv if you want to use the Serena plugin

The provider is chosen per-project at install time and is immutable after creation. On macOS, the desktop app handles Homebrew/Volta/nvm paths automatically — see docs/platforms/macos.md. Windows users: see docs/windows.md for Windows 10/11 specifics. For Codex-specific topics — auth, sandbox config, estimated cost caveats, plugin support, and emergency rollback — see docs/codex.md.

Documentation

User guides:

| Guide | What it covers | |-------|----------------| | Getting started | Install, register a project, run your first pipeline | | Creating specs | Quick vs Explore, drafts, SMASH, Compare, Continue Editing | | Running pipelines | Rails, jobs, agent profiles, plugins | | Tracking cost | Analytics page, exports, per-ticket spending | | Customising the hub | Themes, settings, telemetry, kill switches | | Terminal panel | Keyboard shortcuts, shell integration, drag-and-drop | | CLI reference | Every command grouped by task |

Platform notes:

  • macOS — GUI-launch PATH, broken-symlink detection
  • Windows — installer formats, SmartScreen, ConPTY

Contributing or extending:

  • docs/internals/ — architecture, REST reference, operations runbook, OpenSpec workflow, profile internals

Development

git clone https://github.com/fjpulidop/specrails-hub.git
cd specrails-hub
npm install                        # root deps (server + CLI)
cd client && npm install && cd ..  # client deps (separate tree)
npm run dev                        # server (4200) + client (4201)

| Script | Description | |--------|-------------| | npm run dev | Server + client with hot reload | | npm run build | Production build | | npm test | vitest | | npm run tauri dev | Run desktop app in dev mode |

CI gates coverage hard: 70 % global, 80 % server, 80 % client. Local runs must clear the same bars.

Security model

  • Binds to 127.0.0.1 only. Do not expose to a network.
  • No authentication (single-user local tool).
  • Parameterised SQL throughout.
  • Reserved paths in your project (.mcp.json, .specrails/plugins/state.json, .specrails/profiles/.user-preferred.json) are mutated surgically — read, modify owned keys, atomic rename — so adding plugin N+1 never disturbs plugin N's state.

Support

If specrails-hub saves you time, you can buy me a coffee on Ko-fi. It funds development of the open-source ecosystem.

Donate on Ko-fi

License

MIT