Wails bundles Go backends with HTML, CSS, and JavaScript UIs into native desktop binaries. It uses OS WebViews instead of shipping a full browser runtime.
Overview
Wails targets Go developers who want a desktop UI without standing up a separate web server and opening a browser window. Project tooling scaffolds, compiles, and packages Go logic together with a familiar frontend stack into a single binary.
Frontends can use React, Vue, Svelte, Angular, or vanilla web stacks from templates. Go methods are callable from JavaScript with auto-generated TypeScript bindings, and a shared event system links both sides. Native menus, dialogs, dark and light mode, translucency effects, multiple windows, system tray integration, and platform file pickers are part of the desktop feature set.
Stable releases cover Windows, macOS, and Linux, with experimental iOS and Android targets that reuse the same Go main and services. Development workflow includes a CLI for init and build, hot reload during dev, in-memory IPC without open ports, and packaging helpers for code signing.
Compared with embedding Chromium, Wails emphasizes smaller binaries, lower baseline memory, faster startup, and rendering through each platform’s WebView.
Key features
- Go backend with web frontend UI
- Native OS WebView rendering
- Auto-generated TypeScript bindings
- Native menus, dialogs, and tray
- Multi-window desktop lifecycle
- CLI project scaffolding and builds
- Hot reload during development
- Experimental iOS and Android targets
Use cases
- Go utilities needing a graphical UI
- Cross-platform internal desktop tools
- Lightweight alternatives to Chromium shells
- Single-codebase desktop and mobile experiments