Skip to content

codeflower tunnel pair

Pair a browser or phone with this computer: open the printed link there (or scan the QR code). The link works once, for 10 minutes. Compare the key fingerprint the page shows with the one printed here.

It does what pairing needs first: signs this computer in to the tunnel, turns remote access on, and starts code flower client in the background unless it runs. The client keeps the tunnel connected and shows paired browsers every sandbox on this computer, also those “codeflower run” and “interactive” start (which start the client themselves once this computer is signed in). Open it here with “codeflower client”; it quits when you quit it there or sign out.

With “tunnel: {hardened: true}” name the sandboxes (by name or ID, as “codeflower tunnel status” lists them) the browser may use; it sees no others.

Terminal window
codeflower tunnel pair [sandbox…] [flags]
Flag Default Description
--name string when signing in: this computer’s name in your account (default: its host name)
--no-browser when signing in: print the approval page’s address instead of opening a browser
--no-wait print the link and return instead of waiting for the browser to pair
--url string when signing in: the tunnel to use, saved in config.yaml (default https://tunnels.codeflower.app)
Flag Default Description
--config string config directory with config.yaml (or set $CODEFLOWER_CONFIG; default ~/.codeflower)