# ccbrown/iocraft

A Rust crate for beautiful, artisanally crafted CLIs, TUIs, and text-based IO.

Repository: https://github.com/ccbrown/iocraft
Canonical: https://ross.abutalabs.com/products/iocraft
Homepage: https://crates.io/crates/iocraft
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: cli, logs, rust, terminal, tui, iocraft
Last push: 2026-08-20T02:23:05+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 98, longevity 52
- inputs: {"age_days": 730, "days_push": 14, "days_rel": 14, "gap_med": 3, "n_releases_24m": 60}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1524, forks 60 (observed 2026-08-28T04:04:58.266268+00:00)

## What it is
iocraft is a Rust crate for building beautiful CLIs, TUIs, and text-based output using a declarative, React-like component API. It supports flexbox layouts, styling, hooks, event handling, and fullscreen terminal applications across Unix and Windows.

## Use cases
- build a tui in rust
- create styled terminal output with colors and borders
- make an interactive cli with text input
- build a fullscreen terminal app
- render formatted text layouts in logs
- rust alternative to ink or react for terminals

## When to choose
- you want a React-like declarative API for terminal UIs in Rust
- you need flexbox-based layouts and styled text output
- you need cross-platform Unix and Windows terminal support

## When to avoid
- you need a GUI rather than text-based interfaces
- you prefer an immediate-mode TUI approach like ratatui
- you are not working in Rust

## Facets
- artifact type: library
- maturity: active
- function: terminal-ui, cli, ui-components, templating
- domain: developer-tools, cross-platform
- platform: rust, windows, cli
- tags: tui, react-like, declarative-ui, flexbox, rust-crate, command-line, linux, macos

## Member repositories
- ccbrown/iocraft (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.266268+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-30T04:31:42.162520+00:00, confidence not recorded.
  - readme: https://github.com/ccbrown/iocraft (fetched 2026-08-28T04:04:58.266268+00:00, sha 5b0473ccbbb2)
  - registry_crates: https://crates.io/api/v1/crates/iocraft (fetched 2026-08-29T11:34:25.483139+00:00, sha 4e5e7a3378d0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
