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

hostplan

v0.1.0

Published

An open-source CLI and web viewer for storing, sharing, resuming, and handing off coding-agent plans.

Readme

hostplan

A home for the plans your coding agents write.

Hostplan is an open-source CLI and web viewer that gives coding-agent plans stable, shareable, machine-readable URLs. Agents produce plans constantly and they land wherever — ~/.claude/plans, a repo's PLAN.md, a scratch file that gets deleted. Hostplan gives every plan one address, filed by project and branch, readable in a browser or by the next agent.

$ hsp add PLAN.md
✓ stored  Worktree GC  ·  nest / feat/delivery  ·  a3f9c2  ·  private
→ https://plans.host-plan.com/p/a3f9c2            asks for the code
→ https://plans.host-plan.com/p/a3f9c2?code=KRWT  opens directly

Another agent runs hsp get a3f9c2 to read it back. You open the URL and get a rendered page, with an Open in button that hands the plan straight to Codex, Claude Code, or Cursor. The same URL is machine-readable: curl it and Hostplan returns the original Markdown without the Next.js page, scripts, or viewer chrome.

curl -fsSL 'https://plans.host-plan.com/p/a3f9c2?code=KRWT'

Works entirely offline against a folder on your machine. Sign in to a deployment and the same plans become shareable links.

Install

Requires Bun and Node 20+.

bun add --global hostplan
hsp --version

You can also run npm install --global hostplan; the CLI still uses Bun at runtime. To install from source, clone the repository, run bun install, bun run build, and bun link.

hsp is global — the store lives at ~/.hostplan and every command works from any directory, so it's the same in every project. The viewer starts itself the first time you need it.

Using it

hsp add PLAN.md              # store a plan, print its URL
hsp get <id>                 # print a plan to stdout
hsp get latest               # the most recent plan here
hsp list                     # plans for this repo and branch
hsp share <id>               # print its shareable links

Plans are live objects, not just documents:

hsp status <id> approved     # draft → approved → in-progress → done
hsp stack s1.md s2.md s3.md  # chain steps; each waits on the one before
hsp next                     # the first plan that's not done and not blocked
hsp check <id> 2 3           # tick the plan's checkboxes off
hsp update <id> PLAN.md      # revise in place — same id, same link
hsp search rate limiting     # full-text, across every project

Project and branch are detected from git, so there's nothing to configure.

Plans are private by default. A private plan gets a 4-letter code, and hsp add prints both forms of its link — the bare one asks for the code, the ?code= one opens directly. hsp add --public gives a single link that opens for anyone. Publishing should be deliberate, which is why it takes a flag.

Codes are casual privacy, not cryptography: 4 letters is ~234,000 combinations, rate-limited but guessable given time. Don't host anything genuinely sensitive.

Full command reference, sharing rules, and environment variables: docs/cli.md. Runnable plans for every workflow command: examples/.

Web guides: coding-agent plans, plan handoffs, Hostplan vs. PLAN.md, and agent setup.

Hosting it

Everything above works with no server. To get shareable links and a dashboard of your own plans, deploy it: Next.js on Vercel, Supabase for storage and accounts, sign-in by magic link, and hsp login to connect a terminal.

See docs/deploying.md.

Developing

bun test          # unit tests and the plan-store contract
bun run typecheck
bun run lint      # biome
bun run dev       # viewer with hot reload on :7433

Three workspaces:

  • packages/core — the store. Paths, ids, metadata, git detection, access rules. Used by both apps.
  • apps/clihsp. Run straight from TypeScript by Bun, no build step.
  • apps/web — the Next.js viewer.

Both store backends run the same contract suite, so the filesystem and hosted implementations can't quietly drift.

License

MIT