sycamore
Relm4
Our great sponsors
sycamore | Relm4 | |
---|---|---|
70 | 23 | |
2,657 | 1,300 | |
2.4% | 5.0% | |
7.4 | 8.9 | |
11 days ago | 26 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
sycamore
-
Building a Rust app with Perseus
Perseus is a fast frontend web development framework for Rust with built-in support for reactivity using Sycamore, server-side rendering, and much more. Sycamore is a frontend library that allows you to build interactive user interfaces with Rust. I’d say that Perseus is to Sycamore as Next.js is to React, so it’ll be helpful for you to have a fair understanding of Sycamore before jumping into using Perseus — although it’s not necessary to follow along in this article.
-
Announcing samba – a Rust full-stack assistant for ballroom dancers
Now, I considered whether to spend more time fixing everything that now failed in sycamore 0.9. But there are major changes ahead which would require yet another major refactoring, to the point where I am not sure whether it would not be more of a rewrite than a refactoring, given my previous experiences with sycamore.
-
Rust Tauri (inspired by Electron) 1.3: Getting started to build apps
Sycamore.
-
Want a web app to respond to local file changes. Is Tauri the solution here?
Sycamore, Yew, or Seed if you want a full-stack solution. (Or Leptos if you want something that's faster but less mature.)
-
Hey Rustaceans! Got a question? Ask here (16/2023)!
There are others, like Sycamore, similar story as Leptos but imo Leptos is (currently) more ergonomic.
-
Sycamore -a library for creating web apps in Rust and WebAssembly
Sycamore is a reactive library for creating web apps in Rust and WebAssembly. https://github.com/sycamore-rs/sycamore
-
Yew | What’s been your experience?
I tried my first project with yew as frontend. And my experience was after some time similar to the already mentioned ones: It is a little more to take on than I actually wanted. And some things were not straightforward to achieve. I switched to sycamore for the other projects now and I am much more satisfied (but this could also be since I have some more experience in the Rust ecosystem by now). Changing from yew to sycamore was pretty easy and I can achieve most of the tasks with less code.
-
Rust tech stack
If you want to do fullstack/SPA stuff, check out Sycamore, Seed, and Yew.
-
rust web dev??
If you want to do front-end SPA development, take a look at Yew, Seed, or Sycamore.
-
How Discord Stores Trillions of Messages
I have written a front-end (website) application in Rust that is used internally in production. I wouldn't recommend to use something like sycamore, leptos, dioxus, yew for you next puplic web-app now but i can absolutely see how this is used in the future as those libs mature.
Relm4
-
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?
-
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?
yew - Rust / Wasm framework for creating reliable and efficient web applications
gtk4-rs - Rust bindings of GTK 4
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
Gtk4-tutorial - GTK 4 tutorial for beginners
leptos - Build fast web applications with Rust.
dispatch-proxy - Combine internet connections, increase your download speed
perseus - A state-driven web development framework for Rust with full support for server-side rendering and static generation.
gtk-rs - Rust bindings for GTK 3
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
owlkettle - A declarative user interface framework based on GTK 4