Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Quick history: Nvidia used to provide their own in-home streaming solution called GameStream. This was built right into their GPU drivers and was fairly easy to set up. It had 2 issues.
Programmers being programmers decided to make open-source alternatives to both of these. First came Moonlight as a better streaming frontend on PC, Android, Android TV etc. Sunshine was also developed as a version of the backend that was hardware agnostic.
Nvidia then decided GameStream was distracting too much from Geforce Now and removed it from their drivers. This was widely regarded as a 'dick move'. Thankfully, the previous 2 projects already existed, and the new interest in them hastened development.
This is good to know because coming into this new, you might wonder why both projects' documentation mentions GameStream a lot. It's legacy and dictated the goals of the projects.
For actual setup...
Start with Sunshine on your actual gaming PC. The currently maintained version of the project can be found here.
Sunshine has a pretty clean setup so just follow its steps and you should be good to get going initially. I personally set it up as a Windows service so it starts at boot when I WoL my PC. It might also request to install a controller driver which I'd personally let it do to avoid any input headaches.
Moonlight is even easier depending on the device you're using. It's straight up on the Google Play Store and I assume other places. The most technical part of the setup is that it might request some specific port-forwards, but I'd assume if you're on this community, then you won't have a problem with that. To get your Sunshine and Moonlight to communicate, you'll need to get ML to ping the IP of your SS PC and produce a link code which you then input into the SS web UI.
If you're wanting to play on your PC remotely, then that's also possible! You'll either want to just expose the requested Moonlight ports publicly and connect to your public IP / domain name, or (what I do) setup a Wireguard VPN on your local network to connect to (I don't like exposing too many ports).
I didn't proofread this essay so sorry for any nonsense I've written.