nodegui
Wt
Our great sponsors
nodegui | Wt | |
---|---|---|
17 | 41 | |
8,702 | 1,614 | |
0.3% | 1.1% | |
7.6 | 8.9 | |
24 days ago | 23 days ago | |
C++ | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nodegui
-
Brig: A user interface toolkit for Node.js, which is based on Qt for rendering
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!
-
Does anybody have trouble running NodeGui projects? Does 'nodegui-starter' repo work for you?
1: Can't run with the repo 'nodegui-starter' #972
Hi, so this NodeGui library for building apps with native components is something I really want to get into, but, it does not work for me.. so I am starting this thread to check with yous (I depleted google results) if any one of you have tips or workarounds I can use. I wish to build a desktop app, but I really do not want to bundle a web browser for that purpose and NodeGui seems perfect.
-
Neutralinojs - Alternativa para o Electron
NodeGUI
-
Electron Adventures: Episode 75: NodeGui React
Let's continue exploring Electron alternatives. This time, NodeGui. NodeGui uses Qt5 instead of Chromium, so we'll be leaving the familiar web development behind, but it tries to not be too far from it, as web development is what everyone knows.
- How do you create a cross-platform GUI without using Electron?
-
Are we GUI Yet? The state of building user interfaces in Rust
(Disclaimer: My knowledge of Rust very limited, but I have quite a bit of experience with getting Qt/KDE classes to work with other languages.)
You are absolutely right. The effort to be acceptable bindings for Qt would be a tiny fraction of the cost compared to building a whole new Rust native GUI library.
Qt is huge set of libraries with an equally huge API. But there are a lot of shortcuts and smart ways of approaching the problem to get what you want out of Qt for minimum effort.
Bindings like PyQt and even PySide go for the nuclear option of generating bindings for the whole Qt API and trying to match the C++ API in style too. This is an absolutely massive huge task. Also, getting people to contribute to an open source bindings project is hard. Getting people to contribute to a bindings generator is even harder.
NodeGui https://github.com/nodegui/nodegui, Qt bindings for Nodejs, on the other hand takes a very different approach which in one way is low-tech but I think is actually very smart. I'll summerise the differences:
* It focuses on Qt Widgets first. This greatly reduces the amount of work to the parts that people actually need. (BTW, if you just want QML and Rust back-end then Jos van den Oever's work at https://invent.kde.org/sdk/rust-qt-binding-generator has probably got you covered already.)
-
Todo list of development tasks
There is actually a new GUI framework based out of Qt (a C++ GUI framework) that I have found recently : https://docs.nodegui.org/
-
Signal Desktop Beta 5.0.0 launches, bringing support for creating and editing groups, improved voice message playback and cleaned up visuals
How about porting to Nodegui which is javascript qt and might allow reusing all the non-ui bits?
I'd probably start by looking at Nodegui which is a qt based gui on top of node so much if the javascript code could be reused.
Wt
-
What C++ library do you wish existed but hasn’t been created yet?
Take a look at Wt Webtoolkit. It can do exactly this (and a lot more) https://www.webtoolkit.eu/wt
-
Nui C++ User Interface Library
How does this compare with WebToolkit?
- Has anyone embedded a web-UI into a C++ project?
-
Cheerp 3.0: The most advanced C++ compiler for the Web now permissively licensed
How is this much different than wt [1] or compiling qt to emscripten? Sincere question.
- Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
- Uses of Rust and C++ that only one has?
-
Who is using C++ for web development?
https://www.webtoolkit.eu/wt (has support for HTTP/S)
Not sure who uses but there's an interesting toolkit for it: https://www.webtoolkit.eu/wt
-
Ask HN: What's the best source code you've read?
Linux Kernel source is very good.
Wt[0] source code is also good.
-
Ask HN: Who is using C++ as the main language for new project?
Apparently they're using Wt, "webtoolkit".
> Wt is a web GUI library in modern C++. Quickly develop highly interactive web UIs with widgets, without having to write a single line of JavaScript.
What are some alternatives?
Crow - Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
TreeFrog Framework - TreeFrog Framework : High-speed C++ MVC Framework for Web Application
CppCMS - CppCMS Framework
drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
neutralinojs - Portable and lightweight cross-platform desktop application development framework
Cutelyst - A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
QDjango - QDjango, a Qt-based C++ web framework
POCO - The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
QtScrcpy - Android real-time display control software
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.