console-rs/console
A rust console and terminal abstraction observed · 2026-09-03
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 75
- age_days: 3403
- days_rel: 20
- days_push: 0
- n_releases_24m: 10
Adoption not part of the score
1190 stars · 141 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
console is a Rust library providing a cross-platform terminal abstraction through the Term type, with utilities for colors, styles, ANSI code handling, and text measurement. It is a foundational building block for building nicer command line interfaces in Rust.
Use cases
- style terminal output with colors in rust
- detect tty and enable/disable colors automatically
- strip ansi escape codes from strings
- measure displayed text width with unicode support
- clear or write terminal lines programmatically
- build cross-platform cli tools in rust
When to choose
- you need low-level terminal access and text styling in a Rust CLI
- you want automatic color detection following the clicolors standard
- you need ANSI stripping or text width measurement for formatting
- you are building on top of dialoguer or indicatif
When to avoid
- you need full-featured TUI layouts or widgets (use ratatui instead)
- you need interactive prompts or progress bars (use dialoguer or indicatif)
- your project is not written in Rust
Facets
library · maturity stable
terminal-ui developer-tools cli developer-tools cross-platform rust windows cli ansi-codes terminal-colors text-styling unicode-width tty-detection command-line linux macos
2 sources
- readme: https://github.com/console-rs/console · fetched 2026-09-03 · 1e63da96ef70
- registry_crates: https://crates.io/api/v1/crates/console · fetched 2026-08-29 · 6fd89a83d1b0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| console-rs/console | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="console-rs/console")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem