Sunshine runs on your machine as a self-hosted streaming host for Moonlight clients, capturing the desktop and encoding video with GPU or software paths.
Overview
Sunshine is a self-hosted game stream host designed to work with Moonlight clients. It captures host display output, encodes the stream with low latency, and lets clients connect from phones, PCs, and other supported Moonlight devices on your network.
The host can use hardware encoding through vendor-specific APIs where the platform supports them, including paths for AMD, Intel, and Nvidia GPUs on Linux and Windows, Apple Video Toolbox on macOS, and software encoding as a fallback. Capture methods vary by operating system and include options such as DXGI on Windows, KMS and Wayland-related paths on Linux, and ScreenCaptureKit on macOS.
A built-in web UI supports configuration and pairing clients from a browser, including pairing from the local server or a mobile device. Gamepad emulation profiles cover common console-style controllers on Linux, macOS, and Windows, with platform-specific notes about optional companion drivers for full feature support.
Published system requirement tables list minimum CPU, GPU, RAM, and network guidance for different resolutions and HDR; those tables are still being refined and should not drive hardware purchases alone.
Key features
- Moonlight-compatible streaming host
- AMD, Intel, and Nvidia hardware encoding
- Software encoding fallback
- Web UI for config and pairing
- Multiple desktop capture backends
- Gamepad emulation profiles
- Cross-platform client connectivity
Use cases
- Stream PC games to Moonlight clients
- Remote play on home Wi-Fi
- Self-hosted cloud gaming on owned hardware
- LAN streaming with hardware encode
- Pair phones or tablets as stream clients