Skip to content
All work
Tooling & SystemsInternal2026

Tetherdeck

Self-hosted remote desktop: control a Mac from an iPhone or iPad over Tailscale. No relay, no account, no telemetry.

Overview

The macOS host is a Swift Package menu-bar app: screen capture with ScreenCaptureKit, hardware H.264 encoding with VideoToolbox, streaming over WebRTC with a data channel for input events, plus its own HTTP server and router, socket listener, display-sleep handling, QR-code pairing, login-item support, preflight permission checks, and Tailscale TLS integration.

The client is a Vite + React 19 web app that renders the stream with a HUD and toolbar; geometry, viewport, and SDP helpers are unit-tested, and a Playwright script covers end-to-end. Scripts handle build, bundle, sign, launchd install, and cert generation; a small CLI wraps start and preflight.

Highlights

  • ScreenCaptureKit + VideoToolbox + WebRTC pipeline in Swift
  • Input injection via CGEvent over a WebRTC data channel
  • Private-network only, TLS mandatory, zero third-party relay