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

htmlship

v0.3.6

Published

Host and share HTML pages from LLMs and coding agents in one line. CLI + MCP server.

Readme

htmlship

CLI + MCP server for HTMLShip — host and share HTML pages from LLMs and coding agents in one line.

# Publish an HTML file
npx htmlship publish report.html

# Password-protect a page
npx htmlship publish report.html --password "demo-pass"

# Inspect / update / delete using the saved owner key
npx htmlship get <slug>
npx htmlship update <slug> updated.html
npx htmlship delete <slug>
npx htmlship list-mine

Deploy built apps

deploy builds a frontend project locally and ships the compiled output. Single-page apps (Vite, CRA, …) are inlined into one self-contained page; multi-file sites (Next.js — auto-detected — Astro, Docusaurus, …) are hosted as a file tree at view.htmlship.com/{slug}/.

npx htmlship deploy ./my-app                          # SPA -> one inlined page
npx htmlship deploy ./my-next-app                     # Next.js -> multi-file site (auto-detected)
npx htmlship deploy ./my-app --site --out dist        # force multi-file hosting (Astro, etc.)
npx htmlship deploy ./my-app --single-file            # force single-file inlining
npx htmlship deploy ./my-app --password "demo-pass"   # password-protect the deploy
npx htmlship deploy --dry-run                          # build, but don't publish
npx htmlship deploy --build-cmd "vite build" --out dist

The build always runs locally on your machine (npm/pnpm/yarn/bun, auto-detected) — never on the server. Either way the result renders in its own isolated, opaque origin (no cookies, no same-origin access, no network egress, no eval) via a sandboxed CSP; single-file pages are capped at 10 MB, multi-file sites at 50 MB.

For Next.js the CLI builds a static export based at the slug path automatically (no next.config edits — JS, .mjs, and .ts configs are all handled) as long as the app is statically exportable (no middleware/SSR). For other frameworks, --site ships any static build; set your framework's base path to /__htmlship_base__ so assets resolve under /{slug}/. The same flow is available to agents through the deploy_project MCP tool.

MCP server

htmlship mcp starts a stdio MCP server with four tools: publish_html (with optional password), deploy_project (build a local project and publish the compiled app), fetch_html, update_html.

Claude Desktop / Claude Code / Cursor

{
  "mcpServers": {
    "htmlship": {
      "command": "npx",
      "args": ["-y", "htmlship", "mcp"]
    }
  }
}

That's the whole install. Restart your MCP client and ask the agent to publish HTML.

Configuration

  • HTMLSHIP_API_URL — API base URL (default https://api.htmlship.com)
  • HTMLSHIP_KEYS_DIR — directory for the owner-key store (default ~/.htmlship)

The owner-key store at ~/.htmlship/keys.json is format-compatible with the Python CLI. You can publish from one and update/delete from the other.

License

MIT