TanGoDesktop and mobile apps in Go
Use the system WebView, draw the interface in Go, or mix both in one window. The WebView is the one the OS already ships, so no browser engine is bundled.
Use the system WebView, draw the interface in Go, or mix both in one window. The WebView is the one the OS already ships, so no browser engine is bundled.
Status: 0.x, the API still changes
Desktop is verified on macOS hardware only. Windows and Linux are cross-compiled and covered by CI smoke tests, but have not been validated systematically on hardware. Mobile is experimental: iOS has been tested in simulators and on an iPhone 12 Pro for WebView, Go-drawn UI, and IPC; Android has run in emulators only. See Platform support.
App and Surface are the same API on all five platforms. A Surface is a window on desktop and a page in the stack on mobile. Differences between platforms are listed in capability tables; nothing fails without telling you.
TanGo uses WKWebView, WebView2, WebKitGTK and Android WebView. Bring any frontend. Go and the page talk through calls, events and streams with backpressure.
Components keep their state and logic in Go; TanGo does layout and drawing. On Apple Silicon macOS, Go-drawn windows start on native layers and can switch to Metal based on input or frame cost. Other platforms default to the GPU for standalone Go-drawn windows or pages, with CPU fallback. Platform support
Ant Design, Element Plus and shadcn themes share one set of semantic tokens, each in light and dark.
sys/ packages cover menus, tray, notifications, clipboard and hotkeys on desktop, and permissions, share, biometrics, location and push on mobile. Unsupported calls return ErrUnsupported.
Cocoa · WKWebView · Core Animation / Metal · CoreText
WebView, Go-drawn and hybrid. Ships as .dmg, with signing and notarization. The minimal WebView sample measured 1.80 MiB as an arm64 DMG.
Win32 · WebView2 · Direct3D 11 · DirectWrite
WebView, Go-drawn and hybrid. Ships as NSIS or MSIX, with Authenticode signing. The minimal WebView sample measured 1.97 MiB as an unsigned amd64 NSIS installer. Direct3D 11 rendering has not been checked on hardware yet.
GTK 3 · WebKitGTK 4.1 · OpenGL 3.3 · FreeType/fontconfig
WebView, Go-drawn and hybrid. Ships as tar.gz, deb, rpm, AppImage or Flatpak. OpenGL was tested with Mesa llvmpipe; CI also smoke-tests Go-drawn UI on headless Wayland. GPU hardware is not yet validated.
UIKit · WKWebView · Metal · CoreText
WebView and Go-drawn pages; builds .app and .ipa. Tested in simulators and on an iPhone 12 Pro. IPC reload recovery and fault fallback passed on hardware; up:post is on by default.
View · WebView · OpenGL ES 3.0 · pure-Go text
WebView and Go-drawn pages; builds .apk and .aab. Tested on the emulator (API 36) only.

Rendered by examples/ui-gallery: navigation, statistics, filters and a data table.
go install github.com/tangoui/tango/cmd/tan@latest
tan init -template ui hello # Go-drawn GUI template
cd hello
tan dev # opens the window, rebuilds on Go changes
tan build # release build in build/
tan package # installer for this machineDocumentation language
Chinese is the primary documentation. Some English pages are still being translated; untranslated pages link to the Chinese original.