# TTY

Toolkit for developing sleek command line apps.

Repository: https://github.com/piotrmurach/tty
Canonical: https://ross.abutalabs.com/products/tty
Homepage: https://ttytoolkit.org
Language: Ruby
License: MIT
License Family: permissive
Topics: tty-components, cli, cli-app, ruby-cli, terminal, ruby-gem
Last push: 2022-12-31T11:46:26+00:00
Link (homepage): https://ttytoolkit.org

## 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": 5085, "days_push": 1341, "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 2530, forks 82 (observed 2026-08-28T04:06:58.824417+00:00)

## What it is
TTY is a modular Ruby toolkit for building command-line applications, providing a `teletype` scaffolding executable and composable components like tty-prompt, tty-table, tty-progressbar, tty-logger, and tty-option. Each component is a small, independently installable gem that follows the Unix philosophy of doing one thing well.

## Use cases
- build a command line app in ruby
- generate cli project scaffolding
- create interactive terminal prompts with menus and validation
- render tables and progress bars in the terminal
- parse command line arguments and options
- add structured logging to a terminal tool
- build cross-platform terminal utilities

## When to choose
- you are writing a Ruby CLI tool and want polished, composable terminal components
- you want project scaffolding and command generation out of the box
- you prefer small, focused, Unix-style libraries you can mix and match
- you need reliable cross-platform terminal behavior

## When to avoid
- your CLI is written in a language other than Ruby
- you need a single batteries-included framework rather than modular gems
- you require very recent releases or active new feature development, as the project is in maintenance mode

## Facets
- artifact type: framework
- maturity: maintenance
- function: cli, developer-tools, terminal-ui, templating, logging
- domain: developer-tools, cross-platform
- platform: ruby, cli, cross-platform, windows
- tags: ruby-gem, tty-toolkit, terminal-apps, scaffolding, modular-components, interactive-prompts, command-line, linux, macos

## Member repositories
- piotrmurach/tty (main) score 32
- piotrmurach/tty-prompt (plugin) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.824417+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:25:20.459308+00:00, confidence not recorded.
  - readme: https://github.com/piotrmurach/tty (fetched 2026-08-28T04:06:58.824417+00:00, sha 4299f12d06d1)
  - homepage: https://ttytoolkit.org (fetched 2026-08-29T10:07:36.370168+00:00, sha db27074c1e26)
- Data as of 2026-08-30T08:39:29.467469+00:00.
