RFC: Sunshine API and Web UI #7
Replies: 5 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Regarding item 1. Is it possible to have this configurable? Alternatively is it possible to run both http and https simultaneously (obviously on two different ports)? I personally don't think https is required on local network and there are many noteable self hosted web servers that run on http locally. Regarding item 3. Is it possible to have the api return a list of options including:
I did something similar in python, but getting some info was quite challenging. Especially regarding details of the monitors, graphics card, sound cards, etc. I hard coded each option in though, would be much nicer to pull from an api. Regarding item 5. That sounds cool. If importing games would be automatic, it should be off by default. |
Beta Was this translation helpful? Give feedback.
-
I assume that you're talking about configuration API, not GFE one.
Do you also plan to continue to use Simple-Web-Server component ? The submodule is still pointing to Loki's repo. |
Beta Was this translation helpful? Give feedback.
-
why not pivot to (well documented) text file configs and a simple local utility for pin pairing? This would eliminate the whole need for an httpd entirely, and could be used for other aspects, thus neatly resolving 1 and 5 as well. Before we start talking game-library importing though, there's the rather serious problem that sunshinesvc configuration currently launches games as the TrustedInstaller user. For users of the service, it is entirely inadvisable to launch anything other than Desktop, at the moment... |
Beta Was this translation helpful? Give feedback.
-
API suggestion: |
Beta Was this translation helpful? Give feedback.
-
Hi, at the moment Sunshine exposes both an HTTPS API (With basic authentication) and a Web UI made by a few static files wrapped toghther.
The problem is that HTTPS on Local Addresses is a very complex topic that would require many workaround for not showing the self-signed error message. Also I noticed people want to have an API for integration for Sunshine (which is already available - but with the limitations I talked earlier and it's undocumented at the moment).
I would like to make these changes, but I would love to have your feedback on the matter:
What do you think about these changes?
Beta Was this translation helpful? Give feedback.
All reactions