Pacharapol Withayasakpunt
Posted on May 12, 2020
That is, webview; but the performance varies. Also, executable sizes.
Performant WebView alternatives to Electron
Pacharapol Withayasakpunt ・ Mar 9 ・ 1 min read
#discuss
#webdev
#desktop
#electron
I know there is Neutralino.js, but some options are not customizable to my liking. Also, I need a complex backend solution anyway, so I created k-neu.
patarapolw / k-neu
Kotlin version of Neutralino.js
Now, putting in a native window is very simple,
Get JAR files here, https://github.com/patarapolw/k-neu/releases
Create config.json and put in alongside the JAR file of your OS.
{
"title": "app1",
"url": "index.html",
"maximized": true
}
Or,
{
"title": "app2",
"server": ["java", "-jar", "server.jar"],
"url": "http://localhost:${PORT}",
"maximized": true
}
Of course, you can just edit App.kt directly. So that you can run server without multiple JAR files.
Now, you still have to ask the client to install Java Runtime Environment (JRE).
💖 💪 🙅 🚩
Pacharapol Withayasakpunt
Posted on May 12, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.