rd remote desktop
A tiny remote desktop built for one thing: the lowest latency physically possible. Pure C, no frameworks, a few hundred kilobytes. Windows host and client, Android client, encrypted end to end, works through NAT via this relay.
Why it is fast
- The GPU reports what changed. Desktop Duplication hands over dirty and move rectangles; a static screen costs zero bytes.
- Persistent content-addressed tile cache. Every 64x64 tile you have ever seen stays on your device, keyed by content hash. When it reappears (scroll back, switch windows, redraw) the host sends a 12-byte reference instead of pixels.
- Text as text. Console windows are sent as a character grid and rendered locally with your font, not as video.
- No queue, ever. Frames are paced by a bandwidth-delay window measured live, so a change reaches your eye in about one round trip.
- XOR delta + LZ4, 64x64 tiles, one send per frame, Nagle off, 1 ms timers.
How to use
- Install on the PC you want to control and run
rd. It shows an ID and a temporary password. - On the other machine (Windows or Android) enter that ID and password. Both sides connect out to this relay, so no port forwarding.
- Traffic is encrypted end to end (X25519 + XChaCha20-Poly1305); the relay only forwards ciphertext.
relay v1.0.3 · 0 active sessions · 0 since start · admin