# jtdaugherty/brick

A declarative Unix terminal UI library written in Haskell

Repository: https://github.com/jtdaugherty/brick
Canonical: https://ross.abutalabs.com/products/jtdaugherty-brick
Language: Haskell
License: BSD-3-Clause
License Family: permissive
Topics: vty, haskell, terminal, ui, tui, framework, curses
Last push: 2026-08-26T03:28:07+00:00

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

## Adoption (not part of the score)
Stars 1729, forks 173 (observed 2026-08-28T04:05:28.498574+00:00)

## What it is
Brick is a declarative terminal user interface (TUI) programming toolkit for Haskell, built on top of the vty library. Applications are written as pure functions that render the UI from application state, plus event-handling functions that transform state.

## Use cases
- build a terminal user interface in Haskell
- write a TUI file manager or git client
- create interactive terminal apps with declarative layout
- build a terminal dashboard or game
- make a curses-style application without manual widget layout

## When to choose
- you are writing a Haskell program that needs a rich terminal UI
- you prefer declarative layout combinators over imperative widget setup
- you need cross-platform terminal support including Windows

## When to avoid
- you need a graphical (non-terminal) interface
- you are not working in Haskell
- you need a quick one-off script where a simple CLI suffices

## Facets
- artifact type: framework
- maturity: active
- function: terminal-ui, ui-components, gui
- domain: developer-tools, cross-platform
- platform: windows, cli, cross-platform
- tags: haskell, tui, vty, declarative-ui, command-line, linux, macos

## Member repositories
- jtdaugherty/brick (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.498574+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-30T03:31:57.212329+00:00, confidence not recorded.
  - readme: https://github.com/jtdaugherty/brick (fetched 2026-08-28T04:05:28.498574+00:00, sha c5e6e8d0f7cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
