capy
fyne
capy | fyne | |
---|---|---|
7 | 151 | |
1,333 | 23,358 | |
3.9% | 1.5% | |
8.5 | 9.6 | |
6 days ago | about 15 hours ago | |
Zig | Go | |
Mozilla Public License 2.0 | BSD 3-Clause 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.
capy
-
Zig, the Small Language
The fanaticism of Rust devs makes me think it's probably massively overrated (see Node yesterday and Ruby/Rails the day before) and Go is associated by Google which gets a perhaps unfair but still unignorable knee-jerk reaction from me to avoid it.
I don't know enough about Nim to pass judgment.
Two reasons I decided to give Zig a try: The official chat channel is on IRC, instead of Discord or Slack (so the people involved care about efficiency, open standards, and avoiding trends/bandwagoning), and it has an early but promising-looking Swift UI-like cross-platform UI framework in development: https://github.com/capy-ui/capy
- Ask HN: How to make a native GUI with a modern language?
- Capy – Cross-platform library for making native GUIs in Zig
- Capy – Cross-platform library for making true native GUIs in Zig
-
Any recommendation for GUI
I’ve been making Capy (https://github.com/capy-ui/capy) which allows to code once and cross-compile to Windows, Linux, (macOS in the future) and even WebAssembly. It also have support for DataWrapper which allows to easily make animations, and much more.
fyne
- Uno: Create Beautiful Cross Platform .NET Apps Faster
- FastUI: Build Better UIs Faster
- Shoes makes building little graphical programs for Mac, Windows, Linux simple
- Ask HN: Cross-platform GUI apps in 2024
-
Are there any open source projects that need contributors?
If you want to look at something a bit bigger I can also suggest looking at Fyne (the toolkit that I’m working on and using to build the app): https://github.com/fyne-io/fyne
-
Why Golang instead of Rust to develop the Krater desktop app
Tauri is definitely a hot SEO keyword!
I had not heard of https://wails.io before for Golang GUIs, only https://fyne.io which renders its own controls.
-
Understand how to use C libraries in Go, with CGO
And this is how https://github.com/go-gst/go-gst, https://github.com/go-gl/glfw, and even https://fyne.io/ are using system libraries to propose a lot of functionalities.
- Fyne – cross-platform GUI toolkit in Go
-
Code for accessing portals in Go?
It would be great if we could add support for Flatpak portals in https://github.com/fyne-io/fyne but I find the portal documentation complicated (especially if preferring to use D-Bus instead of accessing libportal using C). Does anyone have code examples for using portals from Go code?
-
Expo – open-source platform for making universal apps for Android, iOS, and web
If you fancy Go, there's Fyne. I don't work in the space so I cannot judge it.
https://github.com/fyne-io/fyne
What are some alternatives?
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
Wails - Create beautiful applications using Go
zgl - Zig OpenGL Wrapper
gio - Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
zig-gamekit - Companion repo for zig-renderkit for making 2D games
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
qt - Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library
Lorca - Build cross-platform modern desktop apps in Go + HTML5
microzig - Unified abstraction layer and HAL for several microcontrollers
go-flutter - Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.