gtk4-rs
capacitor
Our great sponsors
gtk4-rs | capacitor | |
---|---|---|
22 | 152 | |
1,631 | 11,018 | |
4.5% | 2.9% | |
9.5 | 9.4 | |
1 day ago | 4 days ago | |
Rust | JavaScript | |
MIT License | MIT License |
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.
gtk4-rs
-
Integrate with Skia GL
The only example that shedded some light on the integration was gtk4 + femtovg. So I mimicked the example, using gtk4-rs and Skia's rust bindings. I had some code similar to the following inside a subclass of GLArea to setup Skia's DirectContext, but it failed:
- GUI development with Rust and GTK 4
-
My (challenging) experience building a window switcher for Ubuntu
To build the UI, I used gtk-rs. My experience with this library was quite pleasant; it was easy to use and there were a lot of examples. However, it isn't as widely used as, say, React, so it was difficult to find answer on Stack Overflow (I come from a JavaScript/Typescript background).
-
Are there any good UI/GUI libraries out there?
There are good GTK bindings for Rust (https://github.com/gtk-rs/gtk4-rs and https://github.com/Relm4/Relm4)
-
Rust for Linux can be compiled with GCC codegen(only few hacks are needed)
gtk4-rs itself feels like it takes very little time to build: https://github.com/gtk-rs/gtk4-rs but when you add up all the time to building all examples afterwards, it's about the same and provides the equivalent of capabilities of QT(C++ and RUST) so yes it's going to take time to build.
-
The state of Rust GUI libraries
The gtk-rs project provides safe Rust bindings for GNOME stack-based libraries, like the GTK 3 and GTK 4 libraries. The gtk3-rs and gtk4-rs libraries provides GTK 3 and GTK 4 functionalities, respectively.
-
Any good resources for using Rust with GTK4 and Libadwaita?
Check out the examples in the gtk4-rs repository.
- Create Linux Desktop App with C/C++
-
Recommended Rust GUI Libraries
It's actually quite simple when you use the GNU toolchain. With MSVC it's a bit more complicated. Anyway, I've added a PR for this: https://github.com/gtk-rs/gtk4-rs/pull/606
-
Looking to build a performant GUI application in Rust. What would be my best option?
/u/imperioland may be more qualified to answer this question, but it looks like MIT/X11.
capacitor
-
PWAs wont replace native iOS apps
> PWA optionally bundled with some native components for filing the gaps, as in Tauri.
Isn't that essentially Capacitor?
-
Svelte Native: The Svelte Mobile Development Experience
Have you experienced slow scrolling issues?
-
Building Apps with Tauri and Elixir
For the longest time, building desktop apps was a daunting task to web developers. That is, until technologies like Electron made creating these apps more approachable to a wider audience. Today, we’ve got a wide array of native applications built with solutions like Electron, Tauri, Capacitor, and many more. While these are great solutions, sometimes configuration can be tricky and the applications we create can become somewhat bloated in terms of memory usage.
-
Bare Metal Rust in Android
The traditional alternative to Electon on mobile platforms is Capacitor (which uses the system webview):
(fka Apache Cordova, fka PhoneGap)
-
Getting Started with PayloadCMS & Vue JS
Ionic Framework UI Components are used to build a website and then a mobile application is built using Ionic Capacitor. Ionic UI components are not required but are used for UX. The vue js code presented here will work fine in a separate application.
-
Building a Game with Phaser
Welcome to Part Two of this four-part series on building a mobile game using open source technologies. We'll be using Phaser, along with Ionic, Capacitor, and Vue.
-
Building a Mobile Game with Phaser and Ionic Vue: Part One
Turns out, it's easier than I expected! Thanks to Phaser, along with Ionic, Capacitor, and Vue, I was able to get a mobile game up and running on an iOS device working only a few hours here and there over two weeks.
-
Svelte is great for junior developers!
You want to export your Svelte project into mobile? don’t worry Capacitor has you covered. There is also Svelte Native but the project is more or less dead.
-
Expo – open-source platform for making universal apps for Android, iOS, and web
> “Make a progressive web app”: yes, that might be the way to go; provided you can get the users to ‘install’ it on their devices.
Assuming you're talking about the not-well-known process of adding PWAs to the Home screen, it's worth noting that you can package web apps for app store distribution as well. https://capacitorjs.com/
You might want to check out CapacitorJS - https://capacitorjs.com/
It’s more web than RN and depending on what you’re doing might not feel as native, but it’s pretty easy to make a solid app with it.
What are some alternatives?
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
NativeScript - ⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: SwiftUI, Jetpack Compose, Flutter and you name it compatible.
react-native - A framework for building native applications using React
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
electron - Deploy your Capacitor apps to Linux, Mac, and Windows desktops, with the Electron platform! 🖥️
electron-sveltekit - Electron and SvelteKit integration
vite-plugin-rsw - 🦞 wasm-pack plugin for Vite
svelte-capacitor - Build hybrid mobile apps using Svelte and CapacitorJS with live reloading on Android and iOS!
cordova-plugin-background-mode - Keep app running in background
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
fltk-rs - Rust bindings for the FLTK GUI library.