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

create-cavecms

v0.3.5

Published

One-command installer for CaveCMS. Downloads the latest signed release, generates secrets, prompts for the minimum (DB + URL), writes a sealed env.production, runs migrations, and starts the service. Customers never touch env files by hand.

Readme

create-cavecms

The official one-command installer for CaveCMS.

Install

npx create-cavecms my-site

That's it. The CLI:

  1. Detects whether you're on VPS / laptop / cPanel and picks the right adapter
  2. Downloads and SHA-256 + Ed25519 verifies the latest release from updates.cavecms.com
  3. Unpacks the runtime to the canonical install path for the surface
  4. Prompts for the minimum it cannot auto-supply: DB connection, public URL, port
  5. Generates every bootstrap secret (JWT / CSRF / preview / brochure / internal-revalidate / secrets-encryption + a random LOGIN_PATH)
  6. Writes ONE sealed env.production (mode 600) that you never open or edit
  7. Runs database migrations against your MariaDB
  8. Starts the service (systemd on VPS, foreground on laptop, Passenger shim on cPanel)

After the CLI finishes, open <site-url>/install and walk the in-app wizard.

Prerequisites

  • Node 20+ on the target machine
  • MariaDB 10.11+ reachable from the install target
  • For VPS installs only: sudo access during the CLI run (for systemd + nginx)

Non-interactive install

CAVECMS_DB_USER=cavecms \
CAVECMS_DB_PASSWORD='secret' \
CAVECMS_SITE_URL='https://mysite.com' \
npx create-cavecms my-site --yes --surface=vps

| Env var | Default | |-------------------------|-------------| | CAVECMS_DB_HOST | 127.0.0.1 | | CAVECMS_DB_PORT | 3306 | | CAVECMS_DB_USER | required | | CAVECMS_DB_PASSWORD | required | | CAVECMS_DB_NAME | cavecms | | CAVECMS_SITE_URL | required for VPS / cPanel | | CAVECMS_PORT | 3040 |

CLI flags

| Flag | Meaning | |-----------------------|---------| | --surface=auto | Force a surface (vps / laptop / cpanel). Default: auto-detect. | | --port=NUMBER | App listen port. Default: 3040. | | --version=X.Y.Z | Pin to a specific release. Default: latest. | | --dir=PATH | Override the install directory. | | --skip-signature | Skip Ed25519 verify (SHA-256 still checked). | | --skip-migrate | Don't run migrations. | | --skip-start | Don't start the service. | | -y, --yes | Non-interactive: accept defaults + env-supplied answers. |

Why a sealed env file?

Customer installs must NEVER require editing .env.local, .env.production, or any config file by hand. The CLI writes env.production ONE TIME at install — random secrets, the DB URL you provided, and the LOGIN_PATH the wizard will reveal. From then on, every operator-configurable knob lives in the settings table you edit from the admin dashboard.

If a secret is ever compromised, re-run the installer with --rotate (future flag) to regenerate the affected secret in place.

License

This installer is part of CaveCMS. See the project's LICENSE.md — Prosperity Public License 3.0.0 (free for personal/educational/non-profit; 30-day commercial trial; paid license for ongoing commercial use).