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

@trymuxr/cli

v0.1.16

Published

Control every Herdr coding agent from your phone with a self-hosted encrypted relay.

Downloads

2,008

Readme

muxr

Every coding agent, on your phone. Website · GitHub · Quickstart · Android APK

The @trymuxr/cli package installs the complete self-hosted CLI, relay, host bridge, plugin runtime, and web client.

Quickstart

Requires Node 22+. If Herdr is missing, setup installs and verifies it automatically.

npm install -g --ignore-scripts @trymuxr/cli
muxr

The convenience installer at https://raw.githubusercontent.com/umeranjum17/muxr/main/install.sh performs that same npm install without sudo; it requires Node 22+ and does not install Node itself.

First run:

  1. Install muxr on your phone from TestFlight, Google Play internal testing, or the signed Android APK on GitHub Releases.
  2. Run muxr. It checks the computer, installs Herdr if needed, and asks how the phone should connect. Start with LAN when both devices use the same wifi.
  3. Review the short plan, choose Apply setup, then scan the one-use QR from the phone app.

Nothing changes before Apply setup. Setup then verifies the connection and managed services without printing credentials. Run muxr pair anytime for a fresh QR.

Run muxr with no arguments for the interactive setup and maintenance menu. The same menu can host a supervised shared relay on a VPS, create one-use machine enrollments, or connect a local Herdr host using only a machine-scoped credential.

The bundled Usage item sheet runs the exact pinned ccusage backend offline against local coding-agent logs and shows today's allowlisted per-agent token totals without costs, prompts, models, or session details. It also lists every known installed CLI and distinguishes no activity reported today from agents ccusage does not support. npm installs one platform-specific ccusage binary (about 4 MB) for Linux or macOS. Current Codex percentages come from its local app-server; other coding CLIs are PATH-detected but never invoked.

muxr update                    # check, confirm, update, and restart
muxr update --check            # check without changing anything
muxr doctor                    # redacted setup diagnostics
muxr pair                      # pair another phone
muxr pair --browser            # pair an 8-hour control browser
muxr pair --browser-view       # pair an 8-hour view-only browser
muxr devices list
muxr devices revoke <number>

muxr state lives under ~/.muxr unless MUXR_HOME is set. Use muxr setup --dry-run to preview managed-file changes. muxr uninstall removes every muxr-owned operational component—including machine identity, pairings, grants, provider keys, runtime state, services, ingress, and managed integrations—then optionally removes the global CLI. It keeps Herdr, Herdr sessions, repositories, worktrees, received attachments, exports, signing keys, and unrecognized files. The narrower muxr daemon uninstall and muxr integrations uninstall commands remain available for advanced maintenance.

Self-host options

muxr self-host [--advertise <ws-url>] [--tunnel] [--tailscale-direct]
               [--port <n>] [--relay-only|--host-only] [--web] [--yes]

The default uses Tailscale when available or the trusted local network otherwise. Session, terminal, attachment, and plugin-stream payloads use the strict v2 E2EE data plane; the relay routes ciphertext it cannot read.

For a shared VPS relay, prefer interactive muxr. Automation equivalents are:

muxr shared-relay
muxr machines enroll|list|revoke
muxr connect --enrollment <muxr://enroll?...> [--no-pair|--pair-browser|--pair-both]

Enrollment is one-use and five minutes. The VPS retains owner authority; the agent machine generates keys locally and stores only its scoped credential.

Build a plugin

Bundled and third-party plugins use the same public contract, including bounded app-rendered code and diff views with syntax highlighting—never plugin HTML. Working examples and the full authoring guide ship in plugins/ and PLUGINS.md.

muxr plugin docs
muxr plugin create <name>
muxr plugin clone <bundled-plugin-id> [destination]
muxr plugin check <path>
muxr plugin dev <path> [--web]
muxr plugin call <path> <contribution-id> [--input '<json>']
muxr plugin list
muxr plugin install <local-path|owner/repo[/subdir][@ref]|npm:<name>@<version>>
muxr plugin update <same-spec>
muxr plugin remove <plugin-id>

Apache-2.0. Dependency notices and resolved license inventory are included in NOTICE, LICENSES/, and THIRD_PARTY_LICENSES.json.