10

I’m interested in taking a Electron project, running it on a server, and connecting to the UI through a browser on my client.

Are there any existing projects that help with building something like this? Or is this functionality in some way built into the Electron framework?

mmnormyle
  • 763
  • 1
  • 8
  • 18
  • this is not possible, as electron does not provides way to remote its ui into browser. – OJ Kwon Nov 15 '18 at 18:23
  • 1
    if `ui` means non-native part but only for HTML contents, that may able, but then that's normal web page. – OJ Kwon Nov 15 '18 at 18:24
  • Not possible to my knowledge, but you could in theory use Express or another Node.js web server, running within Electron on the server, to deliver content to a web browser remotely. Don't know how well it would scale! – GrahamMc Nov 16 '18 at 13:22
  • Electron is the chrome renderer. Other than that it is just a window and a web-app that is rendered by the chrome renderer. –  Nov 16 '18 at 23:30
  • This would be awesome for something like Logseq that stores data on the filesystem so you could access it from any machine. Authn/Authz would be a little tricky but setting up basic auth or even mTLS should be pretty easy if you or a small team are the only users. If you needed to scale, there are better ways anyway. – Freedom_Ben Apr 20 '23 at 15:23

0 Answers0