gpui-kit

Activity, over time

Daily observations from the public event archive.

Attention

Daily stars & forks

Loading attention chart

Star accumulation

Cumulative stars

Loading star accumulation chart

Pull requests

Daily opens & merges

Loading pull requests chart

Conversations

Daily issues & comments

Loading conversations chart

Community

Daily accounts & reviews

Loading community chart

Releases

Daily releases

Loading releases chart

Mentions

16posts · 30d
Nov 31 post
  1. Reddit · · r/longbridge · u/Exciting_Engine_1321

    We open-sourced gpui-component, a desktop UI framework built on top of GPUI We’ve been building gpui-component in the open — a Rust desktop framework used to build Longbridge Pro. It is built on GPUI and includes 60+ UI components, virtualized data tables and lists, a dock layout system, Markdown and HTML rendering, charts, and a code editor with Tree-sitter and LSP support. Why we built it When people talk about desktop UI frameworks, the conversation often focuses on rendering widgets. In our experience, drawing a button was rarely the difficult part. The harder part was everything required around it to build an actual information-dense desktop application: focus handling, overlays, large datasets, persistent layouts, draggable panels, text editing, themes, and interactions that remain responsive under load. We ran into these problems while building Longbridge Pro, a commercial desktop application. Instead of designing a component library in isolation, we gradually extracted and refined the systems we were already using in production. That work became gpui-component. It goes beyond a widget library, but it does not try to prescribe an application’s entire architecture. Our goal is to provide the difficult reusable parts while leaving applications room to own their design and structure. What is included The project currently includes more than 60 components covering forms, navigation, overlays, feedback, layout, data display, and editing. A few parts may be especially interesting to developers building larger desktop applications: - Virtualized data tables with fixed and resizable columns, sorting, cell selection, and support for hundreds of thousands of rows. - Virtual lists that render only the visible range, including differently sized items. - A code editor using a rope-backed text model, with Tree-sitter highlighting and LSP diagnostics, completion, and hover. - A dock system with draggable tabs, nested splits, resizable panels, edge docks, freeform tiles, and serializable layouts. - Cross-platform support for macOS, Windows, and Linux from one Rust codebase. The framework is designed around workloads such as 120 FPS interfaces, very large tables, and files around 200K lines. These are the workloads we built and tested around, rather than a promise that every application will reach the same numbers on every machine. Two layers instead of one One design decision we made was to separate presentation from reusable behavior. - gpui-component provides styled components, semantic themes, sizes, and interaction defaults. - gpui-base provides lower-level behavior and infrastructure for teams that want to build their own visual system. preview.redd.it For example, an application can use the finished dock UI directly, or reuse the underlying layout model, drag-and-drop behavior, focus handling, and persistence while rendering the workspace in a completely different style. The principle we have been working around is: >Behavior belongs to the foundation. Presentation belongs to the application. Technical stack The main pieces are: - Rust - GPUI, the GPU-accelerated UI framework developed as part of Zed - Tree-sitter for syntax highlighting - LSP integration for editor diagnostics, completion, and hover - A rope-backed text model for working with large documents - Serde-compatible state for serializing dock layouts - WebAssembly for interactive documentation previews A minimal setup currently looks like this: 1. gpui = { git = "https://github.com/zed-industries/zed" } 2. gpui_platform = { git = "https://github.com/zed-industries/zed", features = ["font-kit"] } 3. gpui-component = { git = "https://github.com/longbridge/gpui-component" } There are still rough edges, and we would rather hear about them than pretend the framework is finished.Questions, criticism, issues, and small test projects are all welcome.

    1 point · 1 comment
  2. 这些都是我的 AI Agents 搞的,走聊天界面发个消息然后等着就好了。 搞这个是最近 Review PR、CI、解决冲突费时间,有这个流程我可以不用守着那些事情。 gpui-kit#3769 nsh#816 t.co

    4 likes · 870 views
  3. GPUI Kit has over 220 contributors. longbridge/gpui-kit t.co

    53 likes · 1 repost · 2,244 views
  4. Ok so first off I haven't done this in the agential era myself. In fact, I've made multiple (small/toy-ish) TUIs in the meantime! So I'm something of a hypocrite off the bat lol -- my only excuse is that I'm pretty darn webpilled, AKA the ultimate cross-platform system ;) That said: I indeed was referring to rust in particular[1], based on some vague recollections that I finally took some time to confirm: 1. There is indeed a host of relatively mature options for the mapping to the boring ol' native route(s): Qt through `cxx-qt`, FLTK via `fltk-rs`, wxWidgets via `wxdragon`, and Tk via... itself, I guess? GTK also has `gtk4-rs` and `relm` and is supposedly cross platform, but with some confusing caveats. See the very end for the other "just build three apps" options, on that note. 2. The most practical option for time-crunched, not-huge projects (IMHO) is anything that lets you still use web languages for styling; obviously this stretches the sense of "GUI", but it's also wildly popular and is still far better than a full Electron monstrosity. Namely: `tauri`(/`yew`/`leptos`) automatically ties into a separate WebView impl per OS, `dioxus` made their own impl to afford React-like rendering goodies, and `ply` seems like a really promising minimalist option. All actively maintained & growing. 3. It seems the default for not-technically-native-but-feels-native apps (i.e. most apps) is `egui`, which does WASM magic for you across platforms and web (!), or `iced` which seems far too Java-y for my tastes. Neither are at v1.0.0, but I blame the abandonment of semver for that goofiness -- both have sizable teams developing in them full time, with ~30k stars each. `slint` is more mature but seems targeted at IoT/embedded. 4. I'll be honest: I was really just hinting at "whatever Zed uses", since the thread's about text editors! It turns out to be `gpui`, their own custom (yet OSS) engine with a popular external metaframework: longbridge/gpui-kit . As above, does WASM wizardry. More niche options that similarly implement their own languages: `xilem`, `freya`, `floem`, and `ribir` are popular growing options with ~beta vibes (i.e. pre-v1.0.0 but, like, for real this time); `vizia` and `cushy` are more alpha vibes. 5. There's a crowd of "GPU-heavy" (?) frameworks that go beyond my capability to really assess in the first place, but `makepad` is the only one that seems definitely cross-platform. `kas`, `blinc`, `tessera`, `azul`, `pax`, `rosin`, and `rui` (nice snag, that) came up too, but are (pre-)alpha vibes. Game-focused ones also exist, somewhat bafflingly (people make games in Rust??): `imgui-rs`, SDL3 via `yakui`, and Bevy via `bevy_egui` all seem mature. 6. As a bonus there's options to just build a Flutter GUI and attach a rust process to its backside via `flutter_rust_bridge` (genius!) and/or (?) `Rinf`. I've never touched Flutter at all, so uhh take that as you will, I suppose. 7. Finally, to your Swift suggestion: I think you're privileging your OSX and/or Swift preference a lot, there. I'm not sure how that even gets to be cross platform based on what I'm seeing right now, but even if it it's possible, all the OSX-specific apps I see these days (RIP Orion...) put fear into the depths of my heart. What Swift would work for is the megacorp strategy: just implementing three separate apps! Via `UniFFI` or `cacao` for Mac, `windows-rs` for DOS, and any of the open ones above for Linux. Sorry for a long response -- procrastinating my life for sure, though I have been meaning to do this research for a long time. So thanks for the excuse! Shoutout blog.wybxc.cc and areweguiyet.com TL;DR: I'd go with `tauri` for something tame, and `gpui` for a text editor in particular; regardless of what you choose, I think it's a lot, lot more tractable than you expect! ______________________________________________________________________ [1]: After the `bun` debacle turned out shockingly well, I don't think there are "language wars" anymore, just the right tool for the job for the center ~95% of the capabilities/adventerousness bellcurve, so-to-speak. Absent some necessary integration planned in another language and/or extensive experience that you don't want to waste, I think it's just straight up incorrect to pick any "general" systems language (so C, C++, Java?) over rust. Certainly there are specialized languages that rule in their own arenas --Golang for piping data around, Haskell/LISP/Racket for cool people, Zig for Whatever Zig Does, TS for the web and cloud, Python for science, etc.-- but none of those seem necessary to tie into the GUI.

  5. YouTube · · YouTube description · GitHub Now

    Stop Building Buttons From Scratch in Rust Stop Building Buttons From Scratch in Rust longbridge/gpui-kit #rust #rustlang #rustprogramming #opensource #githubtrending #github #programming #coding #developer #softwaredevelopment #gui #devtools #codingtips #learnrust

    14 views
  6. gpui-kit#3580 ChatGPT is already help me to review first, when I sleeping. t.co

    5 likes · 583 views
  7. YouTube · · YouTube description · Repocast | GitHub 일일 브리핑

    러스트로 데스크톱 앱 뚝딱, GPUI Kit GPUI 기반으로 75개 넘는 컴포넌트를 제공하는 러스트 데스크톱 프레임워크, gpui-kit을 소개합니다. 스타 17,952개를 받은 longbridge의 오픈소스 프로젝트, GitHub에서 확인해보세요. 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #크로스플랫폼 #러스트개발 #devtools #프로그래밍 #깃헙트렌딩 #개발자 #코딩 #숏폼 [de-DE] Desktop-Apps mit Rust im Handumdrehen, GPUI Kit Wir präsentieren gpui-kit, ein Rust-Desktop-Framework basierend auf GPUI mit über 75 Komponenten. Schaut euch dieses Open-Source-Projekt von Longbridge an, das auf GitHub bereits 17.952 Sterne erhalten hat. 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform [es-US] Crea aplicaciones de escritorio fácilmente con Rust, GPUI Kit Presentamos gpui-kit, un framework de escritorio en Rust basado en GPUI que ofrece más de 75 componentes. Descubre este proyecto de código abierto de Longbridge, que cuenta con 17.952 estrellas en GitHub. 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform [fr-FR] Créer une application de bureau avec Rust en un clin d'œil, GPUI Kit Découvrez gpui-kit, un framework de bureau Rust basé sur GPUI et proposant plus de 75 composants. Ce projet open source de Longbridge, qui a reçu 17 952 étoiles, est disponible sur GitHub. 🔗 GitHub : longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform [hi] रस्ट के साथ डेस्कटॉप ऐप बनाएं, GPUI Kit पेश है gpui-kit, GPUI पर आधारित एक Rust डेस्कटॉप फ्रेमवर्क जो 75 से अधिक कंपोनेंट्स प्रदान करता है। Longbridge द्वारा विकसित इस ओपन-सोर्स प्रोजेक्ट को GitHub पर देखें, जिसे 17,952 स्टार्स मिल चुके हैं। 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform [id] Membuat aplikasi desktop dengan Rust itu mudah, GPUI Kit Memperkenalkan gpui-kit, sebuah framework desktop Rust berbasis GPUI yang menawarkan lebih dari 75 komponen. Lihat proyek open-source ini karya Longbridge, yang telah menerima 17.952 bintang, di GitHub. 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform [it] Crea app desktop in un attimo con Rust, GPUI Kit Vi presentiamo gpui-kit, un framework desktop Rust basato su GPUI che offre oltre 75 componenti. Scoprite questo progetto open source di Longbridge, che ha ricevuto 17.952 stelle, su GitHub. 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform [pt-BR] Crie aplicativos desktop rapidamente com Rust e GPUI Kit Apresentamos o gpui-kit, um framework de desktop em Rust baseado em GPUI que oferece mais de 75 componentes. Confira este projeto de código aberto da Longbridge, que recebeu 17.952 estrelas no GitHub. 🔗 GitHub: longbridge/gpui-kit #rust #gpui #desktopapp #uikit #opensource #github #crossplatform #rustdevelopment #devtools #programming #githubtrending #developer #coding #shortform

    24 likes · 1 comment · 1,513 views
  8. longbridge/gpui-kit

  9. longbridge / gpui-kit: Rust GUI components for building fantastic cross-platform desktop application by using GPUI. ★17483 longbridge/gpui-kit

    2 likes
  10. @huacnlee I've done something similar with rust gpui-kit, loving it. I have been working on a markdown block editor, which might be useful for your message composer here. Would love a review of the implementation design. Here it is incorporated in an app gpui-kit#3049 t.co

    3 likes · 62 views

Latest stargazers

The last 10 distinct accounts we observed this year.

Most active participants

PR, issue, comment & review events in the past year.

Packages

27
PackageVersionDownloads · 30dTrend · 30d
———
———
———
———
———
———
———
———
———
———
gpui-basev0.8.0
v0.8.0——
———
———
v0.8.1——
v0.8.1——
———
———
gpui-fpsv0.8.0
v0.8.0——
gpui-kitv0.8.0
v0.8.0——
v0.8.0——
———
v0.1.0——
v0.8.0——
gpui-wryv0.7.3
v0.7.3——
v0.1.0——
inputv0.10.0
v0.10.0——
rquickjsv0.14.0
v0.14.0——

README badges

Embed a badge in your README or website.

Live mentions · last 30 days
longbridge/gpui-kit mentions in the last 30 days