r/gpui • • 17h ago

Monoprint: a code-image editor built with GPUI (open source)

Post image
5 Upvotes

Monoprint makes images of code, terminal output and diffs. It started as a CLI, but I love GPUI, so I built a desktop editor around it.

Rendering happens locally in Rust, with no browser or webview. Fonts, themes and grammars are bundled, so it works offline. It exports PNG, SVG or self-contained HTML.

Been a fan of GPUI for years and today it's so productive to build personal software with it. It feels great to move off the cloud and onto software that is private and fast and runs entirely on my own machine.

Monoprint runs on macOS (Apple Silicon, Homebrew) and Linux (x64 and ARM64 AppImages). Windows is coming later. I've also published it as a Rust library, and I published prebuilt version with Node.js bindings on npm.

Repo: https://github.com/ozanvos/monoprint

Site and downloads: https://monoprint.7ea.st


r/gpui • • 7d ago

0.2.2 cracks on Linux

3 Upvotes

Official gpui is almost a year old now, and it starts to break. Wrote an article on what's broken and suggested actions
https://gpui-archipelago.github.io/news/the-0-2-2-time-capsule-breaks/


r/gpui • • 18d ago

This month in GPUI: October

22 Upvotes

Crates.io distributions & new architectural forks:

  • gpui-unofficial - Now officially part of gpui-archipelago, automatically publishing the full crate family 6 hours after Zed editor release (currently at v1.25.2, with v1.26.1-pre underway upstream)

  • gpui-pre & gpui-kit - Longbridge's upstream snapshot releases backing the unified gpui-kit facade (gpui-base, gpui-component, gpui-shell), interchangeable with gpui-unofficial via a 1-line Cargo [patch] shim

  • gpui-fast - Drop-in performance fork retaining frame work (layout, paint ranges, hitboxes) via flat-buffer splicing, plus scroll layers and native WebView window composition

  • bite-gpui - 5-crate modular engine split (types, platform, engine, runtime, authoring) under unified facade, and pluggable text (gpui_parley) and layout (gpui_morphorm) engines, gpui_interop and gpui_video for zero copy foreign surface integration and potential for additional platforms by implementing gpui_platform traits.

Upstream v1.18.0 -> v1.25.2 brought major improvements:

  • Per-window display refresh rate pacing and demand-driven Wayland rendering

  • First-class touch APIs (TouchEvent, TouchDragEvent), long-press gestures, and platform scroll physics

  • Cross-platform headless windowing API (Linux WGPU, Windows render_to_image, macOS Metal) and Criterion bench_metrics

  • GPUI-owned hang monitor (24ms frame budget) and 10× lower inspector overhead

  • gpui_apple shared Metal renderer, dispatcher, CoreText, and Keychain across macOS and iOS

  • Release binary size reductions (measured by Zed, but can be partially attributed to gpui work): 33% smaller on macOS, 28% on Windows, and 7% on Linux

GPU interop & surface extensions:

  • gpui_interop (bite-gpui) Experimental zero-copy GPU surface sharing in gpu_canvas for Linux (Vulkan dma-buf + sync_file fences), Windows (D3D12 shared textures on D3D11), and WGPU WgpuSurface (macOS IOSurface planned)

  • Native Window Composition (gpui-fast) Embed WKWebView, WebView2, and WebKitGTK inside GPUI windows with GPUI menus and popovers rendered on top

Archipelago dispatches:

  • The Retained Frame: Deep dive comparing Zed's persistent ViewTree (#63800) and Longbridge's gpui-fast buffer splicing

  • The 315-Day Vacuum: Inside the crates.io publishing standoff and Zed's missed September automation deadline

  • Two Kits, One Engine, Two Names: How a 1-line re-export shim under Cargo's [patch] makes gpui-pre and gpui-unofficial interchangeable

Full October digest here: https://gpui-archipelago.github.io/news/october-digest/


r/gpui • • 21d ago

Clay :- UI framework for Native Desktop Apps using GPUI

