# redox-os/termion

Mirror of https://gitlab.redox-os.org/redox-os/termion

Repository: https://github.com/redox-os/termion
Canonical: https://ross.abutalabs.com/products/termion
Language: Rust
License: MIT
License Family: permissive
Topics: terminal, tui, tty, rust
Last push: 2025-12-11T05:17:28+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 56, release rhythm 35, longevity 100
- inputs: {"age_days": 3832, "days_push": 265, "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 2167, forks 116 (observed 2026-08-28T04:06:21.446552+00:00)

## What it is
Termion is a pure Rust, bindless library for low-level terminal handling, manipulation, and information reading, providing a full-featured alternative to Termbox. It talks directly to the TTY without wrapping ncurses or other libraries, generating ANSI escape sequences through a clean, expressive API.

## Use cases
- build terminal user interfaces in Rust without ncurses
- read raw keyboard and mouse input from the TTY
- manipulate terminal cursor position and colors via ANSI escapes
- switch to alternate screen buffer and raw mode
- query terminal size and attributes
- write cross-platform ANSI terminal applications on Linux, macOS, and BSD

## When to choose
- you want a lightweight, dependency-free Rust terminal library
- you need low-level control over TTY behavior and escape sequences
- you are building a TUI framework or CLI tool from scratch
- you want a Termbox alternative in pure Rust

## When to avoid
- you need a high-level TUI framework with widgets and layout
- you are building a GUI application rather than a terminal one
- you need Windows console API support beyond ANSI terminals
- you prefer batteries-included libraries like crossterm with broader platform support

## Facets
- artifact type: library
- maturity: stable
- function: terminal-ui, developer-tools
- domain: developer-tools, cross-platform
- platform: windows, rust, cli
- tags: tty, ansi-escapes, tui, bindless, redox, command-line, linux, macos

## Member repositories
- redox-os/termion (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.446552+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:49:55.341339+00:00, confidence not recorded.
  - readme: https://github.com/redox-os/termion (fetched 2026-08-28T04:06:21.446552+00:00, sha efabdf67f6d9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
