OtherActive

Wails

Wails is a framework for building desktop applications using Go and web technologies. This guide covers using Angular with Wails.

Open source page

Product features

Product features

Angular Integration

Wails can be used with Angular by configuring wails.json and adding script tags to index.html.

Automatic Go struct to TypeScript model generation

Automatic Rebuild

Wails rebuilds and restarts the app when Go code changes.

Automatic Rebuilds

Detects changes in Go code and automatically rebuilds and restarts the application.

Automatic Reload

Wails reloads the app when frontend assets change.

Automatic TypeScript model generation

Develop your application in a Browser

Browser Development

Run the application in a browser via a webserver for debugging and development.

Built-in Templates

Templates for Svelte, React, Preact, Vue, Lit, and Vanilla JS.

Call Go methods from JavaScript

Automatically expose Go methods to JavaScript.

CLI Tool

Provides a CLI for project creation and management.

Powerful CLI

CLI for creating, building, and packaging applications.

Windows, macOS, and Linux Support

Compatible with Windows, macOS, and Linux operating systems.

Windows, macOS and Linux Support

Runs on Windows, macOS, and Linux.

Embedded Assets

Production binaries use embedded files, no external files required.

Go Application

Wails applications are standard Go applications.

Go Backend

Uses Go as the backend language.

Go & JavaScript Interoperability

Wails automatically makes Go methods available to JavaScript and generates TypeScript models for structs.

Go & JavaScript Interoperability

Automatically makes Go methods available to JavaScript and generates TypeScript models.

Easily Call Go Methods from JavaScript

Automatically expose Go methods to JavaScript.

JavaScript Runtime

A JavaScript version of the runtime library is available to the frontend.

Live Development Experience

Automatic rebuilds on Go code changes and automatic reloads on asset changes.

Live Reload

In development mode, changes to assets result in live reload.

Native Elements

Wails uses a purpose built library for handling native elements such as Window, Menus, Dialogs, etc.

Native Menus, Dialogs, Themes, and Transparency

Support for native menus, dialogs, themes, and transparency in desktop applications.

Native menus, dialogs, themes, translucency

Supports native menus, dialogs, themes, and translucency.

Native menus, dialogs, themes and transparency

Wails provides native menus, dialogs, themes and transparency for desktop apps.

Native Menus, Dialogs, Theming and Translucency

Support for native menus, dialogs, theming, and translucency.

Native Menus, Dialogs, Theming and Translucency

Use native elements for a modern app look.

No CGO or external DLLs required on Windows

No CGO or External DLLs Required on Windows

No CGO or external DLLs needed on Windows.

No External DLLs or CGO on Windows

No external DLLs or CGO required on Windows.

Production-ready Native Binaries

CLI compiles to a single executable with all assets bundled.

Runtime Library

Provides a runtime library for Go and JavaScript handling eventing, logging, dialogs, etc.

Starter Templates

Embedded templates for Svelte, React, Preact, Vue, Lit, and Vanilla JS, with JavaScript and TypeScript versions.

Apple & Microsoft Store compliant

Built-in templates for Svelte, React, Preact, Vue, Lit and Vanilla JS

Templates for Svelte, React, Preact, Vue, Lit, Vanilla

Preconfigured templates for popular frontend frameworks.

Automatic Go Struct to TypeScript Model Generation

Generate TypeScript models from Go structs automatically.

Live Development with Vite

Live development mode using the power of Vite.

Live Development Mode Using Vite

Web Frontend

Uses web technologies for the frontend.

Webkit Frontend

The frontend is a webkit window displaying frontend assets.

Windows, macOS, Linux support

Works on Windows, macOS, and Linux.