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

@starciacademy/playground-agent

v0.3.0

Published

StarCi Academy playground BYOM (bring-your-own-machine) CLI agent — pairs your local Docker/Kubernetes environment with a StarCi playground session, relays shell commands from the browser, and reports live resources for step verification.

Downloads

25

Readme

@starciacademy/playground-agent

The bring-your-own-machine (BYOM) CLI agent for StarCi Academy Docker / Kubernetes playgrounds.

StarCi playground labs run on your own machine — there is no hosted sandbox. When you open a Docker or Kubernetes lab, the browser shows a pairing code. Run this agent with that code and it will:

  1. Pair your terminal with the playground session.
  2. Relay the commands you run through the lesson back to the browser terminal view.
  3. Report your local Docker / Kubernetes resources so each step verifies automatically when the expected container / pod / service appears.

Usage

npx @starciacademy/playground-agent <pairingCode>

Point it at a non-default server (self-hosted / local dev):

npx @starciacademy/playground-agent <pairingCode> --server http://localhost:3001
# or
STARCI_PLAYGROUND_SERVER=http://localhost:3001 npx @starciacademy/playground-agent <pairingCode>

Run as a background service (optional)

By default the agent runs in your terminal and stops with Ctrl-C. If you want it to keep running and auto-restart (e.g. after a crash or a reboot/login), install it as an OS-managed background service. It uses only built-in OS tooling — no extra native dependency (no node-windows / nssm):

  • Windows — a Task Scheduler task (schtasks) that runs at logon and restarts on failure.
  • Linux — a systemd user unit with Restart=always.
  • macOS — a launchd user agent with KeepAlive=true.
# install, paired to a specific session's code
npx @starciacademy/playground-agent --install-service <pairingCode>

# point it at a non-default server
npx @starciacademy/playground-agent --install-service <pairingCode> --server http://localhost:3001

# remove it
npx @starciacademy/playground-agent --uninstall-service

Caveat: the service is tied to ONE pairing code

The agent pairs into a single playground session identified by its pairing code, so the service is installed with that exact code baked in. It is not a generic always-on agent — it re-attaches to that one session. When you move to a different session (a new code), --uninstall-service and reinstall with the new code.

Security

The service runs the browser-driven command relay unattended: it executes shell commands issued by that one paired session. Only install it on a machine you trust and for a session you started yourself. Uninstall it when you are done. On Linux, a user unit stops at logout unless you enable lingering (loginctl enable-linger $USER).

Requirements

  • Node.js ≥ 18
  • docker and/or kubectl on your PATH (whichever the lab needs — a Docker-only lab does not need Kubernetes).

What it runs

The agent executes the shell commands issued from your own paired playground session and reports the output + a snapshot of your local Docker/Kubernetes resources (container / image / pod / deployment / service / node / namespace / … names + status). It only connects to the session whose pairing code you provide. Stop it any time with Ctrl-C.

License

MIT