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

control-claude-code

v0.1.4

Published

Revive Claude Code Remote Control for BYOK users by injecting the Bun-compiled binary via inspector and re-hosting the /remote-control control-plane on a self-run server.

Readme

control-claude-code

Drive the claude running in your terminal from your phone — as a BYOK user.

Anthropic gates Claude Code's Remote Control to OAuth (claude.ai subscription) logins; anyone on ANTHROPIC_API_KEY or a relay endpoint is hard-refused. This tool injects the Bun-compiled claude binary through its built-in inspector, neutralizes the OAuth-only gates, and re-hosts the /remote-control control-plane on a server you can run yourself. Your inference path is untouched — the model still answers through your own key and base URL.

Requires Node ≥ 22 and claude ≥ 2.1.229. Linux and macOS.

Install

npm i -g control-claude-code     # or: npx control-claude-code

The package is control-claude-code; the command it installs is control-claude.

Use

control-claude       # launches the normal claude TUI, with /rc enabled

Then type /rc in the TUI and the session shows up on your phone. Open the server URL there, register (username + password + invite code), and you are talking to the same session — with tool-use permission prompts, an output sheet, and the transcript.

First run asks which backend to use and logs you in; the answer lands in ~/.config/control-claude-code/config.json and later runs go straight to claude. The default backend is https://ccc.racel.dev; --login reopens the picker to switch backend or account.

Anything the controller does not recognise is forwarded to claude verbatim:

control-claude --resume
control-claude -c --model opus "fix this bug"
control-claude -- --help          # everything after -- is claude's
control-claude --headless         # phone-only, no TUI

Self-hosting the server (optional)

Most people do not need this — the default backend is hosted. To run your own:

INVITE_CODE=<码> docker compose up -d

That brings up the server on :8787 with PostgreSQL behind it. The image is published at ghcr.io/dotracel/control-claude-code. Without INVITE_CODE registration stays closed, which on a fresh server means nobody can sign up at all. Point the CLI at it with control-claude --login.

Docs

| | | |---|---| | docs/INTERNALS.md | injection, the control-plane, persistence, the CLI contract | | docs/INJECTION-DRIFT-RUNBOOK.md | when a claude release breaks a gate: diagnose, fix, and reprofile | | docs/MOBILE-UI.md | the phone UI, and what an installed iOS app actually measured | | docs/DESKTOP-UI.md | the two-pane layout above 900px, and what the two platforms share | | docs/EVENTS.md | the data-plane wire contract every client builds on | | docs/HISTORY-EXPORT.md | exporting history out of a deployment, and auditing what the UI drops |

Develop

npm install && npm test        # ~4s, needs no claude and no database
npm run db:up                  # postgres:17 — then DATABASE_URL=… npm test also covers persistence
cd web && npm install && npm run build

The CLI ships as one dependency-free dist/cli.mjs (npm run build); the server ships as the container image. Tags drive releases: npm version … then git push --follow-tags.

License

PolyForm Noncommercial 1.0.0. Use it, change it, share it — for personal use, study and research. Commercial use is not granted, and that includes use inside a company. claude itself is Anthropic's, and this is a client for their product.