1.8 KiB
1.8 KiB
Officer Browser Relay — Setup Guide
Prerequisites
- Officer server running (
bun dev) - Google Chrome or Chromium-based browser on your machine
- Both machines on the same Tailscale network (or localhost for local dev)
Steps
1. Verify relay is running
Check the server logs for [browser-relay] listening on port 18792.
2. Get your relay credentials
Open Officer dashboard → Browser screen (or /browser).
The setup card shows your server address, port, and relay token.
3. Load the extension in Chrome
- Open
chrome://extensions - Enable Developer mode (top-right toggle)
- Click Load unpacked
- Select
src/extensions/browser-relay/
4. Configure the extension
- The options page opens automatically after install (or right-click extension → Options)
- Enter the Server address (Officer's IP — e.g. your Tailscale IP, or
127.0.0.1for local) - Enter the Port (default
18792) - Paste your Relay token from step 2
- Click Save — status should show green "Relay reachable and authenticated"
5. Attach a tab
- Navigate to any webpage in Chrome
- Click the Officer Browser Relay extension icon in the toolbar
- Badge shows ON (cyan) = attached
6. Use from the dashboard
- Open
/browserin Officer - Your attached tab appears in the left panel
- Click it to see a live screenshot in the right panel
- Use the URL bar to navigate, or the JS console to evaluate expressions
Troubleshooting
- Red
!badge: Relay not reachable — check server address/port/token …badge: Reconnecting — relay was temporarily unavailable- Tab not appearing: Make sure the extension badge shows ON, and refresh the dashboard
- Screenshot blank: The tab may be on a
chrome://page (not supported by CDP)