Skip to content
codewhale-hqPublic

About

Native Rust and GPUI components inspired by WeUI, from controls and forms to desktop surfaces.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

weGPUI mark

weGPUI

WeUI-inspired components. Native Rust applications.

Build with controls, forms, navigation and desktop surfaces rendered by GPUI.

Explore the gallery   ·   Quick start   ·   Integration guide   ·   Project status

Note

Developer preview · 0.1.0 · unreleased. Visual, interaction and accessibility qualification is in progress. No desktop platform has completed the full support criteria; mobile backends are experimental. See the acceptance matrix and remaining work.

Native weGPUI desktop gallery showing a sample chat interface with a conversation list and composer

The native desktop gallery on macOS, with sample people and messages. See the capture details.

A closer look

weGPUI brings Tencent's WeUI 2.6.26 design language to GPUI, the GPU-accelerated framework behind Zed. weGPUI renders with native GPUI primitives, without an embedded browser.

Native macOS gallery with desktop buttons, fields, selection controls and tabs

Desktop controls in the native macOS gallery: buttons, fields, choices and tabs.

These recorded macOS captures show rendering, not complete platform or accessibility support. The desktop receipt identifies their source and limits.

  • Desktop surfaces: chat layouts, conversation rows, messages, contacts, settings, history, menus, dialogs and emoji selection. Desktop API →
  • Controls and content: buttons, cells, inputs, switches, sliders, navigation, pickers, overlays, image viewers and upload interfaces. Component modules →
  • Desktop and phone from one view tree: a size class, safe-area root, rail-or-tab-bar shell and split-or-push panes. Adaptive module → · Example →
  • Appearance: light, dark and care themes, custom brand colours and host palettes.
  • Language and access: 14 message catalogs, RTL layouts, keyboard navigation and modal focus handling. Translation, reader and platform qualification remain open. Localisation → · Acceptance →

The browser gallery presents 71 native gallery routes with recorded previews and Rust source, plus a separately labelled interactive WeUI browser reference. The native previews are captures; GPUI does not run in the browser.

Quick start

Install Rust 1.95+ and the GPUI build requirements. Linux also needs an X11 or Wayland desktop and GPUI's system libraries.

git clone https://github.com/codewhale-hq/weGPUI.git
cd weGPUI
cargo run --example gallery --locked

Try a small starting point or open the desktop chat example directly:

cargo run --example minimal --locked
cargo run --example gallery --locked -- --page desktop-chat --theme light

For more examples, including form state, localisation and theming, see the integration guide.

Use in an application

The preview currently needs five matching local compatibility patches configured at the consumer's workspace root. Cargo does not inherit those patches from a dependency.

Follow the application integration guide for the exact dependencies, patches and initialization, or start with the complete minimal example. A reproducible source bundle includes a separate consumer and the patched sources; it is not a published crate or signed installer.

Platform status

Builds, sampled native behavior and complete platform support are separate milestones.

Platform Evidence so far Still to qualify
macOS Build checks and sampled native input, accessibility and visual observations Complete state, input and reader coverage; signed distribution
Linux Source checks, X11 comparisons and sampled native interaction and Orca output; historical nested-Wayland checks Complete reader, IME, hardware and distribution coverage
Windows ARM64/MSVC build checks and standalone consumer; historical native interactions Current visible UI, reader and distribution qualification
iOS Experimental simulator launch and sampled touch navigation Keyboard, IME, lifecycle, accessibility and device qualification
Android Library type-checking Backend selection and native runtime

See platform evidence and release readiness for the criteria and detailed receipts.

Find your way around

I want to… Start here
Browse the components and their source Gallery · Desktop components · Website guide
Add weGPUI to an application Integration guide · Minimal example
Understand support and known limits Project status · Acceptance matrix
Review visual comparisons and provenance Visual evidence · Source attribution
Contribute or report a security issue Contributing · Security · Code of conduct
Follow changes Changelog

GitHub is the canonical home for source, issues and pull requests. CNB is a read-only mirror.

Licence

Original weGPUI code is MIT OR Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.

WeUI design, example content and icons are Copyright Tencent, Inc., under the MIT licence. The distribution also identifies THL A29 Limited, a Tencent company. Their notices are preserved in LICENSE-WEUI and NOTICE.

The text input adapts GPUI's input example, Copyright Zed Industries, Apache-2.0; its attribution is preserved in the source and NOTICE. This is an independent project.

About

Native Rust and GPUI components inspired by WeUI, from controls and forms to desktop surfaces.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages