Beam your terminal anywhere

Termbridge runs a local server, tunnels it through Cloudflare, and streams your tmux session to any browser.

npm i termbridge
yarn add termbridge
pnpm add termbridge
bun add termbridge
Get Started

Mobile Ready

Scan the QR code and open your terminal on your phone in seconds.

True Terminal

tmux + node-pty feed a real PTY into xterm.js with colors and TUIs.

Cloudflare Tunnel

Quick Tunnel exposes your local server with no port-forwarding.

Secure by Default

One-time tokens redeem into secure sessions for the tunnel URL.

Multi-Session

One server can host multiple tmux sessions with in-app switching.

Fast Start

Run `npx termbridge` and be online in under a minute.

CLI First

Designed as a terminal-first tool with TTY status and QR output.

QR Flow

Share a secure, scannable URL for fast device handoff.

Dev Server Preview

Proxy your local Vite app and preview it alongside the terminal.

HMR Passthrough

WebSocket proxying keeps Vite's Hot Module Replacement working.

Tab Switching

Toggle between Terminal and Preview views with a single tap.

Full-Stack Workflow

Run terminal commands and watch your app update in real-time.

Ready to beam?

Get started with Termbridge in minutes.

Read the Docs