4 ms·
This looks like it hasn't been maintained in years but there's a modern equivalent in NodeGUI [1] which also has React/Svelte/Vue implementations. Unfortunately
by throwup238 3y ago
This looks like it hasn't been maintained in years but there's a modern equivalent in NodeGUI [1] which also has React/Svelte/Vue implementations. Unfortunately it requires a custom build of Node that merges the libuv and Qt6 event loops so YMMV.
It actually inspired me to write my own implementation with Svelte on top of QuickJS and Qt Widgets but the task of wrapping the entire Qt6 API in Rust proved to be intractable once I found out that most methods weren't marked Q_INVOKABLE and thus couldn't be called via reflection (requiring manual wrapping). Providing a `Document.createElement` API that created Qt Widgets with working attributes and event handling worked surprisingly well though! I wonder if using GPT4 to automate the code wrapping it'd be feasible now.
[1] https://github.com/nodegui/nodegui https://github.com/nodegui/nodegui
- lioeters 3y agoThere's another project called "Node GUI", which provides Node.js bindings for Yue, a cross-platform GUI library by the same author who originally created Electron. https://github.com/yue/node-gui https://github.com/yue/node-gui https://libyue.com/docs/latest/js/index.html https://libyue.com/docs/latest/js/index.html