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

@konspire/cli

v0.3.0

Published

Konspire CLI — publish Cursor plans to konspire.dev. Includes `konspire login`, `konspire publish`, and the standalone `konspire render` command for local markdown → HTML conversion.

Readme

@konspire/cli

Command-line interface for Konspire — share Cursor plans as static, public, comment-ready URLs without giving up the markdown.

Install

npm install -g @konspire/cli

That installs a konspire binary on your PATH.

Commands

konspire login

Sign in via GitHub OAuth and persist your token locally.

konspire login

Opens your default browser to GitHub's OAuth consent screen, captures the returned token via a one-shot localhost callback, and writes it to:

  • macOS / Linux: ~/.config/konspire/credentials.json
  • Windows: %APPDATA%\konspire\credentials.json

The file is chmod 600 (or the Windows ACL equivalent). The token is HMAC-signed and self-validating — there's no server-side cache to keep synchronized, but revocation takes effect within ~60s.

konspire publish <plan-file>

Publish a markdown plan and get back a stable URL.

konspire publish docs/plans/phase-2-comments.md

Run from inside a GitHub checkout and the CLI fills in --repo, --base-sha, and --branch from origin / HEAD / the current branch. Pass any of them explicitly to override. Outside a git repo (or when origin isn't a github.com URL) --repo and --base-sha are required:

konspire publish docs/plans/phase-2-comments.md \
  --repo konspire-dev/konspire \
  --base-sha abc1234

The CLI:

  1. Reads the plan file and any YAML frontmatter (title, todos, etc.).
  2. Verifies you have >= write permission on --repo (cached at the API for 5 minutes).
  3. Renders the markdown to HTML with code highlighting + Mermaid diagrams.
  4. Uploads the result to konspire's CDN.
  5. Prints the public URL — https://konspire.dev/p/<slug>_rev<N>.

Republishing the same logical plan ships a new revision; the previous URL stays live forever.

Flags:

| Flag | Required | Notes | | ------------ | ----------------------------------- | -------------------------------------------------------------------------------- | | --repo | only outside a GitHub git checkout | owner/name. Inferred from git remote get-url origin when omitted. | | --base-sha | only outside a git checkout | Inferred from git rev-parse HEAD when omitted. Used for "is this stale?" hints.| | --branch | no | Inferred from the current branch when omitted. | | --api-base | no | Override the API base URL (defaults to production). |

konspire render <input>

Local-only Markdown → standalone HTML conversion. No network, no auth, no publishing — just @konspire/renderer with the same code-block highlighting and Mermaid support the published plans use.

konspire render plan.md --output plan.html
konspire render plan.md --open               # open the result in your browser
konspire render plan.md --strip-frontmatter  # drop the YAML header

Exit codes

| Code | Meaning | | ---- | ------------------------------------------------------------------------------- | | 0 | success | | 1 | unexpected error | | 2 | invalid usage / config error (missing flag, bad value) | | 10 | not authenticated — run konspire login | | 11 | permission denied (no write access on the repo, or banned) | | 12 | rate limited — message includes the retry-after window | | 13 | server / network error — try again, file an issue if it persists |

Links

License

MIT