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

@lifeaitools/regen-deploy-mgr

v0.1.8

Published

Standalone deployment operations manager (PM2 + Coolify) for the LIFEAI fleet. Separate from clauth on purpose: clauth is a pure credential vault; PM2 is AGPL-3.0 and must never be a direct dependency of a distributed vault package. This app fetches its b

Readme

regen-deploy-mgr

Standalone PM2 + Coolify deployment-operations manager for the LIFEAI fleet.

Why this exists

clauth is a credential vault and must stay distributable. PM2 is AGPL-3.0 — a direct pm2 dependency inside a published, distributable package makes the whole package non-distributable under AGPL's copyleft terms. This app owns ALL deployment orchestration (PM2 and Coolify — clauth shouldn't be dual-purpose) and fetches its bearer token from a local clauth daemon at call time instead of holding any credential itself. It runs unchanged on Vultr (Linux) and a local Windows box — pm2 itself is genuinely cross-platform.

Full background and decision record: RESTART.md.

What it does

  • Bearer-authenticated HTTP API (two roles: admin via vultr-ops-admin-token, agent via vultr-ops-api-token) over the local PM2 daemon: list/describe/start/stop/restart/reload/delete/scale/reset, plus every raw pm2_* method.
  • Coolify read-only status (GET /v1/ops/coolify/:uuid) and promote-and-wait (POST /v1/ops/promotions — trigger, poll to terminal, verify HTTP 200 + Cache-Control: no-cache in one call).
  • Git-fetch-and-reload dev deploys (POST /v1/ops/deployments).
  • Every mutating PM2/Coolify action returns a job id; poll GET /v1/ops/jobs/:id to a terminal phase (succeeded/failed/rejected) — deterministic, scriptable, no free-form error text.

Run it

npm install
pm2 start ecosystem.config.cjs   # or: node src/server.js

Config is env-var driven (see ecosystem.config.cjs). Nothing here holds a credential — CLAUTH_LOCAL_URL (default http://127.0.0.1:52437) points at the local clauth daemon, and every request fetches its bearer token fresh.

Registry

Registered as regen-deploy-mgr in the fleet's apps / app_deployments tables — SELECT get_deployment('regen-deploy-mgr').

Status

See RESTART.md for exactly what's proven working, what's untested, and what's still to build (CLI, MCP server, test suite, Vultr deploy).