mygo: Desktop apps in Go, with native UI or a web frontend.
What problem it solves
Developers need a way to build desktop applications in Go without being limited to a single interface approach. MyGo supports native Go interfaces, web frontends, or a mixture of both within the same app or window.
Key features
Native and web interfaces — Each window can present a web page in the operating system's webview or native UI written in Go. Apps and individual windows can also combine both approaches.
Source: README
Typed communication between Go and pages — Go services can be bound, values can be streamed through channels, and typed events can be sent to web pages. MyGo generates a TypeScript client from the Go code.
Source: README, ipc.go, typescript.go
Native Go UI toolkit — The `ui` package provides layout, widgets, text editing, virtualized lists, SVG icons, animations, accessibility support, and testable views. It can also display web pages within native UI.
Source: README, ui
Desktop and mobile platform support — The same Go codebase can target desktop systems as well as iOS and Android. Mobile support includes web views, native GPU-rendered UI, live reload, and builds for the App Store and Google Play.
Source: README, backend_mobile.go
Desktop APIs and distribution — MyGo includes APIs for windows, menus, trays, dialogs, notifications, shortcuts, files, media controls, and accessibility settings. It also supports application packaging, installers, signing, notarization, and signed auto-updates.
Source: README, updater.go
Quick start
Copied verbatim from the project's README.
bunx mygo-cli init my-app # or: npx mygo-cli init my-app
cd my-app
bun run devgo run github.com/egoist/mygo/cmd/mygo@latest init -template native my-app
cd my-app
go tool mygo devWho it may suit
This may suit Go developers who want to ship desktop applications with either native interfaces or web frontends. It may also suit teams targeting desktop and mobile platforms from one Go codebase.
Topics to discuss
Which native UI patterns would you most like to see added or improved?
How should generated TypeScript clients evolve for typed web-to-Go communication?
What distribution and auto-update workflows matter most for your applications?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/egoist/mygo#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…