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

@semilayer/runner-cli

v0.1.26

Published

SemiLayer runner CLI — self-hosted query execution against local databases. Dials out to the SemiLayer gateway; never accepts inbound connections.

Downloads

3,128

Readme


Install

npm install -g @semilayer/runner-cli

Or pull the pre-built Docker image (same bits, node:22-slim base):

docker pull ghcr.io/semilayer/runner:latest

Quickstart

# 1. Mint a runner in the Console (one-time). You get an rk_ token.
# 2. Start the runner. Env vars or flags, either works.
semilayer-runner start \
  --id <runner-id> \
  --token rk_...

The runner opens one outbound WebSocket to wss://runner.semilayer.com/connect and stays idle until a query comes in. Ctrl-C to stop; restart: unless-stopped in Docker or a Deployment replica in Kubernetes for production.

Commands

| Command | What it does | |---|---| | semilayer-runner start | Connect and serve jobs. Accepts --id, --token, --gateway or the matching SEMILAYER_* env vars. | | semilayer-runner status | Print the configured runner + gateway without dialling out. | | semilayer-runner doctor | Check the runner can resolve and reach the gateway. | | semilayer-runner test-source | (Coming soon.) Dry-run a source connection over the gateway. |

Why a runner?

  • Zero inbound. Your database never takes a connection from SemiLayer's IPs. The runner dials out.
  • Airgap-ready. In runner-local credentials mode, SemiLayer never holds the DB URL at all.
  • Redundant by default. Run two (or twenty) with the same assignments. Dedup is handled by an atomic claim on the gateway — no double-execution.
  • Drop-in swap. Same APIs, same generated Beam clients, same streaming. Flipping a source from direct to runner dispatch is one checkbox in the Console.

Security

  • rk_ tokens are shown once on create; SemiLayer stores only the SHA-256 hash.
  • Revoke from the Console → the next frame on the open socket is refused (~25s heartbeat cadence).
  • WebSocket uses TLS 1.3; runners validate the gateway certificate before sending the token.

Full security posture at semilayer.dev/runners/security.

Docs

License

MIT