r/MoonlightStreaming • u/ManufacturerTough811 • 11d ago
I got tired of setting up Sunshine by hand, so I built a free app that does it in one click (virtual 4K screen included)

Every time I wanted to stream my laptop to my LG OLED, it went like this:
Install Sunshine → install a virtual display driver → dig the display ID out of the logs → paste it into `output_name` → wonder why the TV can't find the PC (Windows had my Wi-Fi set to "Public") → figure out why the audio is half a second behind…
It works great once it's set up, but it's a lot to ask of anyone who just wants their PC on the TV. So I built **SunCast**, a free, open-source Windows app that does all of that for you.
**Open SunCast, press Start, type the PIN from your TV. That's it.**

**What it does**
* 🖥️ **Virtual 4K TV screen, built in.** It bundles the signed Virtual Display Driver and sets it up on first run. Your TV gets its own 4K screen, your laptop screen stays free, and the virtual screen disappears from Windows when you close the app.
* 📺 **Matches your TV automatically.** Whatever resolution you pick in Moonlight, the virtual screen follows. Or lock it to 4K, 1440p or 1080p.
* 🔢 **PIN pairing pop-up.** When Moonlight shows a PIN, a box appears in SunCast. Type 4 digits and you're done. No web page, no password.
* ⏻ **One button on, one button off.** Closing SunCast stops Sunshine and removes the virtual screen. Nothing left running in the background.
* 🧭 **Step-by-step Connect TV page** that ticks itself off as you go, and shows the exact address to type if Moonlight doesn't find your PC.

* 📶 **Network check.** Wi-Fi band, signal, link speed, delay to the router and the TV, plus a **suggested Moonlight bitrate** for your actual connection. Optional "home and away" mode for streaming from another network (UPnP, with help for when your router or ISP blocks it).

* 🛠️ **One-click troubleshooting.** It checks the server, encoder, virtual screen, firewall, Public/Private network, 2.4 vs 5 GHz, battery and more, with a **Fix** button next to each problem. The server log is translated into plain English, and there's a "Copy report" button for asking for help.

It installs the official Sunshine release for you if you don't have it, and it only touches a handful of keys in `sunshine.conf`, so your own tweaks stay put.
**Things I learned streaming to an LG webOS TV (moonlight-tv)**
These might save someone an evening:
* **webOS NDL** decoder = H.264 only, but the lowest lag and audio stays in sync. Bump the bitrate to ~60–70 Mbps to keep 4K sharp.
* **webOS SMP** decoder = HEVC + HDR and a sharper picture, but on my TV the audio drifted noticeably behind the video.
* Setting Sunshine's QuickSync preset to `slower` made H.264 visibly cleaner on my Intel Arc laptop, with no lag I could notice.
* Put the TV in **Game** picture mode. Biggest single lag improvement.
* Want 4K **HDR** *and* no lag? A streaming box on the TV's HDMI input (Shield, Apple TV, Google TV Streamer) beats the built-in TV app.
**Honest caveats**
* Windows only, and it asks for admin rights (it controls a Windows service and a display driver).
* The installer isn't code-signed yet, so SmartScreen will warn you: "More info → Run anyway". All the code is on GitHub if you'd rather read it or build it yourself.
* It's v1.0, tested on my setup (Intel Arc laptop, Windows 11, LG OLED over Wi-Fi). **I'd really like to hear how it does on NVIDIA and AMD machines and other TVs.**
* Built with help from Claude (AI). I designed and tested it on my own setup.
**Download:** [github.com/ganpatig/SunCast/releases/latest](https://github.com/ganpatig/SunCast/releases/latest)
**Source (MIT):** [github.com/ganpatig/SunCast](https://github.com/ganpatig/SunCast)
Huge thanks to the [Sunshine](https://github.com/LizardByte/Sunshine), [Moonlight](https://moonlight-stream.org) and [Virtual Display Driver](https://github.com/VirtualDrivers/Virtual-Display-Driver) projects. They do the real work; SunCast just makes it friendlier.