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

@byoky/bridge

v0.9.12

Published

Local HTTP proxy + native messaging bridge that lets CLI tools (Claude Code, OpenClaw) route through the Byoky wallet

Readme

@byoky/bridge

Local HTTP proxy that lets CLI tools and desktop apps route LLM API calls through the Byoky browser extension. Keys never leave the extension.

CLI App → HTTP → Bridge (localhost) → Native Messaging → Extension → LLM API

Install

npm install -g @byoky/bridge
byoky-bridge install

byoky-bridge install registers the native messaging host with Chrome, Chromium, Brave, and Firefox.

If you're developing with an unpacked extension, pass your extension ID:

byoky-bridge install --extension-id <your-extension-id>

Connect (Claude Code / generic CLI)

One command to open the wallet, approve a session, and start the HTTP proxy on 127.0.0.1:19280:

byoky-bridge connect

It opens a browser tab on an ephemeral loopback port, runs the Byoky SDK connect flow, and asks the extension to open the proxy. Once you approve in the Byoky popup the CLI prints:

✓ Bridge listening on http://127.0.0.1:19280
  Providers: anthropic

The proxy stays up as long as your browser is running — the extension's service worker holds the native-messaging port open. Re-run byoky-bridge connect after a browser restart.

Point your client at it:

export ANTHROPIC_BASE_URL=http://127.0.0.1:19280/anthropic
export ANTHROPIC_API_KEY=byoky  # any non-empty value; bridge strips the header
# Use ANTHROPIC_API_KEY, not ANTHROPIC_AUTH_TOKEN — API_KEY is what Claude Code's
# first-run wizard checks to skip the OAuth login prompt.
claude

Options:

byoky-bridge connect --port 19280 --providers anthropic
# comma-separated for multi-provider:
byoky-bridge connect --providers anthropic,openai

How it works

The bridge is a native messaging host — Chrome spawns it as a subprocess when the extension needs it. When byoky-bridge connect runs, the extension sends a start-proxy message telling the bridge to listen on 127.0.0.1:<port>. Requests hit the proxy, get relayed to the extension over native messaging, and the extension injects the real API key before calling the provider API.

The bridge never sees your API keys.

Usage from the browser

The bridge is also started by pages that use the Byoky SDK (OpenClaw plugin, etc.) — no CLI action needed in that flow. See @byoky/sdk.

Once running, the HTTP surface is:

  • Health check: GET http://127.0.0.1:19280/health{"status":"ok","providers":[...]}
  • API proxy: POST http://127.0.0.1:19280/<provider>/...

Example:

curl http://127.0.0.1:19280/anthropic/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: byoky-proxy" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

CLI Commands

| Command | Description | |---------|-------------| | byoky-bridge install | Register native messaging host with browsers | | byoky-bridge uninstall | Remove native messaging registration | | byoky-bridge status | Check registration status | | byoky-bridge connect | Open browser, approve a session, start the proxy on :19280 | | byoky-bridge relay | Run the proxy against a mobile wallet via the Byoky relay |

Supported Providers

Anthropic, OpenAI, Google Gemini, Mistral, Cohere, xAI, DeepSeek, Perplexity, Groq, Together AI, Fireworks AI, OpenRouter, Azure OpenAI.

License

MIT