# Textualize/trogon

Easily turn your Click CLI into a powerful terminal application

Repository: https://github.com/Textualize/trogon
Canonical: https://ross.abutalabs.com/products/trogon
Language: Python
License: MIT
License Family: permissive
Last push: 2025-04-15T14:06:19+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 16, release rhythm 8, longevity 88
- inputs: {"age_days": 1233, "days_push": 505, "days_rel": 700, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2840, forks 74 (observed 2026-08-28T04:07:24.729275+00:00)

## What it is
Trogon is a Python library that auto-generates a friendly terminal user interface (TUI) for Click-based command line apps using the Textual framework. It inspects the CLI's options and switches to build an interactive form for editing and running commands.

## Use cases
- add a tui to my click cli app
- make my command line tool easier to discover options
- generate terminal ui from python cli
- help users who forget cli flags and switches
- build a swagger-like interface for a cli
- interactive form for running cli commands

## When to choose
- your CLI is built with Click and you want a TUI with minimal code changes
- users struggle to remember your app's many options and flags
- you want a Textual-based interactive interface for running commands

## When to avoid
- your CLI is not built with Click (other libraries not yet supported)
- you need a fully polished, stable TUI framework for production
- you want a GUI rather than a terminal interface

## Facets
- artifact type: library
- maturity: active
- function: cli, terminal-ui, developer-tools, gui
- domain: developer-tools, cross-platform
- platform: python, cli, cross-platform
- tags: click, textual, tui, auto-generated-ui, cli-discoverability, command-line

## Member repositories
- Textualize/trogon (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.729275+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-30T07:37:15.867110+00:00, confidence not recorded.
  - readme: https://github.com/Textualize/trogon (fetched 2026-08-28T04:07:24.729275+00:00, sha f210c615f979)
  - registry_pypi: https://pypi.org/pypi/trogon/json (fetched 2026-08-29T09:52:51.517830+00:00, sha d990fd588614)
- Data as of 2026-08-30T08:39:29.467469+00:00.
