▲ 52 today6.9k starsGo
Go framework lets you ship native desktop apps without Cgo
What is mygo?
MyGo lets you write a single Go binary that runs as a desktop app, either with a webview-based UI or a fully native GPU-drawn UI. It works on macOS, Linux, Windows and even iOS/Android without any C dependencies.
Who it is for
Go developers who want low-memory, cross-platform desktop tools can build and ship them without learning another language or toolkit.
How mygo works
MyGo compiles a single Go binary that can either embed the operating system's native webview or draw its own UI directly on the GPU. The Go code registers services that are exported to a generated TypeScript client, allowing the frontend to call Go functions with typed parameters. The runtime also supplies cross-platform desktop APIs such as menus, tray icons, and notifications and can produce installers for each target OS.
What you can do with it
- Write a desktop app whose UI is a web page that calls Go functions.
- Create a native Go UI with buttons and dynamic state without any HTML.
- Package the same codebase as a macOS dmg, a Windows installer, or a Linux deb package.
- Target iOS or Android using the same Go source and the platform's webview.
Good to know
- Requires Go version 1.27.3 or newer.
- Web-frontend projects need Bun (or npx) to generate the TypeScript client.
- Supported platforms are limited to macOS, Linux, Windows, iOS, and Android.
Written from the project's own README.
Try it in 60 seconds
You need: Go toolchain installed
No one-line install. The README has the setup steps.
MIT licenseUpdated todayGo182 open issues
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted egoist/mygo on November 26, 2026, when it had 6.9k GitHub stars. It now has 6.9k. On its busiest day it gained 52 stars. It is published under the MIT license and has 458 forks. Early Signal files it under RAG & Memory, Coding, Inference.
Questions about mygo
- Is mygo free and open source?
- Yes. egoist/mygo is open source under the MIT license, and the code is on GitHub at https://github.com/egoist/mygo.
- What do I need to run mygo?
- Go toolchain installed