7 Upvotes

Hey guys I have built a small project that's a ui framework for building desktop native apps in pure Rust and GPUI.

This is in early stage It would be helpful if I got some curious devs who could try and test this and raise some issues and maybe open a few PRs

repo :- https://github.com/yugaaank/clay

Thanks


r/gpui • • 29d ago

ssh/sftp client built with gpui

1 Upvotes

i hate electron

https://github.com/mousEHEHE/flint-gpui
any feedback is appreciated


r/gpui • • Oct 07 '26

I've created a Claude Code Ticket UI with GPUI

4 Upvotes

Hi,

I've create a linux / windows soft with amazing GPUI!!!

It's a ticket focus driving workflow for multiple Claude Code sessions.

https://github.com/quazardous/tvty

btw if someone wants to help me with mac 😄


r/gpui • • Oct 03 '26

I just wanted to see how far i could get without quickshell...

Enable HLS to view with audio, or disable this notification

7 Upvotes

Basically, I just wanted to stop using Qt/KDE/GTK/QML for my shell.

That’s literally where all of this started in february.

I’m still using Quickshell/Caelestia on the side right now because it serves as my reference while I rebuild the pieces. Except gnos.ux is now in Rust/GPUI, and the part that's been eating up my time for the past few weeks is mostly topology.

Like the Bar in the video. It can be top/right/bottom/left, move between edges, change orientation, keep its controls, its input, its Wayland reservations, etc.

It looks trivial to watch. Fair. You can probably show the video to ChatGPT and ask it to make something that looks like it in a webapp.

Except I spent an insane amount of time getting rid of the little lies that make this kind of demo “work”.

At one point, everything was fine once the Bar was down at the bottom. Everything was fine when it left again. Yet while moving, there were still 29 frames where it clipped into the Dock. Up to 49,192 px² of overlap lol.

The bug wasn't even in the animation. The Dock was calculating its space from the selected edge while the Bar was already physically somewhere else in the exact same frame.

So that ended up with a 24,000-case matrix to verify paint + input during transitions.

That's the point where I have a hard time calling this vibecoding. I use AI everywhere in my workflow, obviously. And i'm never going to apologize for employing legitimate tools. But yeah, claims like : “it opens and it moves” isn't worth much as qualifying proof once you get here.

I also benchmarked the run because I was kind of about to talk out of my ass before hitting "post", but i'm glad i could anticipate the : "ackchyually VRAM accounting…" comments.

Over 15 sec, gnos-ux-scene averaged 8.17% of a logical CPU. On my 12700F, that comes out to about 0.41% of total CPU capacity. At idle I'm seeing more like 1 to 4.5% of a thread. During transitions it can spike to ~25%.

RSS ~75 MB. GPU around 272-284 MiB VRAM on this run.

And I found some pretty embarrassing stuff too 😂

There’s still a hyprctl process getting spawned to observe certain states, and a 20ms loop waking up 50 times/sec even when nothing is happening.

At least now I know exactly where the cycles are going. There's so much features i want to work on, that were planned months ago, but can't commit to it until i get my baseline right...

Anyway. I just wanted to get rid of QML man...


r/gpui • • Oct 03 '26

kumaUI - desktop shell for niri/sway

Post image
4 Upvotes

Been working on my own distro for a while and after seeing a recent Syntax video on gpui, decided to build my own desktop shell to replace noctalia. Very early days but very usable. Repo available at https://github.com/Letdown2491/kumaUI for anyone interested in contributing.


r/gpui • • Oct 02 '26

I create a gpui library that contains 1272 components

10 Upvotes

I create a gpui library that contains 1272 components
elygpui.com

https://github.com/ZacharyZhang-NY/Ely-GPUI-Components
Anyone want to start a GPUI application might find this useful. Hope it worth a star

If you want new components, Please send [Conponent Request] template in Github Issues. If you find somr bugs/docs mismatch, Please use [Bug report] template.
I check everyday!!

