repowiserepowise

gioui / gio Architecture and code health

Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)

★ 2,299stars on GitHubGo

Claude Code, Cursor, Codex or VS Code. No key. You approve one sign-in in your browser.

Repowise maps public repos from their source. Not affiliated with gioui. What is Repowise?

github.com/gioui/gioIndexed at 2253f8a

What is 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. Its code health is 6.2 out of 10 (Fair), ranked #193 of 4,000+ indexed repos. The last commit to gio was on Aug 10, 2026, and 42 people have contributed.

As of commit 2253f8a, indexed Aug 12, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsgio.md

Repo facts: type, license, health, rank, contributors
gio facts
Code health6.2 / 10 (Fair)
Health rank#193 of 4,000+ indexed repos
Last commitAug 10, 2026
Contributors42
Bus factor1
Size237 files, 50,057 lines

Explore gio

Ask about this code in your agent

This connects Repowise to gio's code. It does not install gio.

Useful if you want to change or fork gio: your agent can ask how it is put together and get answers that cite its files.

Ask about gio

Answers come from gio's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of gioui/gio from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

gioui/gio FAQ

What is Gio?

Gio is a toolkit for building immediate mode GUI programs in Go. It targets Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly, with WebAssembly marked as experimental.

How does Gio work?

Gio uses immediate mode, so a program describes its interface in Go code on each frame instead of keeping a persistent widget tree. The app, layout, widget, op and gpu directories handle windows, arrangement, interface elements, recorded operations and rendering.

What language is Gio written in?

Gio is written mainly in Go, across 216 Go files. The repository also contains Objective-C, C, C++ and Java files for platform integration.

How is the Gio code organized?

The Gio code is grouped into 12 modules. The app module holds the most files at 61, followed by widget with 46 and gpu with 33.

Who is Gio for?

Gio is for developers who want to write immediate mode GUI programs in Go. Those programs can run on Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly.

Code health

6.2out of 10Fair

Hotspots average 2.9, the place fixes pay off most.

On the leaderboards:#27 of 28 Go repos

Key features of gio

  • Gio builds immediate mode GUI programs in Go.
  • Gio targets Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly, with WebAssembly marked as experimental.
  • Pre-1.0 tags are provided for reference only and do not receive ongoing support or backported bugfixes.
  • Tags follow semantic versioning, so breaking API or behavior changes increment the minor version while the major version stays at zero.
  • Non-breaking changes increment the patch version component.

How gioui/gio 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.

The codebase has 237 files and 5,140 symbols in 12 modules, led by Go, Objectivec and C. Code health is 6.2 out of 10, rated fair.