sqlpxc

airhand

sqlpxc

Airhand is a low-latency remote desktop written in Rust that streams GPU-encoded video over QUIC at up to 120 fps across Windows, macOS, Linux, Android, iOS and browsers.

v0.4.2-rc.7
Published at
1d ago
2.4k
Stars
9.9k
Download

Latest release

v0.4.2-rc.7Dec 4, 2026, 08:55 AMPre-release
Downloads slow? Switch the source anytime above

README

Project Overview

Airhand is a remote desktop for people who need to operate another computer: the same program runs on both ends and pairs them through a relay server you deploy yourself. Video is GPU-encoded (AV1 / HEVC / H.264) and carried over QUIC, so when the network slows the client jumps to the newest frame instead of queueing backlog, and the mouse cursor is drawn locally so movement feels immediate.

Item Value
Platform Windows, macOS 13+, Linux, Android 7+, iOS 17+, browsers
Transport QUIC, relay defaults to UDP 4433
Encoding NVENC / Quick Sync / AMF, VideoToolbox, MediaCodec
Pairing 6-digit control code plus a 6-digit pairing code on first connect
Current version 0.4.1 (in development)

A self-hosted, end-to-end encrypted remote desktop that puts latency ahead of feature count.

Key Features

  • Automatic codec selection: picks the most efficient codec both sides support in AV1 > HEVC > H.264 order; hardware AV1 encodes a frame from a 4K screen to 1080p in about 7 ms on RTX cards
  • No latency build-up: the host caps in-flight bytes at roughly bitrate times (RTT + 50 ms) and skips to the newest frame under congestion
  • Hole-punched direct paths: both ends try to connect directly beyond the relay, so on a LAN or a non-symmetric NAT video and audio bypass the server and fall back without dropping the session
  • One QUIC stream per frame: a lost packet stalls only that frame, frames that never arrive are abandoned, and the encoder continues from a reference frame the client confirmed
  • Idle costs nothing: unchanged screens send no frames, and sessions that are off-screen drop to 5 fps
  • Windows service mode: lock screen, login screen and UAC prompts are visible and operable, and the machine can be controlled before anyone logs in
  • Virtual display: Windows hosts add a virtual monitor when the real one is off or absent, as do Macs on power with the lid closed or a headless Mac mini
  • Privacy mode: blanks the remote monitors and disables its input, then locks the screen before restoring on disconnect
  • Stable control code: survives restarts, upgrades and even relay restarts until you rotate it
  • Two-way audio: remote system audio arrives as Opus with an adaptive jitter buffer, and the controller microphone can feed Windows, macOS 14.2+ and Linux PipeWire hosts
  • Clipboard and files: text syncs both ways, while files and folders transfer only when pasted

Quick Start

Deploy the relay

  1. Prepare a machine both ends can reach with Docker installed and UDP 4433 open
  2. Clone the repository and start it:
git clone https://github.com/sqlpxc/airhand.git
cd airhand
docker compose up -d
docker compose logs airhand | grep fingerprint
  1. Record the certificate SHA-256 fingerprint and keep the data/ folder that holds the certificate and control-code database

Build the client

  1. Compile the relay address and fingerprint into the binary:
cd client
npm install
export AIRHAND_SERVER=relay.example.com:4433
export AIRHAND_SERVER_FP=<fingerprint>
npm run tauri build
  1. Output lands in client/src-tauri/target/release/bundle/: nsis/Airhand_<version>_x64-setup.exe on Windows, macos/Airhand.app and dmg/Airhand_<version>_<arch>.dmg on macOS, deb/Airhand_<version>_amd64.deb on Linux
  2. The address and fingerprint can also be edited later in config.toml

Connect

  1. Install Airhand on both machines; on Windows only an all-users install can control the lock screen and UAC
  2. Read the 6-digit control code from the host tray menu
  3. Enter it in the controller console, then type the host's 6-digit pairing code the first time

System Requirements

Item Requirement
Windows host Windows 10 / 11, installed; an all-users install runs as a system service
macOS 13 or newer, host needs Screen Recording and Accessibility permissions
Linux X11 desktops only for hosting, with software encoding
Android 7 or newer; hosting needs the accessibility service to accept input
iOS 17 or newer, view-only sharing
Browser console Chrome / Edge, Safari 16.4+, Firefox 130+
Build dependencies Rust, Node.js 20+, CMake

Notes

  • Versions must match: relay, clients and the web console must be built from the same source revision, since mixing older builds breaks the handshake
  • Never delete data/: replacing the certificate locks out every client already built against the old fingerprint
  • iOS is view-only: the system forbids third-party apps from controlling the device, so sharing a screen only allows watching
  • Linux hosting is limited: X11 only, so Wayland desktops cannot host, and there is no hardware encoding
  • AWDL steals the radio: macOS Wi-Fi hosting stutters periodically, and the menu offers pausing AWDL during Wi-Fi remote sessions

Release history

Sort