Repolode
LizardByte

LizardByte/Sunshine

Self-hosted game streaming host that lets Moonlight clients stream games from your own PC or server with hardware or software encoding.

Open-source alternative to:NVIDIA GameStreamSteam Link

Stars
42,446
Forks
2,274
Open issues
165
Last commit
3 hours ago

What is it?

Sunshine is a game stream host for Moonlight, the open-source client. It runs on your own machine and captures the screen and audio, encodes the video, and sends it to any Moonlight client on a network, so you can play games remotely on other devices.

It supports hardware encoding on AMD, Intel, and Nvidia GPUs, and software encoding as a fallback. Capture and encoding options vary by platform, with support listed for Windows, Linux, macOS, and FreeBSD. Gamepad emulation covers common controllers such as DualShock, DualSense, Xbox, and Switch Pro, with platform-specific limitations noted.

Configuration and client pairing are handled through a web UI in a browser, either on the host or from a mobile device. Installation packages are provided for Docker, Flathub, Homebrew, pacman, and winget.

Key features

  • 01Hardware encoding via NVENC, AMF, QuickSync, VAAPI, and Vulkan Video, plus software encoding.
  • 02Multiple screen capture methods, including DXGI, KMS/DRM, ScreenCaptureKit, and Wayland.
  • 03Gamepad emulation for DualShock, DualSense, Xbox, and Switch Pro controllers.
  • 04Web UI for configuration and client pairing from a browser.
  • 05Works with any Moonlight client across a variety of devices.

Use cases

  • Playing PC games on a laptop, tablet, or phone while the gaming PC stays in another room.
  • Running a home game server that streams to several devices on the local network.
  • Streaming games from a Linux or FreeBSD machine to Moonlight clients.

Topics

FAQ

What is Sunshine?
Self-hosted game streaming host that lets Moonlight clients stream games from your own PC or server with hardware or software encoding. Sunshine is a game stream host for Moonlight, the open-source client. It runs on your own machine and captures the screen and audio, encodes the video, and sends it to any Moonlight client on a network, so you can play games remotely on other devices.
Is Sunshine free to use? What license does it have?
Sunshine is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
Is Sunshine still maintained?
Actively maintained. The last commit to Sunshine was on Oct 21, 2026.
What can I use Sunshine for?
Playing PC games on a laptop, tablet, or phone while the gaming PC stays in another room. Running a home game server that streams to several devices on the local network. Streaming games from a Linux or FreeBSD machine to Moonlight clients.
Where can I get Sunshine?
The source code and installation instructions are on GitHub: https://github.com/LizardByte/Sunshine

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects