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

@ssdavidai/zoclaw

v1.3.1

Published

Set up OpenClaw on Zo with Tailscale access in one command

Readme

zoclaw

Run AI agents on your Zo machine and control them from anywhere on your private network.

zoclaw connects OpenClaw (an open-source AI agent platform) to Tailscale (a private mesh VPN) on a Zo machine. After setup, you get:

  • A terminal UI to chat with your AI agent over SSH or directly on the machine
  • A browser Control UI accessible from any device on your tailnet (laptop, phone, tablet) — no port forwarding, no public exposure
  • A supervised gateway that auto-restarts on crash or container reboot
  • Zo-native secrets management — API keys and tokens stored in /root/.zo_secrets, not scattered across config files

Quick start

npm install -g @ssdavidai/zoclaw
zoclaw init

The setup walks you through five steps:

  1. Tailscale auth key — prompts for one, or reuses the key already in zo secrets
  2. Tailscale install — sets up the VPN sidecar via zotail
  3. OpenClaw install — installs the agent platform
  4. Onboarding — interactive wizard to pick your AI provider and model
  5. Bootstrap — configures the gateway for secure tailnet access and registers it as a service

At the end, you'll see your Control UI URL and can launch the TUI immediately.

First browser connection

The first time you open the Control UI from another device on your tailnet, you need to approve the device once:

openclaw devices list
openclaw devices approve <request-id>

Refresh the browser and you're in. This is a one-time step per device.

Development channel

To test in-development versions:

npm install -g @ssdavidai/zoclaw@next
zoclaw init --next

The --next flag pulls @next versions of dependencies. Without it, stable @latest versions are used.

Managing the gateway

The gateway runs as a supervised service — it starts automatically and restarts on failure.

# Check status
supervisorctl -c /etc/zo/supervisord-user.conf status openclaw-gateway

# Restart
supervisorctl -c /etc/zo/supervisord-user.conf restart openclaw-gateway

# View logs
tail /dev/shm/openclaw-gateway.log

How it works

A fresh openclaw configure on Zo doesn't work with Tailscale out of the box. Tailscale Serve terminates TLS on the edge and proxies to your gateway as plain HTTP on loopback. The gateway sees a localhost socket but a remote-looking Host header (your .ts.net hostname), misclassifies the connection, and rejects it.

zoclaw fixes this by patching the gateway config to:

  • Use OpenClaw's native Tailscale Serve integration (gateway.tailscale.mode: "serve")
  • Trust Tailscale identity headers for browser connections (gateway.auth.allowTailscale)
  • Trust localhost as a reverse proxy (gateway.trustedProxies) so forwarded headers are honored
  • Enable the browser Control UI
  • Set the agent workspace to /home/workspace/ (Zo standard)
  • Migrate secrets (gateway token, API keys) to zo secrets

The bootstrap uses a two-phase restart because trustedProxies and local device auto-pairing conflict. When 127.0.0.1 is listed as a trusted proxy, the gateway treats direct CLI connections as proxy traffic and can't auto-pair them. So the bootstrap starts the gateway without trustedProxies first (allowing the local CLI to auto-pair), then adds it and restarts.

No insecure flags (allowInsecureAuth, dangerouslyDisableDeviceAuth) are used. Browser access goes through proper Ed25519 device pairing.

Commands

| Command | What it does | |---|---| | zoclaw init | Full setup from scratch | | zoclaw init --next | Full setup using development channel | | zoclaw bootstrap | Re-apply config patches only (if already installed) |

License

MIT