Install
Complete installation guide for bproxy — CLI, daemon, and Chrome extension.
Prerequisites
Section titled “Prerequisites”- Node.js ≥ 24 — check with
node --version - Chrome (or Chromium-based browser) with Developer mode available
- macOS or Linux — Windows is not currently supported
Install the CLI and daemon
Section titled “Install the CLI and daemon”npm install -g @dimdasci/bproxyThis puts two binaries on your PATH:
bproxy— the CLI (one command per invocation)bproxy-service— the daemon (long-running localhost process)
Verify the install:
bproxy --version# bproxy v0.7.0 (protocol v1)Install the Chrome extension
Section titled “Install the Chrome extension”- Download
bproxy-extension-v{version}.zipfrom the latest GitHub Release - Extract the zip to a permanent location (e.g.,
~/bproxy-extension/) - Open Chrome and navigate to
chrome://extensions - Enable Developer mode (toggle in the top-right corner)
- Click Load unpacked and select the extracted folder
- The bproxy extension icon appears in your toolbar
Tip: Do not delete the extracted folder — Chrome references it directly. If you move it, you’ll need to reload the extension.
Start the daemon and pair
Section titled “Start the daemon and pair”Start the daemon:
bproxy service startOutput:
{"running":true,"pid":12345,"port":9615,"pairingCode":"ABCD-EFGH","pairingExpiresAt":1714000300000}The pairing code is valid for 5 minutes. To pair:
- Click the bproxy extension icon in Chrome
- Enter the pairing code shown in the terminal (e.g.,
ABCD-EFGH) - Click Pair
Once paired, the extension connects via WebSocket and is ready to accept commands.
Verify the connection
Section titled “Verify the connection”bproxy service statusExpected output when everything is connected:
{"running":true,"pid":12345,"port":9615,"version":"0.7.0","protocolVersion":1}For a comprehensive check of all components:
bproxy doctorThis validates Node version, binary resolution, daemon connectivity, protocol version agreement, extension WebSocket connection, and state directory health.
Auto-start on login (optional)
Section titled “Auto-start on login (optional)”Register the daemon to start automatically when you log in:
bproxy service installThis creates a platform-native service entry (launchd on macOS, systemd on Linux). To remove it:
bproxy service uninstallState directory
Section titled “State directory”bproxy stores all state in ~/.bproxy/ (override with BPROXY_HOME or --home):
| File | Purpose |
|---|---|
token | Daemon bearer token for CLI→daemon auth |
extension-token | Extension→daemon WebSocket auth token |
bproxy.pid | Daemon process ID (lifecycle lock) |
port | Port the daemon is listening on |
logs/ | Structured request logs |
tmp/ | Temporary session artifacts |
All files are created with mode 0600/0700 — only your user account can read them.
Install the agent skill (optional)
Section titled “Install the agent skill (optional)”If you use a coding agent that supports Agent Skills, install the bproxy skill:
npx skills add dimdasci/bproxyFor pi:
pi skill install https://github.com/dimdasci/bproxy/tree/main/skills/bproxyThe skill provides command reference, fill-method selection, consent handling, and error recovery — everything an agent needs to use bproxy without reading the full docs.