Analysis updated 2026-07-03
Preview a Python script or other code file in the terminal with syntax highlighting and line numbers instead of plain text.
Display a JSON file with color-coded structure to quickly spot the data you need.
View a Markdown document rendered with proper headers and bold text instead of raw symbols.
Fetch and display a file from a URL directly in the terminal without downloading it first.
| textualize/rich-cli | disler/claude-code-hooks-mastery | oop7/ytsage | |
|---|---|---|---|
| Stars | 3,665 | 3,664 | 3,667 |
| Language | Python | Python | Python |
| Setup difficulty | easy | moderate | easy |
| Complexity | 1/5 | 3/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Rich-CLI is a command-line tool that makes reading files in the terminal much more pleasant. Instead of seeing plain text, you run the rich command followed by a filename and the output comes out color-coded and easy to scan. It was built by the Textualize team using their Rich Python library, and is installable via Homebrew on macOS, via pipx on Windows and Linux, or via pip and conda on any system. The main thing it does is display files with syntax coloring. Point it at a Python script or most other code file types and it highlights keywords, strings, and comments in colors suited to that language. You can add line numbers and indentation guides, pick a color theme, and control line wrapping. Different file formats get specialized handling: Markdown files render with proper headers and bold text instead of showing the raw symbols, JSON files display with color-coded structure, CSV and TSV spreadsheets show up as formatted tables, and Jupyter notebook files handle code cells and text cells separately. Rich-CLI is not limited to local files. You can hand it a URL starting with http:// or https:// and it will fetch and display that file directly. You can also pipe output from another program into it using the - placeholder. For long files, a built-in scrollable pager lets you navigate without content rushing past the screen. There are controls for the visual presentation: set a fixed output width, align the block left or center or right within the terminal, set how text justifies within that block, and apply custom styles like background colors. If you want to apply inline styling to a short piece of text rather than a file, the --print flag treats your text as markup and renders colors and bold directly. Rendered output can also be exported to an HTML file for sharing or archiving.
A command-line tool that displays files in the terminal with syntax highlighting, rendered Markdown, colored JSON, spreadsheet tables, and more, plus URL fetching and HTML export.
Mainly Python. The stack also includes Python, Rich.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.