{"id":51470838,"url":"https://github.com/brainless/akar","last_synced_at":"2026-07-06T17:30:27.125Z","repository":{"id":369273719,"uuid":"1287129126","full_name":"brainless/akar","owner":"brainless","description":"A cross-platform wgpu + glyphon based UI framework with 60+ components","archived":false,"fork":false,"pushed_at":"2026-07-04T12:27:30.000Z","size":167,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-04T13:13:31.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-07-02T12:06:33.000Z","updated_at":"2026-07-04T12:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brainless/akar","commit_stats":null,"previous_names":["brainless/akar"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/brainless/akar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainless%2Fakar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainless%2Fakar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainless%2Fakar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainless%2Fakar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainless","download_url":"https://codeload.github.com/brainless/akar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainless%2Fakar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35201088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-06T17:30:26.538Z","updated_at":"2026-07-06T17:30:27.101Z","avatar_url":"https://github.com/brainless.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# akar\n\nA GPU-accelerated, language-neutral UI component library built on [wgpu](https://github.com/gfx-rs/wgpu) and [glyphon](https://github.com/grovesNL/glyphon). Provides ready-to-use components — buttons, cards, inputs, tables, overlays — styled out of the box and arranged with a flexbox layout engine.\n\n## Why\n\nBuilding a desktop or embedded UI with wgpu today means writing your own rect renderer, text shaping pipeline, layout engine, hover/focus state machine, and component primitives from scratch — every time. akar collapses that boilerplate into a single library with a stable C ABI, so you focus on your application, not the rendering plumbing.\n\nThe component catalog is inspired by shadcn/ui and daisyUI: a small set of well-styled, composable primitives that cover 90% of real UIs without fighting a framework.\n\n## Design philosophy\n\n- **Immediate mode.** You call draw functions; the library draws. No retained widget tree, no diffing, no ownership puzzles. State lives where you put it.\n- **Language neutral.** The public API is a C ABI (a `.dylib`/`.so`/`.dll` + `akar.h`). Any language that can call C can use akar. Rust is the implementation detail.\n- **Zero framework opinions.** No event loop, no async runtime, no message-passing model imposed. You feed input; you drive the frame. Wire it to winit, SDL2, GLFW, or a test harness — your choice.\n- **Batteries-included components.** Buttons, badges, labels, cards, inputs, checkboxes, toggles, selects, sliders, modals, drawers, tables, progress bars, toasts — pre-styled, themeable via a flat token struct.\n- **Layout via Flexbox.** Built on [taffy](https://github.com/DioxusLabs/taffy): the same CSS Flexbox model you already know, resolved to pixel coordinates before draw calls.\n- **Virtualization first.** Infinite scroll and large data grids are first-class via a list-clipper API. The library never renders what is off-screen.\n\n## For whom\n\n- **Rust developers** who want an ImGui-class productivity boost without giving up wgpu's rendering power.\n- **Non-Rust developers** (Go, Python, Zig, Swift, C#, Odin...) who want a native GPU UI without a Rust toolchain in their build.\n- **Game and simulation developers** who need UI panels that coexist with a wgpu render pass.\n- **Tool authors** — CLI tools with a GUI escape hatch, data viewers, dev-tool overlays.\n\n## Stack\n\n- **Renderer:** wgpu 29 (quad + text pipeline)\n- **Text:** glyphon (cosmic-text backed, GPU atlas)\n- **Layout:** taffy (CSS Flexbox / Grid)\n- **Math:** glam\n- **C ABI:** Rust `extern \"C\"` + `cbindgen`-generated `akar.h`\n- **Optional windowing integration:** winit (in a separate `akar-winit` crate)\n\n## Status\n\n**Pre-alpha.** Architecture and API are being designed. No stable public API yet.\n\nSee `epics/` for the current design roadmap.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainless%2Fakar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainless%2Fakar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainless%2Fakar/lists"}