Wails: Build Desktop Apps With Go and Web Technologies
Wails offers a different approach: it provides the ability to wrap both Go code and a web frontend into a single binary. Tools are provided to make this easy for you by handling project creation, compilation, and bundling. All you have to do is get creative!
Version 2 was released on the 22nd of September 2022 and brought with it a lot of enhancements including:
- Live development, leveraging the popular Vite project
- Rich functionality for managing windows and creating menus
- Microsoft's WebView2 component
- Generation of Typescript models that mirror your Go structs
- Creating of NSIS Installer
- Obfuscated builds
Features
- Use standard Go for the backend
- Developer-friendly documentation
- Use any frontend technology you are already familiar with to build your UI
- Quickly create rich frontends for your Go programs using pre-built templates
- Easily call Go methods from JavaScript
- Auto-generated Typescript definitions for your Go structs and methods
- Native Dialogs & Menus
- Native Dark / Light mode support
- Supports modern translucency and "frosted window" effects
- Unified eventing system between Go and JavaScript
- Powerful CLI tool to quickly generate and build your projects
- Uses native rendering engines - no embedded browser!
- Native Menus, Dialogs, Theming and Translucency
- Windows, macOS and Linux support
- Built in templates for Svelte, React, Preact, Vue, Lit and Vanilla JS
- Easily call Go methods from JavaScript
- Automatic Go struct to TypeScript model generation
- No CGO or external DLLs required on Windows
- Live development mode using the power of Vite
- Powerful CLI to easily Create, Build and Package applications
- A rich runtime library
- Applications built with Wails are Apple & Microsoft Store compliant
- Quick Start Templates
- Native Elements
- Go & JavaScript Interoperability
- Live Development Experience
- Production-ready Native Binaries
License
- MIT license