Beautiful, fast desktop apps in pure Go.

gowaku draws your whole interface on the GPU, builds into one binary without cgo, and sets Japanese text the way it deserves.

Get started Browse the widgets

For example, you can build a screen like this. Every pixel, from the text to the colors of the diff, is drawn by the library.

89msto the first frame
0%CPU when nothing moves
1/6the CPU of Gio for 100 animations
119widgets, from buttons to a dock layout
0lines of C to compile

It's just Go

One go build.
Every platform.

No cgo, no C compiler, no SDK to install. gowaku calls Direct3D 11, Vulkan and Metal straight from Go, so you get a single binary, and the Linux and macOS ones from the same Windows laptop.

  • Windows · Direct3D 11
  • Linux · Vulkan on Wayland or X11
  • macOS · Metal on Apple Silicon
go build ./cmd/app                          # Windows
GOOS=linux  CGO_ENABLED=0 go build ./cmd/app  # Linux, from the same machine
GOOS=darwin GOARCH=arm64  go build ./cmd/app  # macOS

Fast, and quiet

Nothing moves,
nothing runs.

A declarative, Flutter-like widget tree. Only what changed is rebuilt, the drawing is batched for the GPU, and an idle window draws no frames at all.

Size does not slow it down: lists, tables and the editor lay out only what is in view, and a 10 GB log shows its first lines in 80 ms, with 84 MB of memory.

See all the benchmarks →

CPU of one core, 100 animations at once

gowaku7.8%
Gio44.4%
Cogent Core69.4%

Windows 11 · i7-12700H · Iris Xe · 60 Hz

Japanese, done properly

Vertical text, ruby,
and an IME that feels native.

Line-break rules and punctuation spacing after the W3C's JLReq. Inline IME composition with the active clause highlighted, on Windows, macOS and Wayland. Color emoji, Arabic and Hebrew too. What most toolkits treat as an edge case, gowaku was built around.

Read about text and the IME →

Good-looking by default

Finished before
you start styling.

A quiet desktop design of its own. Light and dark follow the OS, and the whole palette comes from one accent color. Blur, shadows, gradients, custom shaders and SVG are there when you want more.

Drag across the picture: the same window in the light and the dark theme.

Built for real applications

Over a hundred widgets,
ready for real work.

Tables, trees, a code editor, a Markdown view, a dock layout, a command palette. Multiple windows, menus, title bars, tray icons, drag and drop, and screen readers on all three systems.

Open the catalog →

Tested without a window

Your UI, in go test.

gowakutest runs the tree on the CPU with a fake clock. Find a button by its label, tap it, type, advance time and take a screenshot. It also flags overflow, unlabeled controls and low-contrast text.

func TestAddOne(t *testing.T) {
	tt := gowakutest.New(t, counter{}, gowakutest.Options{})
	tt.Tap("Add one")
	if _, ok := tt.Find("count: 1"); !ok {
		t.Error("the count did not change")
	}
	for _, w := range tt.Warnings() {
		t.Error(w) // overflow, missing labels, low contrast
	}
}

Reads like the UI it builds.

Widgets are plain structs that work at their zero value. No builders, no reflection, no string IDs: the compiler checks the whole interface.

func (s *counterState) Build(ctx gowaku.BuildContext) gowaku.Widget {
	th := basic.ThemeOf(ctx)
	return basic.Center{Child: basic.VStack(
		basic.Text{Content: fmt.Sprintf("count: %d", s.n), Style: th.Text.LargeTitle},
		basic.AnimatedContainer{ // change a value, and it glides there
			Duration: 300 * time.Millisecond,
			Curve:    motion.EaseOutCubic,
			Color:    th.Color.AccentTint.WithAlpha(float32(s.n%10) / 10),
			Padding:  geom.All(16),
			Child: control.Button{
				Label:   "Add one",
				Style:   control.ButtonPrimary,
				OnPress: func() { s.SetState(func() { s.n++ }) },
			},
		},
	)}
}

Make something quiet and fast.

Open source under the MIT License.