Introduction
Electron is great, but if you are looking for alternative, you may want to take a look at Avernakis Nodejs: https://qber-soft.github.io/Ave-Nodejs-Docs/.
Avernakis Nodejs is similar to NodeGui, which is driven by Qt. However, Avernakis is a new C++ GUI library: Ave SDK. With napi, Avernakis Nodejs can utilize these C++ APIs.
Avernakis C++
Ave SDK is a platform independent C++ library for developing various apps. It features a rich set of UI components.
All components:
Avernakis Nodejs
Repo: https://github.com/qber-soft/Ave-Nodejs
Currently, Avernakis Nodejs is only a subset of Avernakis C++, but it really looks promising. There are 20+ components available now:
The demo app:
How it works?
Use napi(allows you use JavaScript to invoke C++ API), for example, the button implementation in C++:
Build a node addon, then we can use these APIs in JavaScript:
For developer, the code of basic button usage: