Sunshine
GPL-3.0
- Platform
- Self-hosted Windows Linux macOS Docker
- Licence
- GPL-3.0 Open source
Sunshine
Website: sunshine.lizardbyte.dev
Sunshine is a free, open-source game-stream host for Moonlight. It runs on the computer that holds the games, using its GPU for hardware encoding where supported, while a Moonlight client on a laptop, phone, TV or handheld plays the stream. The host software is GPL-3.0. Full controller emulation on Windows and macOS needs a paid libvirtualhid licence; on Windows, Xbox 360 and DualShock 4 can also use ViGEmBus. It is not a cloud service: you supply the hardware and the games.
What separates it from the obvious alternatives is that it is not tied to one GPU vendor. Hardware encoding covers AMD, Intel and NVIDIA, with software encoding as a fallback, and configuration and pairing are done from a browser rather than a vendor’s game overlay. It is the host half of the pair; Moonlight, a separate open-source project, is the client.
Key Features
- Moonlight clients: Connect from Moonlight on Windows, macOS and Linux desktops, Android phones and TVs, and iPhone, iPad and Apple TV, with community ports for other devices.
- GPU encoding: Uses AMD, Intel or NVIDIA hardware encoding for low-latency streams, and falls back to software encoding when no supported encoder is available.
- Browser configuration: The web UI runs at https://localhost:47990 on the host, or on its internal IP address, and covers configuration, client pairing and application management.
- PIN pairing: When Moonlight asks for a PIN, enter it in the web UI’s PIN tab with a name for the device; the client is then paired.
- Application launcher: Add games and applications as commands with their own working directories, or use the built-in Desktop entry to stream the whole desktop. Only one application runs at a time; starting another terminates the current one.
- Controller emulation: Emulates Xbox, PlayStation and Nintendo gamepads on the host, with profiles for DualShock/DualSense, Switch Pro and Xbox 360/One/Series.
- HDR streaming: Supported on Windows hosts and experimental on Linux, using HEVC Main 10 or AV1 10-bit; HDR must also be enabled in the Moonlight client.
- Display and audio routing: On Windows, it can change the host display’s resolution and refresh rate to the client’s request, and audio can be routed to a virtual sink so the host’s speakers stay muted.
Licence
GPL-3.0 for the host. That is a copyleft licence: you can use, modify and redistribute it, but distributed modifications must be released under the same licence. Sunshine itself is free; the libvirtualhid licence is a separate paid component that unlocks full controller support on Windows and macOS.
Views: 0