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

@robinpath/cloud-cli

v0.1.15

Published

RobinPath on-VPS agent: HTTPS-poll control channel + local admin CLI.

Readme

@robinpath/cloud-cli

On-VPS agent for RobinPath. Runs as robinpath-gateway.service, holds a persistent outbound WebSocket to the control plane, and executes module operations via the Claude CLI inside short-lived Docker runners.

What it does

  • Outbound WS to wss://exec.robinpath.com/api/v1/agent (jittered backoff).
  • Dispatches RPC commands: installModule, runAutomation, setSecret, fetchMetrics, runScript, restartGateway, uninstall, heartbeat.
  • Per-server Ed25519 keypair (libsodium-compatible) — private key never leaves the box. Public key is enrolled to the control plane on first run.
  • Encrypted SQLite at /opt/robinpath/data/agent.db (XChaCha20-Poly1305).
  • Local admin CLI: cloud-cli status | logs | enroll | uninstall | upgrade.

Install (one-liner, run as root on the target VPS)

curl -fsSL https://exec.robinpath.com/install.sh | \
  bash -s -- --enroll-token <token> --control-plane wss://exec.robinpath.com

The control plane streams install.sh over SSH on first connect; thereafter the agent self-updates via cloud-cli upgrade.

Requirements

  • Ubuntu 22.04+ / 24.04 / 26.04 or Debian 12+
  • ≥ 1 GB RAM, ≥ 5 GB free disk
  • Outbound 443 to exec.robinpath.com
  • Docker (installed automatically by install.sh)
  • Node 22+ (installed automatically by install.sh)
  • Claude CLI (installed automatically by install.sh)

Config

Resolved from /etc/robinpath/config.json, overridable by env vars:

| Env | Default | Meaning | | ---------------------------- | ------------------------------------ | -------------------------------- | | ROBINPATH_BASE_DIR | /opt/robinpath | Root for data/, logs/, bin/ | | ROBINPATH_CONTROL_PLANE | wss://exec.robinpath.com/api/v1/agent | WS endpoint | | ROBINPATH_ENROLL_TOKEN | (unset) | One-shot enrollment token | | ROBINPATH_HEARTBEAT_MS | 30000 | Heartbeat interval | | ROBINPATH_LOG_LEVEL | info | pino level | | ROBINPATH_RUNNER_MEMORY | 256m | Docker --memory per runner | | ROBINPATH_RUNNER_CPUS | 0.5 | Docker --cpus per runner |

Dev quickstart (Windows or Linux)

cd apps/cloud-cli
npm install
export ROBINPATH_BASE_DIR="$PWD/.dev"          # PowerShell: $env:ROBINPATH_BASE_DIR="$PWD\.dev"
export ROBINPATH_CONTROL_PLANE="ws://localhost:8787/api/v1/agent"
npm run dev                                     # tsx watch src/cli.ts serve

In another shell:

node dist/cli.js status
node dist/cli.js logs --tail 50

Runtime layout (prod)

/opt/robinpath/
  bin/                    # cloud-cli launcher
  data/
    agent.key             # Ed25519 private key (mode 0600)
    agent.crt             # signed cert from control plane
    agent.db              # SQLite (secrets, runs, commands_seen, metrics)
  logs/                   # rolled stdout (systemd captures journal too)
  containers/             # scratch dirs mounted into runner containers
/etc/robinpath/config.json
/etc/systemd/system/robinpath-gateway.service

Uninstall

cloud-cli uninstall --yes
# or, offline:
/opt/robinpath/uninstall.sh --yes

Removes the systemd unit, stops + prunes runner containers, deletes /opt/robinpath/, removes the robinpath user.

Choice of runtime

Node 22 + tsx for dev (no transpile step, native ESM, faster than ts-node). Production runs compiled JS via node dist/cli.js — no bun dep, fewer moving parts on customer servers.