safijari / sunshine-deck

Just some instructions on how to run sunshine on the Steam Deck using the flatpak
26 stars 1 forks source link

Sunshine Decky Plugin #8

Closed s0t7x closed 5 months ago

s0t7x commented 6 months ago

Hi I came across the use-case of streaming game mode with sunshine. I ended up writing a simple decky plugin for toggling sunshine in game mode.

Right now the user needs to have the sunshine flatpak installed and configured as well as devices paired.

My future roadmap for this plugin includes including Send-PIN functionality and opening the webui in an embedded browser window.

Decky Sunshine Plugin Repo

safijari commented 6 months ago

That's amazing!

I suggest submitting it to the Decky store. I can help with testing.

Also you could in theory automatically download the flatpak by using a subprocesses command, or expose a button for it.

s0t7x commented 6 months ago

Thanks! I want to make it a straight out-of-the-box experience. I am currently working on a way to signin to the webui and send PINs for pairing. As soon as this is working the next step will be implementing an automatic installation and support the sunshine "welcome flow".

Testing would be very handy as iam not actually used to python and i currently often crash my plugin as well as decky. You can find the cleaned up and latest source in the "controls" branch.

Please don't hestitate to contribute to the project!

safijari commented 5 months ago

The plugin is on the testing store now and works perfectly.