Hello my name is Frank Lemanschik i am a german Engineer and i am working on exact the same project but with a other runtime not go based. But i guess my Studies will help you.
i try to create https://github.com/open-pwa/open-pwa and your welcome to join that effort as it would be great if we would implement also go runners with the same protocol and api.
Open Pwa is in it's Core about Connections between the Host System and the Browser so like your project.
Your using Websockets at present to do the Message Exchange while that works it is highly insecure under many situations and is not useable at scale on a single machine like a Desktop PC that whants to install many diffrent apps.
I Guess your using lorca as foundation "Electron" Replacement
It is Designed to get a Platform to Install and Run Apps it offers the Installer and User Interactions that are needed to handle Application Permissions.
It will design and work out a Api like the existing PWA one That will turn any Browser and Host Os or even only a Host Os into a Android like OS that kann install applications and give them diffrent permissions and Isolations.
open-pwa could be written in go and we could reuse and integrate your code rebranded and we could exchange patches and concepts.
Hello my name is Frank Lemanschik i am a german Engineer and i am working on exact the same project but with a other runtime not go based. But i guess my Studies will help you.
i try to create https://github.com/open-pwa/open-pwa and your welcome to join that effort as it would be great if we would implement also go runners with the same protocol and api.
Open Pwa is in it's Core about Connections between the Host System and the Browser so like your project.
Your using Websockets at present to do the Message Exchange while that works it is highly insecure under many situations and is not useable at scale on a single machine like a Desktop PC that whants to install many diffrent apps.
I Guess your using lorca as foundation "Electron" Replacement
https://github.com/GoogleChromeLabs/carlo look at this for example that is exactly what you need to implement it uses the process pipe + devtools protocol.
Some more short details about open-pwa
It is Designed to get a Platform to Install and Run Apps it offers the Installer and User Interactions that are needed to handle Application Permissions.