I don’t use Electron apps due to privacy concerns, so I was thinking about creating a Java app which displays the HTML generated or served by Node.js in a JavaFX web view. Being based on Java, such an application would be cross-platform, too, while avoiding the privacy issues.
I have already experimented with showing some other app built with Node.js in a JavaFX web view. This works in general, but some details like favicon, handling window resize, data exchange with Javascript etc. would have to be addressed.
Fixing such details might get frustrating, so I’m planning on making a proper JavaFX client using the core library. I’ll have to check if I can just extract and use the bindings from the Android app, i.e. find which classes are needed and if I have to strip out Android specifics from them.