nix-editor
A simple rust program to edit NixOS configuration files with just a command (by snowfallorg)
Relm4
Build truly native applications with ease! (by Relm4)
Our great sponsors
nix-editor | Relm4 | |
---|---|---|
5 | 23 | |
64 | 1,317 | |
- | 6.2% | |
2.5 | 8.7 | |
about 2 months ago | 9 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
nix-editor
Posts with mentions or reviews of nix-editor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-20.
-
SnowflakeOS - Creating a GUI focused NixOS-based distro
I don't plan on it at this moment, however, if someone finishes the packagekit backend for Nix, the appstream data I'm working on collecting would work to display icons and screenshots. Also if someone who knew qt/kirigami development wanted to make something similar to nix-software-center, the backend tool that reads and modifies configuration values is a separate project: nix-editor, and I would be willing to help with any issues that arose from that.
-
Nix Software Center: gtk4/libadwaita app store for NixOS
You can mix and match as much as you want! Both tools use nix-editor to read and modify your configuration.nix file. So any changes made manually would be visible within the tools. Some more complex configuration structures might confuse the tools, but the goal is for it to just work
-
NixOS Configuration Editor: A gtk4/libadwaita app to edit and manage basic configurations without (much) coding
Tried it out, lots of cool features! The only nitpick I noticed was that it gets a bit confused with nested attributes, for example programs.gnupg.agent.enable = true; programs.gnupg.agent.enableSSHSupport = true; vs programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; it doesn't seem able to handle the latter case yet. But if you ever wanted to, I made a crate that handles the backend of editing .nix file, nix-editor, crate here: https://crates.io/crates/nix-editor. It also uses rnix and handles all the attribute mess and editing files.
-
auto update notifier & gui for non-tech users?
I definitely plan to support as much as I can, but there is definitely a level of complexity that can never be truly translated to a graphical tool. What I've found helpful during development for me is that I split the frontend GUI and the backed parser and editor into two projects (nixos-conf-editor and nix-editor), that way I could tackle a lot of the parsing and editing alone without worrying about specific GUI features needed (and use it for other projects). Later when I need some feature I add it to nix-editor. So far nix-editor supports simple attribute modification, array adding and popping, and recursive attribute definition and dereferencing. It's definitely not perfect by any means, but so far it's been enough for the projects I've been working on. I definitely need to credit any success I've had so far to the developers of rnix-parser which translates nix expression to easy to manage ASTs.
Relm4
Posts with mentions or reviews of Relm4.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-27.
-
Writing Gnome Apps with Swift
There is Relm (https://relm4.org/). Which is in Rust is just GTK (through it's Rust bindings) with a nice reactivity layer on top.
-
Resources for learning to write ui files for GTK4
I’d recommend you checking out https://relm4.org if you know a little Rust. Relm4 is currently the easiest and most intuitive way to write GTK
-
[media] Czkawka 6.0 - File cleaner, now finds similar audio files by content, files by size and name and fix and speedup similar images search
Relm4 might make your migration easier. It has factories which make it easy to create lists (both sync and async) and recently added TypedListView as another useful abstraction over pure gtk-rs. There is a lot of potential in Rust + GTK, you just have to find idiomatic abstractions.
-
What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
Did you try Relm? It's an implementation is the elm architecture (think react) on top of Gtk. Given your experience with Gtk it might suit you really well, as you can even take only parts of it and continue using bare Gtk for the rest. Give it a try!
- Native App Development
-
GUI development with Rust and GTK 4
What about relm4? Is it generally feature complete? Can one use relm4 for most things, and drop to gtk4 for the oddball task that is not supported?
https://relm4.org/
-
Newbie needs help with Relm4 errors. On Kubuntu
Using this example: https://github.com/Relm4/Relm4/blob/main/examples/simple.rs
-
Forte! A new way of writing Gtk apps for GNOME.
What advantage would this Rust crate have over Relm4? It seems pretty similar to me, save for the property based syntax that Forte has, instead of the set_* ones used on Relm4.
-
Need guidance for developping GTK4 + Libwaita apps
If you like Rust I recommend Relm4, one of the best experiences I’ve had with a framework tbh, be sure to learn gtk-rs first.
- Rust: State of GUI, December 2022 – KAS blog
What are some alternatives?
When comparing nix-editor and Relm4 you can also consider the following projects:
nixos-conf-editor - A libadwaita/gtk4 app for editing NixOS configurations
gtk4-rs - Rust bindings of GTK 4
Nixos-Gui - Gui for Nixos package manager
dispatch-proxy - Combine internet connections, increase your download speed
os-installer-snowflake-config
Gtk4-tutorial - GTK 4 tutorial for beginners
gtk-rs-core - Rust bindings for GNOME libraries
gtk-rs - Rust bindings for GTK 3
nixos-appstream-generator - Proof of concept appstream data generator for NixOS
owlkettle - A declarative user interface framework based on GTK 4
rnix-parser - A Nix parser written in Rust [maintainer=@oberblastmeister]
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
nix-editor vs nixos-conf-editor
Relm4 vs gtk4-rs
nix-editor vs Nixos-Gui
Relm4 vs dispatch-proxy
nix-editor vs os-installer-snowflake-config
Relm4 vs Gtk4-tutorial
nix-editor vs gtk-rs-core
Relm4 vs gtk-rs
nix-editor vs nixos-appstream-generator
Relm4 vs owlkettle
nix-editor vs rnix-parser
Relm4 vs dioxus