gioui / gio Architecture and code health
Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
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
| Code health | 6.2 / 10 (Fair) |
|---|---|
| Health rank | #193 of 4,000+ indexed repos |
| Last commit | Aug 10, 2026 |
| Contributors | 42 |
| Bus factor | 1 |
| Size | 237 files, 50,057 lines |
Explore gio
- DocumentationModule-by-module documentation, 562 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
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
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.
Maintain gioui/gio?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of gioui/gio. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask gio's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/gioui/gio?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/gioui/gio?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/gioui/gio.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/gioui/gio?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/gioui/gio.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/gioui/gio.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>