MyGo is a framework for building desktop apps in Go. A window can use native UI that MyGo draws on the GPU from package ui, written in Go alone, or show a web frontend in the system webview that calls Go through a TypeScript client generated from your code. Both kinds can live in the same app.

Projects start with the mygo command line tool, run as go run github.com/egoist/mygo/cmd/mygo@latest init my-app. Native UI needs only Go 1.27 or later; a web frontend also needs Bun, and web pages rely on WebView2 on Windows or WebKitGTK 4.1 with GTK 3 on Linux.

mygo build packages an app for macOS, Windows and Linux: an app bundle and disk image on macOS, an executable and installer on Windows, and an executable, desktop entry, install-script archive, Debian and RPM packages and a PKGBUILD for Arch on Linux. Official plugins cover Fetch, WebSocket, SQLite, Watch, Updater, Terminal, Glass, Game, SF Symbols, Automation and PermissionFlow.

The site publishes benchmarks against GPUI and egui on the same Mac: a MyGo release build is 9.7 MB, starts in 173 ms and rests at 34.1 MB of memory. Community showcase apps include MixMusic, Pulse, Kero and Lorca, all drawing native UI.

The project is MIT licensed and the source lives on GitHub at egoist/mygo. The site lists no pricing or paid plans; it has a sponsors page for supporting development. MyGo is a framework rather than a hosted service, so apps are yours to build and distribute.

Native UI in Go

Draw windows from Go with package ui; MyGo paints the interface on the GPU instead of wrapping a web view.

Web frontend option

Show a web UI in the system webview and call Go through a TypeScript client generated from the Go code.

Mixed windows

Start with either kind of project and add windows of the other kind later, inside the same application.

Installers per platform

mygo build produces a macOS app bundle and disk image, a Windows installer, and deb, RPM, Arch and archive packages on Linux.

Official plugins

Fetch, WebSocket, SQLite, Watch, Updater, Terminal, Glass, Game, SF Symbols, Automation and PermissionFlow are documented.

Measured footprint

Published benchmarks list a 9.7 MB release build, 173 ms startup and 34.1 MB memory at rest against GPUI and egui.

What is MyGo?

It is a Go framework for desktop apps. Windows can use native UI drawn by MyGo, or a web frontend loaded in the system webview that talks to Go.

What do I need installed?

Go 1.27 or later. A web frontend also needs Bun, and Linux web pages need GTK 3 and WebKitGTK 4.1; native UI needs no extra toolkit.

Which platforms can it target?

macOS, Windows and Linux. The build step creates the platform-specific bundle, installer or package for each.

How do I create a project?

Run go run github.com/egoist/mygo/cmd/mygo@latest init my-app, then use the mygo tool to develop and build the app.

Is MyGo free?

It is MIT licensed and public on GitHub. The site lists no pricing or paid plans, only a sponsors page for supporting the project.

Are there example apps?

The showcase lists community apps such as MixMusic, Pulse, Kero and Lorca, all built with MyGo native UI.

Feedback email