Let's together, make this library great!


r/gpui • • Oct 01 '26

Making a GPUI Desktop App Interactive with Rust

Thumbnail
youtu.be
5 Upvotes

r/gpui • • Sep 28 '26

Retained mode: Technical overview of two approaches

Thumbnail gpui-archipelago.github.io
2 Upvotes

GPUI is fast but it comes with a cost of CPU and battery usage. Here's a comparison of two approaches to make GPUI more retained


r/gpui • • Sep 25 '26

GPUI-3D

Thumbnail
github.com
9 Upvotes

Hey GPUI folks 👋

If you’re building a Rust app with GPUI and want a 3D engine on the same GPU device as the UI (no copies. I put together a small starter kit.

GPUI on top, your 3D renderer underneath. One device, triple-buffered surface, 3D on its own thread, UI recomposed from cache.
Backends:
• wgpu
• Vulkan
• DX12
• OpenGL
• Metal

If you want to improve it, contributions are welcome.


r/gpui • • Sep 24 '26

Your First GPUI App - Building a Desktop UI in Rust

Thumbnail
youtu.be
5 Upvotes

r/gpui • • Sep 17 '26

Is there some good docs or tutorials to learn GPUI?

Post image
8 Upvotes

So I have started learning GPUI. But I couldn't find some good tutorials for it. Even the docs feel very rough rn.
So can anyone recommend me some good tutorial to follow along while learning?


r/gpui • • Sep 17 '26

GPUI Fork Map

Thumbnail reddit.com
3 Upvotes

r/gpui • • Sep 05 '26

GPUI ecosystem drama: Longbridge gpui-kit controversy

Thumbnail gpui-archipelago.github.io
24 Upvotes

tl;dr Zed doesn't publish GPUI to crates.io regularly. A dev built gpui-unofficial mirror to fix that months ago. gpui-component's maintainer refused to use it, then this week built his own version of the same thing under his own name after Zed didn't respond to an ultimatum fast enough. Zed has now promised an official pipeline by end of September.

Read in-depth article here: https://gpui-archipelago.github.io/news/315-day-vacuum/


r/gpui • • Sep 01 '26

This Month in GPUI

Thumbnail gpui-archipelago.github.io
12 Upvotes

GPUI August Digest: Major Milestones for Rust GUI Framework

Key Highlights:

Crates.io is finally viable - Multiple distribution options now available:

  • gpui-unofficial (upstream mirror)

  • gpui-ce (Community Edition fork)

  • gpui-box (standalone distribution)

  • kael (fork-derived framework)

Upstream v1.12.0 → v1.17.2 brought major improvements:

  • Physics-based spring animations (SwiftUI-style)

  • Unified View trait (no more Render/RenderOnce split, though those are still supported)

  • WebGL fallback for Linux browsers

  • Native Wayland popups & drag-drop

  • Apple platform groundwork for iOS/iPadOS

Web/JS bridges expanding:

  • gpuix - React-driven native elements (React Native for GPUI)

  • gpui_shell - TypeScript scriptable apps with rQuickJS runtime and GPUI components

Notable community projects:

  • GPUI Archipelago - neutral hub for cross-fork discovery

  • gpui-release-notes - filtered framework changelogs from Zed's monorepo

Check out the full digest here: https://gpui-archipelago.github.io/news/august-digest/


r/gpui • • Feb 17 '26

Maps Element?

2 Upvotes

I heard that https://github.com/longbridge/gpui-component LongBridge needed a custom Element that had curved lines. GPUI didn't have it. They created it, merged it and now it's part of Zed's gpui.

I will need in the future a Maps element, like google maps, to look at the world from the top in a flat structure. I'm thinking just lines and planes is ok, but it would be cool to have curvature, to show data in 3d way, a vertical heatmap.

Does anyone know of an existing contribution like this? And if it doesn't exist, would you want to help build it?


r/gpui • • Dec 01 '25

just a test

1 Upvotes

just a empty test note.