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

@vivekgg/code-bridge

v0.1.1

Published

Phone control surface for Claude Code — drives Claude Code sessions via the Agent SDK and exposes them to the Claude Code Micro app over WebSocket or BLE.

Readme

@vivekgg/code-bridge

Dev-machine bridge for Claude Code Micro — a phone control surface for Claude Code. The bridge runs on the machine you want to drive; the phone app connects to it and streams sessions, prompts, approvals, model changes, and token usage.

phone app  ──WebSocket / BLE──►  code-bridge  ──►  Claude Agent SDK  ──►  this machine

This is a community tool. It is not an official Anthropic product.

Requirements

  • Node.js ≥ 20 on the machine running the bridge.
  • Claude authentication on that machine. The bridge calls the Claude Agent SDK, so it uses the same credentials as Claude Code (a logged-in Claude Code install, or ANTHROPIC_API_KEY). The model runs here and can read/write this machine's files — the phone is only a remote control.
  • The Claude Code Micro Android app on your phone (installed separately — it is not distributed via npm).

Run

# no install needed:
npx @vivekgg/code-bridge

# or install the command globally:
npm i -g @vivekgg/code-bridge
code-bridge

On start the bridge prints a QR code, every dialable ws:// URL, and the pairing token. In the app open Network → Scan QR (or paste a URL).

Flags:

code-bridge            # WebSocket only (default)
code-bridge --ble      # Bluetooth only (needs the optional native BLE dep)
code-bridge --all      # both transports at once

Connecting from another device

The server listens on all interfaces and every connection must present the token, so any device that can route to this machine on the port can connect:

| Where the phone is | URL to use | |---|---| | Same Wi-Fi / LAN | ws://<lan-ip>:8787/?t=<token> (printed as lan · …) | | A different network, anywhere | Install Tailscale on both ends → ws://100.x.y.z:8787/?t=<token> (preferred, encrypted) | | Tethered by USB | adb reverse tcp:8787 tcp:8787 then ws://127.0.0.1:8787/?t=<token> | | No network | use the app's Bluetooth tab and run code-bridge --ble |

Configuration

| Env var | Default | Purpose | |---|---|---| | CCM_PORT | 8787 | WebSocket port | | CCM_TOKEN | see below | Pairing token |

Token precedence: CCM_TOKEN./.ccm-token (dev checkout) → ~/.claude-code-micro/token. If none exists one is generated and saved to the first writable location, so an installed CLI keeps the same token across restarts (no re-pairing). Set your own with CCM_TOKEN=my-secret code-bridge, and choose a strong token if you expose the bridge over Tailscale.

Security

Anyone who reaches the port with the token can drive Claude Code on this machine, with this machine's files and credentials. Prefer Tailscale over exposing the port publicly, and use a strong CCM_TOKEN.

License

MIT