macdriver
fyne
macdriver | fyne | |
---|---|---|
13 | 151 | |
4,350 | 23,280 | |
- | 1.1% | |
7.9 | 9.6 | |
about 2 months ago | 5 days ago | |
Go | Go | |
MIT License | 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.
macdriver
- Are there native bindings for native UI development with Go? Window, GTK, MacOS
-
Towards the Personal Potential of Software
The first big release of the year was the macdriver project, which got a significant response on Hacker News. It gives us Objective-C and Apple framework bindings for Go, letting you build simple Apple apps entirely from Go. That wasn't possible before, so it was a little exciting, but it was early. The native Go APIs included for commonly used Foundation and Cocoa classes were far from complete. They could still be used if you knew what you were doing, but with an ideal of total coverage of Apple frameworks, that wouldn't be enough. There were also unresolved issues just deciding how to best manage memory and pointers, which I knew would fall on me to figure out and take some time.
-
Apple API schemas for code generation and more
Even less common are schemas for non-web APIs. In 2016, Electron started releasing a JSON schema of all their APIs that allowed me to build a bridge to use Electron APIs from Go. I had that prototype in mind when I started the macdriver project that was released a couple months ago. Right now we're manually wrapping Apple framework classes with Go types so you can write native Apple platform applications that look like this:
-
Customize your computer screen with HTML
It started as a demo for macdriver, but over the last week or so I've been making a standalone version. 90% of that time was playing around with it while trying to make demos.
-
Native Mac APIs for Go
Done https://github.com/progrium/macdriver/issues/12
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?
appify - Create a macOS Application from an executable (like a Go binary)
Wails - Create beautiful applications using Go
micromdm - Mobile Device Management server
gio - Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
go-smc - Golang library to read and write the OSX System Management Controller (SMC)
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
go-pmset - Go library to get OSX assertions, like the command line pmset -g assertions
qt - Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
goplay2 - Airplay 2 Receiver written in Go
Lorca - Build cross-platform modern desktop apps in Go + HTML5
ludo - A libretro frontend written in golang
go-flutter - Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.