Planck, documented
Install it, pair a device, stream. Then read exactly how it does that, with every number traced to a file in the repo.
v0.1.0 · PURE GO · CGO_ENABLED=0 · APACHE-2.0
Contents
- 01ArchitectureThe five stages from capture to glass, per OS, and what each package does.5 STAGES · 4 VENDORS
- 02ProtocolQUIC control, sealed UDP media, the 36-byte video header, FEC and rate control.WIRE v1 · 1152 B
- 03BenchmarksEncoder, slice, pipeline and transport latency, with the rig behind every number.4 CHARTS · 1 RIG
- 04Configurationhost.json, client.json, both binaries’ flags, hotkeys and the codec matrix.2 FILES · 2 BINARIES
- 05Privacy & TelemetryThe four telemetry signals, every field they carry, and how to turn them off.4 SIGNALS · 11 FIELDS
- 06Troubleshooting & FAQFirewalls, reserved ports, macOS permissions, GPU topology and power.PORTS · PERMISSIONS
Install
Planck ships two binaries: planck-client, the desktop app, and planck-host, a command-line host for headless machines. Any client can also host from its Hostingswitch. Every file is on the GitHub Releases page, next toSHA256SUMS.txt.
| Platform | Minimum | File |
|---|---|---|
| macOS | 14.0, Apple silicon or Intel | planck-<v>-macos-arm64.dmg, planck-<v>-macos-amd64.dmg |
| Windows | 10 build 2004 (10.0.19041) or 11, x64 | planck-<v>-windows-x64-setup.exe, planck-<v>-windows-x64.zip |
| Linux | x86_64 or aarch64 | planck-<v>-linux-<arch>.tar.gz (command-line preview) |
macOS
Open the DMG and drag Planck.app to Applications. The app bundle holds both binaries inPlanck.app/Contents/MacOS/. The macOS download is a signed and notarized Developer ID DMG. A Mac that hosts needs Screen Recording and Accessibility permission; seemacOS permissions.
Windows
The installer is per-user and needs no administrator rights. It installsplanck-client.exe and planck-host.exe to%LOCALAPPDATA%\Programs\Planck and installs no drivers. The portable ZIP holds the same app folder without the installer. Uninstalling keeps settings, paired devices and keys in%APPDATA%\planck, so a reinstall keeps its pairings.
Linux
The Linux tarball holds bin/planck-client, bin/planck-host and a desktop entry with icons. It is a command-line build: there is no desktop window, no capture and no streaming on Linux yet. planck-client -headless and planck-host build and run.
Build from source
Planck needs only the Go toolchain (go 1.27.4): no C compiler, no Rust, no Swift or Objective-C shim. Every build runs with CGO_ENABLED=0.
CGO_ENABLED=0 go build ./cmd/planck-client ./cmd/planck-host
CGO_ENABLED=0 go vet ./...
CGO_ENABLED=0 go test ./cmd/... ./internal/... ./pkg/...Check a build with planck-client -version or planck-host -version. The spike programs (cmd/spike-*, cmd/planck-spike2) and developer tools (cmd/planck-trace, cmd/planck-vdd) are never part of a release.
Pair a device
A client must pair with a host once. The host decides in this order, and stops at the first match:
- The client's certificate fingerprint is already paired.
- The client proves the host's current 6-digit PIN. The host stores the fingerprint and, unless a fixed PIN is set, picks a new PIN.
- Both devices belong to the same Tailscale user (checked with Tailscale's WhoIs), and the client is not on a LAN address while
requirePINForLANis on. - Otherwise the host answers that the device is not paired and asks for the PIN.
On the LAN
Hosts answer discovery probes and broadcast beacons on UDP 47700, so clients on the same network list them without typing an address. requirePINForLAN is on by default: a LAN client always pairs with the PIN, even when both devices share a Tailscale user.
Over Tailscale
Clients also probe tailnet addresses. Two devices of one Tailscale user pair with no PIN (allowTailscaleSameUser, on by default). Across a router where beacons do not reach, pass the host's address with -discovery-addrs ip:port or connect to it directly.
Quick start
- Install Planck on the machine you stream from (the host) and the one you play on (the client).
- On the host, turn on Hosting in the app, or run
planck-host. The command-line host prints itspairing PIN. - On the client, open Planck. Hosts on your LAN and tailnet appear in the list.
- Pick the host and enter its PIN the first time. Same-user Tailscale devices skip this step.
- In the stream, Ctrl+Alt+H cycles the HUD and Ctrl+Alt+Shift+D disconnects. All hotkeys are in Configuration.
To measure a link without a window, use the headless client:
planck-client -headless -connect host:47701 -pin 123456 -duration 10s -json