A curated list of GPUI resources, libraries, tutorials and tools
English | 中文
GPUI is a hybrid immediate- and retained-mode, GPU-accelerated UI framework for Rust developed by the creators of Zed.
- Official Resources
- Development Tools
- Component Libraries
- Tutorials
- Examples
- Projects
- Blog Posts
- Videos
- Community
- GPUI - The core repository of the GPUI framework, located within the Zed repository
- Official Website - The official website of GPUI
- create-gpui-app - Scaffold a new GPUI application with one command
cargo install create-gpui-app create-gpui-app --name my-app
- gpui-component - A growing library of UI components (Accordion, Button, DatePicker, Calendar, Modal, Table, etc.) for building desktop apps with GPUI
- gpui-tutorial - Hands-on walkthrough covering GPUI basics and how to build your first app
- GPUI Book - A book teaching you the concepts you need to create your own GPUI application
- GPUI Rendering Docs - Detailed explanation of the GPUI rendering system
Add dependencies directly from Git while the ecosystem matures:
[dependencies]
gpui = { git = "https://github.com/zed-industries/zed", branch = "main" }
gpui-component = { git = "https://github.com/longbridge/gpui-component.git" }
Rust code example:
use gpui::prelude::*;
use gpui_component::DatePicker;
fn main() {
// Initialize GPUI app and open a window...
DatePicker::new()
.locale("en-US")
.on_select(|date| println!("Selected: {:?}", date));
}
- zed - A high-performance, multiplayer code editor built with GPUI
- Loungy - An application launcher built with GPUI
- Helix GPUI - Helix editor implementation using GPUI
- GPUI Calculator - A calculator app built with GPUI
- GPUI Counter - A simple GPUI counter example
- GPUI Memory Game - A memory matching game built with Rust and GPUI
- Hummingbird - A modern music player written in Rust using GPUI, designed to be performant and lightweight with FLAC, MP3, OGG and WAV playback support
- PGUI - A GUI app to query and manage Postgres databases built with GPUI
- Ownership and Data Flow in GPUI - In-depth description of how ownership works in GPUI using models, including how to emit and consume events
- Why the big rewrite? - Blog post on the reasons for going to the tailwind-inspired API
- Unofficial Documentation - An attempt at unofficial documentation for GPUI
- Second look at the Rust GPUI framework from Zed! Featuring web-sockets - A second exploration of the Rust GPUI framework from Zed, featuring WebSocket functionality demonstration
- Zed Discussions - GitHub discussions about GPUI and Zed
- Reddit Discussion - Reddit discussion about GPUI
Contributions are welcome! Please read the contribution guidelines to get started.
To the extent possible under law, the compiler of this work has waived all copyright and related or neighboring rights to this work.