Multiplayer

Share terminal sessions in real-time with your team.

Overview

Blade's multiplayer feature lets you share a live terminal session with other users. Everyone sees the same output in real-time, and the host controls who can type. This is perfect for pair programming, debugging sessions, or teaching.

Starting a Session

Start the Blade daemon to enable multiplayer:

$ blade serve

This starts a WebSocket server on your local machine. The daemon manages persistent sessions that survive client disconnects.

QR Pairing

The easiest way to connect is via QR code. When you run blade serve, Blade generates a pairing token and displays a QR code in the terminal. Your teammate can scan it with their phone or Blade client to instantly join.

The QR code encodes the connection URL, authentication token, and TLS certificate fingerprint for secure one-step pairing.

Auto-Discovery

On a local network, Blade automatically discovers other Blade instances using UDP broadcast announcements. Available sessions appear in the connection list without manual configuration.

The discovery tracker automatically prunes stale entries from devices that go offline.

Roles

Each participant in a multiplayer session has a role:

RoleCan TypeSees OutputDescription
HostYesYesSession owner. Controls permissions and roles.
DriverYesYesActive participant with input permissions.
ObserverNoYesRead-only view of the session.

The host can promote an observer to driver or revoke driver access at any time.

Security

Multiplayer sessions are secured with multiple layers:

Web Client

Participants don't need to install Blade to join. The built-in web client runs in any modern browser via WebAssembly. When you start a session with blade serve, a web URL is provided that teammates can open directly.

The web client uses a Canvas-based terminal renderer (blade-web) and supports full terminal output, though input is limited to the observer role by default.

Pro feature: Multiplayer sessions are available on the Blade Pro plan ($8/month). The free tier includes single-user sessions only.