11

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?

5
  • this is not possible, as electron does not provides way to remote its ui into browser.
    – OJ Kwon
    Commented Nov 15, 2018 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
    Commented Nov 15, 2018 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
    Commented Nov 16, 2018 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.
    – user4639281
    Commented Nov 16, 2018 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. Commented Apr 20, 2023 at 15:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.