Tool Open source · GPL-3.0

OpenDisplay

OpenDisplay is a free, open-source second-monitor system for extending a Mac desktop to an iPhone, iPad, or another Mac over USB or Wi-Fi. It provides a true extended display rather than only mirroring, with Retina/HiDPI output, portrait or landscape orientation, touch and two-finger scroll input, and support for multiple connected devices.

View repository Visit site

Overview

The Mac sender creates a virtual display with macOS's CGVirtualDisplay API, captures it with ScreenCaptureKit, hardware-encodes the frames as real-time H.264 using VideoToolbox, and sends them over a TCP connection. The receiving iOS or iPadOS app decodes the stream with AVSampleBufferDisplayLayer and sends touch and scroll control messages back for CGEvent injection. USB connections use macOS's built-in usbmuxd; Wi-Fi discovery uses Bonjour. A separate OpenDisplay Receiver app can turn a spare Mac into the display instead.

The project is self-hosted and does not require an account or server connection for display streaming. The Mac sender requires macOS 14 or newer, while the spare-Mac receiver supports macOS 12 or newer; the official mobile receiver targets iOS/iPadOS 16 or newer. It is distributed under GPL-3.0, and its reliance on the private CGVirtualDisplay API prevents App Store distribution and may create compatibility risks across macOS updates.