nodegui
Slint
Our great sponsors
nodegui | Slint | |
---|---|---|
17 | 60 | |
8,729 | 3,094 | |
0.6% | - | |
7.6 | 9.9 | |
about 2 months ago | about 2 years ago | |
C++ | Rust, C++, JavaScript | |
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!
[1] https://github.com/nodegui/nodegui
- Build performant, native and cross-platform desktop apps with Node.js and CSS
-
Does anybody have trouble running NodeGui projects? Does 'nodegui-starter' repo work for you?
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.
-
[Hiring] Create UI to Accept User Input using NodeGui to create a Native Desktop Application
Use NodeGui (or some equivalent tool) for this. Source: https://docs.nodegui.org/ This is needed because this entire project will run natively, by that I mean it will run with no browser, no local host and it no internet connection.
-
Neutralinojs - Alternativa para o Electron
NodeGUI
- NodeGui โ Build performant, native, cross platform desktop apps
-
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/
Slint
-
Slint VS slint - a user suggested alternative
2 projects | 17 Oct 2023
-
Will Qt support the Rust language by default? (just curiosity)
As an anecdote, the three top contributors to sixtyfps are ex-Qt people. I think it is not anecdotal that there is at least some degree of overlap and competition between Rust and C++, and that this is a market that surely The Qt Company is watching.
-
BeeWare โ write Python, run as native everywhere
SixtyFPS (https://sixtyfps.io/) is in progress for Rust, but it is still early days. It also does not technically use a native toolkit (it uses Qt), but I believe that might be on roadmap. For traditional GUI apps, I think the lack of a table or tree widget is the most limiting for the time being. They have stated they intend to remedy that.
-
What are the best GUI libraries for a potentially โseriousโ/large project?
The most promising GUI hasn't been posted here, SixtyFPS. It's in it's early stages and not FOSS, but it's built by some ex-QT cats and has a lot of potential.
-
Is there a reliable and documented GUI library out there?
People have been recommending https://sixtyfps.io/ to me.
- Images in sixtyfps
-
Is it worth writing a GUI toolkit in Rust?
There is already a project to make a Qt like GUI toolkit in Rust: https://sixtyfps.io/ It is really similar to Qt https://sixtyfps.io/releases/0.1.5/docs/rust/sixtyfps/index.html
-
Tauri โ Electron alternative written in Rust
People are doing that too. https://sixtyfps.io/ is basically a Qt clone in Rust, actually developed by previous Qt developers.
-
I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small!
spdlog, a pretty useful and more and more commonly used logging library for C++.\ SixtyFPS, an emerging GUI library for Rust, but you can use it in multiple languages. It uses OpenGL or Qt currently as backend (well, it's a new library and they wanted two from the get-go to make sure their abstractions are done right/well enough). They started a company this year for it too.
-
Why I choose Electron even when I wanted to use QT
Just so some are not aware, there's a new project called sixtyfps by some people who were in the Qt world for long. I didn't take a deep dive into it but it looks promising.
What are some alternatives?
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
neutralinojs - Portable and lightweight cross-platform desktop application development framework
iced - A cross-platform GUI library for Rust, inspired by Elm
QtScrcpy - Android real-time display control software
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
awesome-electron-alternatives - A curated list of awesome Electron alternatives.
FLTK - FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
druid - A data-first Rust-native UI design toolkit.
Signal-Desktop - A private messenger for Windows, macOS, and Linux.
gtk4-rs - Rust bindings of GTK 4