We use Electron exclusively for GUI. The real app is a Go binary with a GRPC API. It’s all fully isolated, so if you don’t want to touch any Electron, you don’t have to. Use the API to build a CLI app, for example.
To be more specific, we have two Go binaries that we ship, one is the aether-backend that talks to the network, the other is the aether-frontend that compiles the content coming from the network into a social graph. Both are properly isolated and talk to each other only over declared GRPC APIs. I’ve tried very hard to keep it hackable that way.
0. https://www.npmjs.com/package/@grpc/grpc-js 1. https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
That's a great architecture! I look forward to hacking on it when I have the time!
Is Electron a hard dependency or is there a core lib that can be wrapped by the GUI framework of choice? And several hours of initial setup is pretty scary . Maybe providing a dev docker, snap or flatpak could get devs up and running much faster than that.
Other than that, I love the idea of a decentralized forum. If there are specs I'll have a look at them to see how the intricacies of operating something like is were solved.