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

@worldofz/cli-connect

v0.1.9

Published

Control your Mac, Windows, or Linux terminal from an iPhone, Android phone, or another desktop.

Downloads

309

Readme

@worldofz/cli-connect

Control your Mac, Windows, or Linux terminal from your iPhone, Android phone, or another paired desktop.

This npm package ships the cross-platform Go agent (cli-connect, currently 0.1.9) as a single tarball with native binaries for darwin-arm64, darwin-x64, linux-x64, linux-arm64, win32-x64, and win32-arm64. Requires Node ≥ 18. A Node shim picks the right binary. Copilot+ / Snapdragon PCs use win32-arm64 — npm install -g @worldofz/cli-connect is enough; no repo clone.

Install

npm install -g @worldofz/cli-connect

Homebrew is also supported:

brew install errr0rr404/tap/cli-connect

First-time pair

cli-connect login
# Confirm at the printed /pair URL (browser Google/Apple) or in the phone app.

The CLI prints an 8-character code and a /pair URL. Open that URL in a browser (Google/Apple sign-in — no phone app required), or type the code in the cli-connect iPhone/Android app.

Run

cli-connect serve [--port N] [--shell PATH]
cli-connect attach [name] [--id <uuid>]   # drive another paired (or guest) machine
cli-connect share list|allow|deny         # which tmux sessions guests may use
cli-connect invite create|list|revoke     # host invite codes / friend invites
cli-connect invite redeem|pending|accept  # guest
cli-connect status
cli-connect logout

Guest redeem needs a session JWT (saved by login, or CLI_CONNECT_SESSION_TOKEN). Point a dev backend with CLI_CONNECT_BACKEND_URL. Pick a shared tmux session non-interactively with CLI_CONNECT_SHARE_SESSION.

serve runs in the foreground. To run on login:

  • macOS → scripts/install-launchd-mac.sh (installs a per-user LaunchAgent)
  • Windows → scripts/install-task-scheduler-windows.ps1 (Scheduled Task)
  • Linux → ship under your favourite supervisor (systemd --user, runit, …)

How it works

The agent opens a persistent WebSocket to the cli-connect backend. When your phone (or another paired machine) wants a session, the backend forwards bytes between the two sides — no inbound port on this machine, no NAT punching, no Tailscale needed.

serve also listens on the LAN (ws://0.0.0.0:8910), so the phone can connect directly when on the same Wi-Fi or tailnet — pick Auto / Direct / Relay on the app's Connect screen. Use --port N to change the listen port.

Full docs

Complete documentation — including iOS/Android app setup, backend deployment, tmux session picker, attach mode, security model — lives in the project README:

→ github.com/Errr0rr404/cli-connect

Issues and source: same link.

License

MIT.