zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8.04k stars 535 forks source link

You should use the devtools protocol and not websockets #170

Open frank-dspeed opened 2 years ago

frank-dspeed commented 2 years ago

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.