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

selfhost

v0.1.4

Published

Launch the Selfhost dashboard and command line

Readme

Selfhost

Set up an app once, return to the CLI when needed, or use an optional dashboard. The package includes the native CLI, dashboard and service catalog. Node.js 22+ is required; Rust and a repository checkout are not.

npx selfhost --help
pnpm dlx selfhost --help
pnpx selfhost --help

Choose one launcher. Docker with Compose is needed when you start container services. To generate an independent app in a new directory:

npx selfhost app --directory ./cloud init nextcloud
npx selfhost app --directory ./cloud start

Close Selfhost after the command finishes. The app keeps running. Its compose.yaml, .env and app configuration files work with ordinary Docker Compose. You can return with selfhost app --directory ./cloud update or use supported app actions and identity connections without a dashboard or Selfhost account.

To install globally:

npm install --global selfhost
selfhost --help

Or use pnpm add --global selfhost. Run selfhost tui for guided terminal management and selfhost --help for all commands. Append an exact package version to pin a release, for example npx [email protected] --help.

If you want the dashboard, run selfhost serve and open the one-use local sign-in link printed in your terminal.

Native executables are included for Windows, Linux and macOS on x64 and ARM64. No install scripts or install-time binary downloads are used. The launcher checks the selected binary's SHA-256 checksum and preserves arguments, working directory, stdin/stdout/stderr and exit codes.

SELFHOST_BINARY can explicitly select a trusted native executable. A native command already on PATH is a development fallback when no bundled target exists. Script shims are rejected and corrupt bundled files fail closed.

From an existing identity-provider directory:

npx selfhost identity inspect . --selfhost-url http://localhost:8372

Inspection reads supported configuration without altering it. Follow the reviewed setup flow to connect sign-in. Keep credentials out of command arguments and shared logs.

Source and guides: obiente/selfhost. Licensed AGPL-3.0-or-later. Your services remain portable through ordinary Docker Compose, environment files and exported configuration.