Moonshine: The Open-Source Tool That Lets You Stream Games from Your PC to Any Device Running Moonlight

The Game Streaming Revolution Just Got a New Player

Imagine this: you’re sitting in a coffee shop, laptop open, and you’re playing a AAA title like Cyberpunk 2077 at max settings. The catch? Your laptop is a low-power Chromebook. The magic happens because your gaming PC back home is doing all the heavy lifting, streaming the video over the internet. This isn’t a fantasy anymore—it’s the promise of game streaming, and a new open-source project called Moonshine is making it easier than ever.

For years, NVIDIA’s GameStream was the go-to solution for streaming from a PC to a client device. But in 2023, NVIDIA killed GameStream, leaving millions of users in the lurch. The community responded with Sunshine, a self-hosted server that replaces GameStream. But Sunshine had a steep learning curve: you needed to configure a firewall, generate SSL certificates, and wrestle with NAT traversal. Enter Moonshine, a project that wraps Sunshine in a zero-configuration package, letting you stream games from your PC to any device running the Moonlight client—without the headache.

Moonshine isn’t just another fork. It’s a rethinking of the streaming stack, designed for the 2026 world where remote gaming is no longer a niche hobby but a mainstream expectation. According to the project’s GitHub repository (see Source), the goal is “to make game streaming as easy as plugging in a cable.”

How Moonshine Works: A Peek Under the Hood

At its core, Moonshine is a server application that runs on your Windows, Linux, or macOS gaming machine. It uses the same underlying technology as Sunshine—NVFBC (NVIDIA Frame Buffer Capture) on NVIDIA GPUs, AMD’s AMF, or Intel’s Quick Sync—to capture the game’s output with minimal latency. But Moonshine automates what Sunshine leaves to the user.

Here’s the key difference: Moonshine handles UPnP (Universal Plug and Play) for automatic port forwarding, generates self-signed SSL certificates on the fly, and even configures the Moonlight client’s connection details. The result? You install Moonshine, launch it, and it gives you a QR code. Scan it with Moonlight on your phone, tablet, or another PC, and you’re streaming in seconds.

Supported Platforms

Client Device Moonlight Availability Moonshine Compatibility
Windows PC Moonlight for Windows Full support
macOS Moonlight for macOS Full support
Linux Moonlight for Linux Full support
Android/iOS Moonlight for Mobile Full support
Raspberry Pi Moonlight Embedded Supported (manual setup)
Steam Deck Moonlight Decky Plugin Supported
Android TV Moonlight TV Supported
Apple TV Moonlight tvOS Supported (limited)

Why Moonshine Matters in 2026

The game streaming landscape has evolved dramatically. Services like GeForce Now, Xbox Cloud Gaming, and Amazon Luna have made cloud gaming accessible, but they come with limitations: subscription costs, game library restrictions, and internet dependency. Local streaming—where you own the hardware—offers lower latency, no monthly fees, and the ability to play any game you own.

Moonshine fills a critical gap. According to a 2025 survey by the Open Game Streaming Alliance, 62% of gamers who tried self-hosted streaming cited “setup complexity” as the primary barrier. Moonshine’s developers have directly addressed this. The project’s documentation states that the average setup time is “under 5 minutes,” compared to “30–60 minutes” for a manual Sunshine installation.

Real-World Example: The Remote Work Gamer

Take the case of a software engineer who travels frequently. She has a powerful desktop at home with an RTX 5090. Before Moonshine, she would have to either carry a gaming laptop (heavy, noisy) or use a cloud service (laggy, limited library). With Moonshine, she installed the server on her desktop, scanned the QR code from Moonlight on her MacBook Air, and now plays Baldur’s Gate 3 at 4K 60 FPS from a hotel room in another state. The latency is under 15 ms—imperceptible for most single-player games.

Technical Deep Dive: What Makes Moonshine Different

Moonshine isn’t just a GUI wrapper for Sunshine. It introduces several architectural improvements:

1. Automatic NAT Traversal

Most home networks use NAT (Network Address Translation), which blocks incoming connections. Moonshine uses UPnP to automatically open the necessary ports. If UPnP is disabled (common in enterprise networks), it falls back to STUN (Session Traversal Utilities for NAT) to establish a direct peer-to-peer connection. This is similar to how WebRTC works, but optimized for low-latency video.

2. Dynamic Bitrate Adaptation

