Remote Coding

Keep working with your agents when you leave your desk.

The Problem

On your home or office network, Broski talks to your Mac directly. But what happens when you:

  • • Leave the house for coffee and want to keep coding?
  • • Travel and need to check on a long-running task?
  • • Work from multiple locations throughout the day?
  • • Want to approve a command while away from your system?

The Solution: Broski Link with a Relay

When your phone cannot reach your Mac directly, Broski Link connects both of them to a relay. The relay only forwards encrypted frames, so it cannot read your prompts, code or files. It is:

  • • Automatic (the app falls back to the relay when the local network is not reachable)
  • • Private (Noise end-to-end encryption between your phone and your Mac)
  • • Simple (no VPN, no extra app, no port forwarding, nothing exposed publicly)

Quick Setup

1
Install Broski Link on your Mac
bash
broski install
2
Add your relay

Put the relay URL in ~/.broski/link/config.json, then restart.

bash
# ~/.broski/link/config.json
# { "relay": "wss://relay.example.com" }

broski restart
3
Pair your phone
bash
broski-link pair

Scan the QR code with Broski. It is single-use and expires after 10 minutes.

You can now code from anywhere!

As long as your Mac is awake and online, Broski reaches it from any network.

Home network only?
If you only ever code on the same network as your Mac, you do not need a relay. Skip step 2; the phone connects directly.

Tips

Connection drops when switching networks

This is normal. The app reconnects on its own once your phone has a stable network again, trying the local network first and the relay second.

Check which route you are on
bash
broski-link status

Each paired phone is listed with the route it is using (local network or relay).

Lost your phone?
bash
broski-link devices
broski-link revoke <device id prefix>

A revoked phone can no longer connect, by either route.

Summary

If you want...Use this
Best latencySame network as your Mac (direct)
Access from anywhereA relay in ~/.broski/link/config.json
Nothing exposed to the internetEither route: the bridge only listens locally