Rune

Rune

A GPU-rendered native UI framework in Rust for macOS, Windows, Linux, iOS and the web, with headless mode so AI agents can check their own UI

Description

Building a desktop app in Rust usually means choosing between a heavy webview that never quite feels native and a pure-Rust GUI crate that looks plain and animates stiffly. Rune takes a different route: its own GPU renderer, text shaping, layout and spring animations, with one codebase running on macOS, Windows, Linux, iOS and the web.

The standout part is how it suits AI-assisted coding. Every Rune app can run headless: render to PNG, dump the element tree and drive it with scripted input. A coding agent can build a screen, look at the result and click through it on its own, instead of you checking every change by hand.

Features



Native GPU rendering: no browser engine; rounded corners, shadows, liquid-metal and lighting effects are drawn by shaders.

Declarative API: compose screens with chained calls like col, text and el; the view follows state, and motion presets add animation in one line.

Headless checks: render PNGs, read the element tree and inject input, handy for agent self-review and UI regression tests.

Components and CLI: rune-kit ships chat, split diff and settings components; the rune CLI scaffolds projects, runs a hot-reload dev loop and checks pins.

Accessibility: elements carry roles, labels and focus, wired into each platform's accessibility APIs.

Rune is pre-release: pin a commit of the dev branch in Cargo.toml. MIT licensed.