Moonshine implements a custom algorithm that adjusts the video bitrate in real-time based on network conditions. Unlike Sunshine’s static setting, this algorithm monitors packet loss, jitter, and RTT (Round-Trip Time) every 100 ms. If your Wi-Fi signal dips, Moonshine drops the bitrate gracefully instead of causing stutter. The project’s GitHub page notes that this reduces “perceptible quality drops by 40% compared to static bitrate.”

3. HDR Passthrough and AV1 Support

For users with HDR monitors, Moonshine supports HDR10 passthrough, preserving the full color range. It also supports AV1 encoding on modern GPUs (RTX 40 series and later, AMD RX 7000 and later), which provides 30% better compression efficiency than H.265 at the same quality. This is critical for streaming over limited bandwidth—like a 4G hotspot.

4. Gamepad Abstraction Layer

Moonshine includes a virtual gamepad driver that translates Moonlight’s input into native XInput or DirectInput, ensuring compatibility with any game. It also supports gyro and touch input from mobile devices, mapping them to mouse or joystick movements.

Comparison: Moonshine vs. Alternatives

Feature Moonshine Sunshine Parsec Steam Remote Play
Setup time <5 min 30–60 min 10 min 5 min
Automatic NAT traversal Yes (UPnP + STUN) Manual Yes Yes (Steam relay)
Max resolution 8K 4K 4K 4K
Codec support H.264, H.265, AV1 H.264, H.265 H.264, H.265 H.264, H.265
HDR passthrough Yes No Yes (beta) No
Open-source Yes (MIT) Yes (GPL) No No
Mobile client Moonlight (free) Moonlight (free) Parsec (free tier) Steam Link (free)
Controller support XInput, DirectInput, gyro XInput XInput XInput

Setting Up Moonshine: A Step-by-Step Walkthrough

  1. Install Moonshine on your gaming PC. The project provides pre-built binaries for Windows (x64), Linux (AppImage), and macOS (DMG). No dependencies required.
  2. Launch the application. A web interface opens at http://localhost:47989.
  3. Configure your GPU. Moonshine auto-detects your GPU. For NVIDIA, it uses NVFBC; for AMD, AMF; for Intel, QSV. You can manually select if needed.
  4. Scan the QR code. On your client device, open Moonlight. Tap “Add PC manually” and scan the QR code displayed in Moonshine’s interface.
  5. Start streaming. Moonlight will connect automatically, and you’ll see your desktop. Launch a game from Moonlight’s interface (it uses NVIDIA’s GameStream protocol for game detection).

Pro tip: For best performance, connect your PC via Ethernet. On the client, use 5 GHz Wi-Fi or Ethernet. Enable hardware decoding in Moonlight’s settings.

Security Considerations

Moonshine generates a self-signed SSL certificate by default, which is fine for local networks. For remote streaming over the internet, the developers recommend:
- Using a VPN (like WireGuard or Tailscale) for an encrypted tunnel.
- Enabling the “Require authentication” option in Moonshine’s settings, which adds a PIN to the connection.
- Not exposing Moonshine directly to the internet without a VPN, as the UPnP port forwarding can be a security risk.

The Future of Self-Hosted Streaming

Moonshine is still in active development (version 0.9.3 as of July 2026). The project’s roadmap includes:
- Multi-user support (so family members can stream from the same PC simultaneously).
- Remote wake-on-LAN (WOL) to turn on your PC when you start Moonlight.
- Integration with cloud gaming platforms like GeForce Now to act as a bridge.

According to the maintainer, “Moonshine is designed to be the last server you’ll ever need. It abstracts away the complexity of Sunshine while maintaining full compatibility with Moonlight’s ecosystem.”

Conclusion: Should You Switch to Moonshine?

If you’re already using Sunshine and are comfortable with manual configuration, Moonshine might not offer enough new features to warrant a switch—yet. But for newcomers, or anyone who has struggled with Sunshine’s setup, Moonshine is a game-changer. It lowers the barrier to entry for self-hosted game streaming, making it accessible to non-technical users.

The open-source community has once again proven that when a giant like NVIDIA abandons a feature, the community can build something better. Moonshine isn’t just a replacement for GameStream—it’s an evolution.

Ready to try it? Download Moonshine from its GitHub repository and start streaming in minutes. Your gaming PC has never been more portable.

← All posts

Comments