[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-97095":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},97095,"Ely-GPUI-Components","ZacharyZhang-NY\u002FEly-GPUI-Components","ZacharyZhang-NY","A component library for GPUI, in light and dark. Every component runs live in the browser.","https:\u002F\u002Fely-gpui.zacharyzhang.com",null,"Rust",570,32,3,6,0,1,4,47,57.26,"Apache License 2.0",false,"main",true,[26,27,28,29,30],"design-system","gpui","rust","ui-components","webassembly","2026-10-09 16:01:51","2026-11-22 18:10:05","# Ely GPUI Component\n\nA component library for [GPUI](https:\u002F\u002Fwww.gpui.rs), the Rust UI framework behind Zed.\nEvery component ships in light and dark. The palette is warm and quiet. Color carries meaning, not decoration.\n\nEvery component runs live at https:\u002F\u002Felygpui.com, compiled to WebAssembly.\n\nStatus: early. `TASKS.md` tracks every component, chapter by chapter. To help, see `CONTRIBUTING.md`.\n\n## Use\n\n```toml\n[dependencies]\nely-gpui-component = { git = \"https:\u002F\u002Fgithub.com\u002FZacharyZhang-NY\u002FEly-GPUI-Components\" }\ngpui = { package = \"gpui-pre\", version = \"=0.3.8\" }\ngpui_platform = { package = \"gpui-pre-platform\", version = \"=0.3.8\", features = [\"font-kit\"] }\n```\n\n```rust\nuse ely_gpui_component::{Assets, theme::{Mode, Theme}};\nuse gpui::App;\n\nfn main() {\n    gpui_platform::application().with_assets(Assets).run(|cx: &mut App| {\n        ely_gpui_component::init(cx).expect(\"Ely failed to start\");\n        Theme::set_mode(Mode::Dark, cx);\n    });\n}\n```\n\n`init` registers the fonts and the theme. It returns an error if the application's asset source cannot load one of Ely's files.\n\n## With GPUI Kit\n\nEly runs beside Longbridge's [GPUI Kit](https:\u002F\u002Fgpui-kit.com) in one window, on the GPUI snapshot Kit 0.7.1 pins. Pass `Assets::before(gpui_kit::assets::Assets)` as the one asset source, call both `init`s, open the window with `gpui_kit::open_window`, and wrap the view in Ely's root `FocusScope`. The [guide](https:\u002F\u002Felygpui.com\u002Fdocs\u002Fgpui-kit) covers themes, focus and the inspector; `compat\u002Fkit` holds a whole app and the tests behind each claim.\n\n## Gallery\n\n```sh\ncargo run --example gallery\ncargo run --example gallery -- --page buttons\ncargo run --example gallery -- --capture shots   # macOS: PNG of every page, light and dark\nELY_GALLERY_ASSETS=https:\u002F\u002Fexample.com\u002Fgallery\u002Fassets\u002F scripts\u002Fweb.sh dist   # for the browser\n```\n\nIn a browser, `?page=buttons&story=icon-button&theme=dark` draws one section alone; `examples\u002Fgallery\u002Fstories.json` lists them all.\n\n## Website\n\n```sh\ncd frontend\npnpm install\nELY_GALLERY_ASSETS=https:\u002F\u002F\u003Csite>\u002Fgallery\u002Fassets\u002F pnpm gallery   # the wasm gallery, into public\u002Fgallery\npnpm dev        # or: pnpm build && pnpm preview; both fetch the showcase at showcase.lock's commit\nELY_SHOWCASE=..\u002F..\u002FEly-GPUI-Showcases pnpm dev   # the showcase from a local checkout\nnode scripts\u002Fog.mjs   # with pnpm preview up: public\u002Fog.png from the hero\nnode scripts\u002Ffavicon.mjs   # public\u002Ffavicon.svg, apple-touch-icon.png and ..\u002Flogo.png from the mark\npnpm deploy     # Cloudflare, through wrangler\n```\n\n## Build notes\n\n- gpui compiles its Metal shaders at runtime here (`runtime_shaders`, on by default), so a full Xcode install is not required. gpui_platform needs `font-kit`, or macOS draws no text.\n- CI tests the crate and builds the gallery on macOS, Windows and Linux, arm64 and x86_64. The capture tool needs macOS.\n\n## License\n\nMIT. Lucide icons: ISC. Inter, JetBrains Mono, IBM Plex Sans and the gallery's Noto Sans Hebrew: SIL Open Font License 1.1.\nThe gallery photos in `examples\u002Fgallery\u002Fassets` were generated for this project with gpt-image-2.\n","Ely GPUI Components 是一个面向 GPUI 框架的轻量级 UI 组件库，提供开箱即用的明\u002F暗双主题支持。核心功能包括预设的语义化色彩系统、可嵌入的 WebAssembly 运行时组件（如按钮、输入框、卡片等），以及与 GPUI Kit 的兼容集成能力；技术上基于 Rust 编写，通过 WebAssembly 在浏览器中实时渲染，依赖 GPUI 0.3.x 生态。适用于基于 GPUI 构建的桌面或 Web 应用前端开发，尤其适合需要统一设计语言、快速原型验证及跨平台一致 UI 表现的 Rust UI 项目。",2,"2026-11-24 04:06:42","CREATED_QUERY"]