Self-hosted game stream host for Moonlight. http://app.lizardbyte.dev/Sunshine/
  • C++ 76%
  • Vue 7.2%
  • CMake 5.3%
  • Objective-C++ 2.9%
  • CSS 2%
  • Other 6.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-30 22:53:43 -04:00
.github chore(deps): update lizardbyte/actions action to v2026.928.123224 (#5833) 2026-09-29 08:58:05 -04:00
.run docs(doxygen): enforce warn if undocumented (#5337) 2026-06-25 22:43:17 -04:00
branding chore: add branding images (#5552) 2026-08-24 09:31:30 -04:00
cmake feat(permissions): expose platform access and restart after grants (#5820) 2026-09-28 21:42:59 -04:00
docker build(linux): fix ubuntu 26.10 aarch64 artifact extraction (#5720) 2026-09-14 15:24:32 -04:00
docs feat(vulkan): add vk_quality config option (#5783) 2026-09-28 23:44:53 -04:00
gh-pages-template feat(macos): add gamepad support using libvirtualhid (#5807) 2026-09-27 16:20:34 -04:00
packaging build(deps): bump packaging/linux/flatpak/deps/flatpak-builder-tools from de2225a to 41c20aa (#5776) 2026-09-22 16:36:48 -04:00
scripts fix(scripts): bump gcc pin to 15 for Arch Linux (#5760) 2026-09-20 21:37:01 -04:00
src chore(linux/nvenc): document libavcodec HEVC behavior (#5691) 2026-09-30 22:53:43 -04:00
src_assets chore(l10n): update translations (#5840) 2026-09-30 20:49:46 -04:00
tests feat(web): add file extension validation to file browser modal (#5524) 2026-09-30 20:47:49 -04:00
third-party build(deps): bump third-party/libvirtualhid from 2db2cc2 to b54a7c2 (#5838) 2026-09-30 20:49:21 -04:00
tools feat(logging): rotating log files (#5485) 2026-08-07 21:12:25 -04:00
.clang-format chore: update global workflows (#4216) 2025-08-30 23:09:06 -04:00
.dockerignore build(linux): add common build script (#2946) 2024-08-03 20:04:26 -04:00
.gitattributes ci: use actionlint and problem matchers (#4116) 2025-07-29 22:08:30 -04:00
.gitignore docs: migrate documentation to Dockle (#5749) 2026-09-20 19:17:45 -04:00
.gitmodules docs: migrate documentation to Dockle (#5749) 2026-09-20 19:17:45 -04:00
.prettierrc.json Fixed Formatting of HTML pages, added Prettier Support 2021-08-17 19:12:15 +02:00
.readthedocs.yaml chore(deps): update dependency node to v26 (#5790) 2026-09-24 10:11:48 -04:00
.rstcheck.cfg Documentation Update: Add linux ssh guide (#1527) 2023-09-14 13:42:35 -04:00
.sonarcloud.properties chore(sonar): ignore submodules (#5390) 2026-07-08 10:27:31 -04:00
AGENTS.md docs: update AGENTS.md (#5834) 2026-09-29 18:14:08 -04:00
CMakeLists.txt feat(macos): add gamepad support using libvirtualhid (#5807) 2026-09-27 16:20:34 -04:00
crowdin.yml chore(crowdin): set commit message (#5160) 2026-05-21 20:18:15 -04:00
docker-bake.hcl build(Linux): add Ubuntu 26.10 Docker bake target (#5622) 2026-09-12 12:41:50 -04:00
DOCKER_README.md docs: migrate documentation to Dockle (#5749) 2026-09-20 19:17:45 -04:00
dockle.toml chore(deps): update dependency @lizardbyte/shared-web to v2026.930.34219 (#5836) 2026-09-30 20:48:20 -04:00
LICENSE Create LICENSE 2020-02-09 22:54:06 +01:00
NOTICE NOTICE file added with Steam trademarks notice 2022-02-03 22:15:13 +01:00
package-lock.cmake chore(deps): move boost to CPM and bump to 1.92 (#5730) 2026-09-15 20:14:58 -04:00
package-lock.json chore(deps): update dependency @lucide/vue to v1.49.0 (#5837) 2026-09-30 20:48:46 -04:00
package.json chore(deps): update dependency @lucide/vue to v1.49.0 (#5837) 2026-09-30 20:48:46 -04:00
pyproject.toml chore: Remove setuptools from glad dependencies (#5392) 2026-07-08 16:04:52 -04:00
README.md feat(macos): add gamepad support using libvirtualhid (#5807) 2026-09-27 16:20:34 -04:00
renovate.json chore: update global workflows (#5126) 2026-05-15 18:53:56 -04:00
sonar-project.properties chore(sonar): ignore submodules (#5390) 2026-07-08 10:27:31 -04:00
sunshine.ico Update sunshine.ico 2022-03-15 22:30:01 -04:00
sunshine.png Remove white background from png logo 2022-04-28 18:20:53 -04:00
sunshine.svg add tray icon (#1035) 2023-03-15 16:30:18 -04:00
uv.lock chore(deps): lock file maintenance (#5823) 2026-09-28 12:35:58 -04:00
vite.config.js feat(macos): add gamepad support using libvirtualhid (#5807) 2026-09-27 16:20:34 -04:00
vitest.config.js test(web-ui): add tests and coverage (#5736) 2026-09-16 12:56:35 -04:00

Sunshine icon

Sunshine

Self-hosted game stream host for Moonlight.

GitHub stars GitHub Releases Docker GHCR Flathub installs Flathub Version Winget Version GitHub Workflow Status (CI) GitHub Workflow Status (localize) Codecov SonarCloud

ℹ️ About

Sunshine is a self-hosted game stream host for Moonlight. Offering low-latency, cloud gaming server capabilities with support for AMD, Intel, and Nvidia GPUs for hardware encoding. Software encoding is also available. You can connect to Sunshine from any Moonlight client on a variety of devices. A web UI is provided to allow configuration, and client pairing, from your favorite web browser. Pair from the local server or any mobile device.

LizardByte has the full documentation hosted on Read the Docs

🎮 Feature Compatibility

Gamepad Emulation
Feature FreeBSD Linux macOS Windows
What type of gamepads can be emulated on the host.
Clients may support other gamepads.
Generic 🟡1 ✅ ✅2 ✅3
DualShock / DS4 (PlayStation 4) 🟡1 ✅ ✅2 ✅3
DualSense / DS5 (PlayStation 5) 🟡1 ✅ ✅2 ✅3
Nintendo Switch Pro 🟡1 ✅ ✅2 ✅3
Xbox 360 🟡1 ✅ ✅2 ✅3
Xbox One 🟡1 ✅ ✅2 ✅3
Xbox Series 🟡1 ✅ ✅2 ✅3

Note

1 Missing motion, touchpad input, battery state, RGB LEDs, adaptive triggers, and raw HID output reports. 2 Requires the separately installed and licensed Virtual HID Broker. 3 All profiles are available through the separately installed and licensed Virtual HID Broker. Xbox 360 and DualShock 4 can also use ViGEmBus.

Encoding API
Encoding API GPU Vendor FreeBSD Linux macOS Windows
AMF AMD ➖ ➖ ➖ ✅
Media Foundation Qualcomm ➖ ➖ ➖ ✅
NVENC NVIDIA ➖ ✅ ➖ ✅
QuickSync Intel ➖ ➖ ➖ ✅
VAAPI AMD ✅ ✅ ➖ ➖
Intel ✅ ✅ ➖ ➖
NVIDIA ➖ ✅ ➖ ➖
Video Toolbox Apple ➖ ➖ ✅ ➖
Intel ➖ ➖ ✅ ➖
Vulkan Video AMD 🟡 ✅ ➖ ➖
Intel 🟡 🟡 ➖ ➖
NVIDIA ➖ 🟡 ➖ ➖
Software Any ✅ ✅ ✅ ✅
Screen Capture
Capture Method FreeBSD Linux macOS Windows
DXGI Desktop Duplication ➖ ➖ ➖ ✅
KMS/DRM ✅ ✅ ➖ ➖
NvFBC (X11 only) ➖ ✅ ➖ ➖
ScreenCaptureKit ➖ ➖ ✅ ➖
Wayland (wlroots) ✅ ✅ ➖ ➖
Windows.Graphics.Capture ➖ ➖ ➖ 🟡
  ↳ Portable ➖ ➖ ➖ ✅
  ↳ Service ➖ ➖ ➖ ❌
X11 ✅ ✅ ➖ ➖
XDG Desktop Portal ✅ ✅ ➖ ➖
KWin Screencast ✅ ✅ ➖ ➖
Capture → Encoding Compatibility (Linux/FreeBSD)
Capture Method VAAPI Vulkan Video NVENC (CUDA) Software
KMS/DRM ✅ ✅ ✅ ✅
NvFBC ❌ ❌ ✅ ❌
Wayland (wlroots) ✅ ❌ ✅ ✅
X11 ✅ ❌ ✅ ✅
XDG Desktop Portal ✅ ✅ ✅ ✅
KWin Screencast ✅ ✅ ✅ ✅

Legend: ✅ Supported | 🟡 Partial Support | ❌ Not Yet Supported | ➖ Not Applicable

🖥️ System Requirements

Warning

These tables are a work in progress. Do not purchase hardware based on this information.

Minimum Requirements
Component Requirement
GPU AMD: VCE 1.0 or higher, see: obs-amd hardware support
Intel:
  FreeBSD/Linux: VAAPI-compatible, see: VAAPI hardware support
  Windows: Skylake or newer with QuickSync encoding support
Nvidia: NVENC enabled cards, see: nvenc support matrix
CPU AMD: Ryzen 3 or higher
Intel: Core i3 or higher
RAM 4GB or more
OS FreeBSD: 15.1+
Linux/Debian: 13+ (trixie)
Linux/Fedora: 43+
Linux/Ubuntu: 22.04+ (jammy)
macOS: 14.2+
Windows: 11+
Network Host: 5GHz, 802.11ac
Client: 5GHz, 802.11ac
4k Suggestions
Component Requirement
GPU AMD: Video Coding Engine 3.1 or higher
Intel:
  FreeBSD/Linux: HD Graphics 510 or higher
  Windows: Skylake or newer with QuickSync encoding support
Nvidia:
  FreeBSD/Linux: GeForce RTX 2000 series or higher
  Windows: Geforce GTX 1080 or higher
CPU AMD: Ryzen 5 or higher
Intel: Core i5 or higher
Network Host: CAT5e ethernet or better
Client: CAT5e ethernet or better
HDR Suggestions
Component Requirement
GPU AMD: Video Coding Engine 3.4 or higher
Intel: HD Graphics 730 or higher
Nvidia: Pascal-based GPU (GTX 10-series) or higher
CPU AMD: Ryzen 5 or higher
Intel: Core i5 or higher
Network Host: CAT5e ethernet or better
Client: CAT5e ethernet or better

❓ Support

Our support methods are listed in our LizardByte Docs.

💲 Sponsors and Supporters

Sponsors

👥 Contributors

Thank you to all the contributors who have helped make Sunshine better!

GitHub

GitHub contributors

CrowdIn

CrowdIn contributors