# capy-ui/capy

💻Build one codebase and get native UI on Windows, Linux and Web

Repository: https://github.com/capy-ui/capy
Canonical: https://ross.abutalabs.com/products/capy
Homepage: https://capy-ui.org
Language: Zig
License: MPL-2.0
License Family: copyleft
Topics: zig, gui, ui, zig-package, ziglang, cross-platform, linux, windows, cross-platform-gui, gui-library, user-interface
Last push: 2025-12-25T10:49:42+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 59, release rhythm 8, longevity 100
- inputs: {"age_days": 1988, "days_push": 251, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2679, forks 101 (observed 2026-08-28T04:07:09.957439+00:00)

## What it is
Capy is a declarative cross-platform GUI library for Zig that renders native controls using each target OS's toolkit (win32, Cocoa, GTK, Web). It supports cross-compilation from any platform to any other and exports a C API usable from other languages.

## Use cases
- build a desktop app in zig with native controls
- one codebase for windows linux and web uis
- small native gui executables without electron
- cross-compile a gui app from linux to windows
- accessible native ui toolkit for zig
- embed a native gui in a zig application

## When to choose
- you write in Zig and want native look-and-feel per platform
- you need tiny binaries and no runtime/VM overhead
- accessibility and OS-native keyboard/IME support matter
- you want seamless cross-compilation of UI apps

## When to avoid
- you need a production-ready, API-stable toolkit - breaking changes are ongoing
- you need macOS or Android today (work in progress) or iOS (planned)
- you want to embed UI inside a game or custom rendering pipeline (explicit non-goal)
- your team doesn't use Zig and the C API is insufficient

## Facets
- artifact type: library
- maturity: experimental
- function: gui, ui-components, desktop-framework
- domain: cross-platform, desktop-applications, web-development, developer-tools
- platform: windows, browser, cross-platform
- tags: zig, native-ui, declarative-ui, cross-compilation, accessibility, gui-toolkit, wasm, linux, desktop

## Member repositories
- capy-ui/capy (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.957439+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:57.191587+00:00, confidence not recorded.
  - readme: https://github.com/capy-ui/capy (fetched 2026-08-28T04:07:09.957439+00:00, sha 8b1e5ac85009)
  - homepage: https://capy-ui.org (fetched 2026-08-29T10:00:18.444238+00:00, sha c92b31ca476c)
  - site_page: https://capy-ui.org/docs (fetched 2026-08-29T10:00:18.453144+00:00, sha 9d228621d280)
  - site_page: https://capy-ui.org/features (fetched 2026-08-29T10:00:18.454880+00:00, sha 0b3568903269)
  - site_page: https://capy-ui.org/docs/getting-started/installation (fetched 2026-08-29T10:00:18.456501+00:00, sha a41e419d8950)
- Data as of 2026-08-30T08:39:29.467469+00:00.
