# rensbreur/SwiftTUI

SwiftUI for terminal applications

Repository: https://github.com/rensbreur/SwiftTUI
Canonical: https://ross.abutalabs.com/products/swifttui
Language: Swift
License: MIT
License Family: permissive
Topics: swift, swiftui, terminal
Last push: 2024-07-09T19:53:46+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1491, "days_push": 785, "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 1534, forks 88 (observed 2026-08-28T04:04:59.714160+00:00)

## What it is
SwiftTUI is a Swift framework that brings SwiftUI's declarative API to terminal applications. It supports state management property wrappers, layout, scrollable views, buttons, text fields, and ANSI/TrueColor styling for building text-based user interfaces.

## Use cases
- build terminal user interfaces in Swift
- write TUI apps using SwiftUI syntax
- create interactive command-line apps with buttons and text fields
- declarative terminal UI with state management
- build a terminal to-do list app

## When to choose
- you know SwiftUI and want the same API in the terminal
- building interactive terminal apps on macOS or Linux in Swift

## When to avoid
- you need a production-grade TUI toolkit with full SwiftUI parity
- you target platforms other than macOS/Linux or languages other than Swift

## Facets
- artifact type: framework
- maturity: active
- function: ui-components, frontend-framework, terminal-ui, state-management
- domain: developer-tools, cross-platform
- platform: cli
- tags: swiftui, tui, declarative-ui, command-line, macos, linux, swift

## Member repositories
- rensbreur/SwiftTUI (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.714160+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:13.219280+00:00, confidence not recorded.
  - readme: https://github.com/rensbreur/SwiftTUI (fetched 2026-08-28T04:04:59.714160+00:00, sha d8830bf793e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
