# gioui/gio

> Gio is a toolkit for building immediate mode GUI programs in Go, targeting Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly (experimental). In immediate mode, the program describes its user interface in Go code again on each frame rather than keeping a persistent widget tree. The codebase is written mainly in Go.

Source: https://github.com/gioui/gio
Indexed: commit 2253f8a on 2026-08-12 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: Go
- Stars: 2,299 at index time
- Code health: 6.2/10, Fair
- Last commit: 2026-08-10
- Contributors: 42

## How it works

The app directory, with 61 files, holds the entry point app/app.go, where programs create windows and handle platform events. Platform-specific windowing code sits beside it, such as app/os_windows.go for Windows. The widget directory provides interface elements, including widget/editor.go for the text editor, and the layout directory arranges them on screen. Interface code records its drawing instructions into the op directory as operations. The gpu directory, including gpu/gpu.go, takes those operations and renders them to the window.

- app/app.go: entry point
- app/doc.go: entry point
- app/permission/bluetooth/main.go: entry point
- app/permission/camera/main.go: entry point
- app/permission/doc.go: entry point
Modules: app, widget, gpu, internal, io, layout, op, text. 237 files, 50,057 lines, 5,140 symbols.

## Code health

- Score: 6.2/10 (Fair)
- Rank: #206 of 4,000+ indexed repos
- Hotspots: app/os_windows.go, gpu/gpu.go, widget/editor.go, gpu/internal/metal/metal_darwin.go, app/internal/windows/windows.go
- Lowest file: gpu/gpu.go
- Dead code: 110 findings

## Maintenance

- Last commit 2026-08-10, first commit 2022-09-15, 500 commits
- 42 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/gioui/gio/security

## More

- Page: https://repowise.dev/repo/gioui/gio
- Ask this codebase: https://repowise.dev/repo/gioui/gio/chat
- Docs: https://repowise.dev/repo/gioui/gio/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/gioui/gio
