Open GPUI
Open GPUI is an independent Apache-2.0 Rust UI framework forked from Zed's GPUI codebase.
The project keeps the GPUI framework lineage while separating it from the Zed editor workspace, package names, and fork dependency ownership. The public Cargo package is open-gpui, and the Rust import path is open_gpui::....
Status
Open GPUI is pre-1.0 and in active fork cleanup. The workspace package names have been prepared for crates.io as open-gpui-*, and Rust crate names use the corresponding underscore form such as open_gpui, open_gpui_platform, and open_gpui_wgpu.
Publishing is intentionally still disabled at the workspace level until the internal crate graph can be published leaf-first and the required fork dependencies are ready for registry consumption. In particular, Open GPUI currently depends on Open GPUI-maintained forks for screen capture and font handling:
open-gpui-scap, fromhttps://github.com/Latias94/scap, licensed under MIT.font-kit, fromhttps://github.com/Latias94/font-kit, licensed underMIT OR Apache-2.0.
Those fork dependencies need a stable publishing plan before the Open GPUI crate graph can be published to crates.io. Their upstream copyright notices and license terms must be preserved separately from Open GPUI's own license.
The current workspace is therefore publishable only in dependency order: leaf crates such as open-gpui-core-util can be packaged first, while crates like open-gpui-collections and open-gpui still depend on unpublished internal packages.
Usage
Add the main framework crate:
[]
= { = "open-gpui", = "0.1.0" }
= { = "open-gpui-platform", = "0.1.0" }
Use open_gpui::... in Rust code:
use ;
use application;
;
During local development, use workspace path dependencies instead of registry versions.
Repository Layout
crates/gpui: mainopen-gpuiframework cratecrates/gpui_platform: platform selector cratecrates/gpui_linux,crates/gpui_macos,crates/gpui_windows,crates/gpui_web: platform backendscrates/gpui_wgpu: renderer backendcrates/gpui_macros: Open GPUI proc macrosexamples/smoke-native: native smoke examplextask: workspace verification and import-boundary checks
Verification
Run the local verification gate with:
For details, see docs/verification.md.
Acknowledgements
Open GPUI builds on the work of several open-source projects and communities:
- Zed GPUI, developed by Zed Industries, is the upstream Apache-2.0 GPUI framework lineage that Open GPUI was forked from.
- scap provides the screen capture library lineage used by the Open GPUI-maintained
open-gpui-scapfork. - font-kit provides the cross-platform font loading library lineage used by the Open GPUI-maintained
font-kitfork. - The Rust and crates.io ecosystem provides the third-party crates listed by Cargo metadata and the lockfile.
License and Attribution
Open GPUI is a fork of the Apache-2.0 GPUI framework code originally developed in the Zed repository by Zed Industries. This repository is not the Zed editor and does not include Zed's GPL application crates.
Open GPUI is licensed under Apache-2.0. The root LICENSE-APACHE file preserves the original Zed copyright notice, and NOTICE records the fork attribution and Open GPUI modification notice. New Open GPUI-specific work is maintained under the same Apache-2.0 license unless a file explicitly states otherwise.
Third-party dependencies, including forked dependencies, retain their own licenses and copyright notices. Before publishing release artifacts, generate or update a dependency license inventory from the resolved Cargo graph and include it with the distribution when required by those licenses.