Thorium-Sim / thorium-nova

Next-generation Spaceship Controls
https://thoriumsim.com
Apache License 2.0
342 stars 14 forks source link

thorium:// URL scheme support #52

Open alexanderson1993 opened 2 years ago

alexanderson1993 commented 2 years ago

Is your feature request related to a problem? Please describe.

You know what'd be cool? If there were some kind of website registry of active Thorium servers that folks can easily connect to. This is obviously a much bigger feature that should be discussed and planned, but a small piece of it would be support for a thorium:// URL scheme.

This would make it possible for someone to click a link to open the Thorium Electron kiosk and automatically connect to the remote server. (Of course, the registry would also have regular http(s):// links which would just open in a new tab).

Setting up URL schemes in Electron isn't too complicated, I don't think. Docs here. It just needs to verify that the link goes to an actual Thorium server, and then connect the Electron app to that Thorium server.

Arcadianer commented 2 years ago

I could see this being very useful for Space Centers, but for average players who would probably rely on the browser version rather than the electron version this might be a bit overkill. But it's certainly something one could look into.

alexanderson1993 commented 2 years ago

You might be right, but it's also a small enough feature that it shouldn't be too much work to implement.