gpu-browser

govijr

An experimental Rust web browser prototype built on Servo and GPUI that renders pages directly to Metal via macOS IOSurfaces.

RustCreated

What is govijr/gpu-browser?

GPU Browser is an experimental web browser prototype written in Rust that pairs the Servo web engine with the GPUI user interface framework. It explores zero-copy GPU frame presentation so rendered web content can move from the browser engine to the application window without passing through the CPU.

On macOS, Servo renders each web page on the GPU directly into IOSurfaces, which GPUI's Metal renderer then composites onto the screen. Building and running the project requires a recent stable Rust toolchain—tested with Rust 1.100—alongside Servo's build prerequisites and GPUI's platform dependencies. The README explicitly describes the project as an early prototype with rough edges and advises testing it only against trusted web pages for security reasons.

Rust graphics engineers and browser hobbyists interested in embedding Servo inside a GPUI desktop shell on macOS can study or build this prototype, keeping its experimental status and security caveats in mind.

Before you startThe README says

Runs on
macOS for zero-copy GPU frames; Windows and Linux use the copy path only
Needs
Recent stable Rust (tested with 1.100); Servo and GPUI build prerequisites; GStreamer with H.264/AAC decoders for media
How you get it
Build from source with cargo run --release; the first build compiles Servo and takes a while.
Not yet
Prototype with rough edges. Servo has no MSE or EME, so sites like YouTube and Twitch will not play. Color pickers are not drawn yet.

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.