Overview
screen-relay streams a Linux, macOS, or Windows desktop to your browser. Open the viewer link to see the screen and use it with your mouse and keyboard. An agent can control the same desktop from the screen-relay CLI, the Node SDK, or the HTTP and WebSocket API, taking screenshots and sending clicks, keys, and text.
Quickstart
Getting started explains each step.
How it works
The engine captures the screen, encodes it as H.264 video, and streams it to the viewer. The viewer, or an agent over HTTP or WebSocket, sends input back. To see how the stream adapts to a slow link, read How streaming works.
What works where
| Platform | Backend | Start a desktop | Details |
|---|---|---|---|
| Linux | x11 (default) or wayland | screen-relay up -d | Linux |
| macOS 12.3 or later | macos | screen-relay up -d | macOS |
| Windows 10 or later, x64 | windows | screen-relay up -d | Windows |
Limits
- Audio, IME, relative pointer, and hardware encoding are not supported. The clipboard carries text only.
- Three capture failures in a row end the session.
screen-relay logsshows why.
Control, desktop size, and access rules are covered in CLI reference, Configuration, and Remote access.
Status
Experimental
CI installs and checks screen-relay on Debian 13, Ubuntu 24.04 and 26.04, Fedora 44, Arch Linux, and Alpine 3.24. screen-relay also ran end to end in a Vercel Sandbox on Ubuntu 26.04 (x86_64) and in Docker on Debian 13 (arm64). It has not been tested over wide-area links or in long runs.
Next steps
- CLI reference: every command, option, output, and error.
- SDK: control a session from Node.
- HTTP API: endpoints, input events, and the wire format.
- Agent skills: give an agent a workflow to follow.
- Remote access: tunnels, TLS, and tokens.