awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Terminal output formatter

排名更新于 2026年7月23日

For output formatting tools, the strongest matches are textualize/rich (Rich is a comprehensive Python library that provides rich), willmcgugan/rich (Rich is a comprehensive Python terminal formatting library that) and shikijs/shiki (Shiki is a syntax highlighting engine that produces ANSI). jakubonderka/php-console-highlighter and chalk/chalk round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Hand-picked terminal output formatter repositories ranked by stars and activity. Compare the top tools and find the right one for your CLI.

Terminal output formatter

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • textualize/richTextualize 的头像

    Textualize/rich

    56,636在 GitHub 上查看↗

    Rich is a comprehensive library for building sophisticated command-line interfaces and terminal applications. It provides a robust console formatting engine and a layout framework that enables developers to render rich text, syntax-highlighted code, and complex data structures directly in the terminal. By utilizing a recursive constraint-based layout engine, the library allows for the creation of hierarchical grids, panels, and trees that maintain their structure even as terminal dimensions change. What distinguishes the library is its ability to manage persistent, real-time terminal interfac

    Rich is a comprehensive Python library that provides rich text styling, syntax highlighting, tables, progress bars, and markdown rendering for terminal applications, making it an ideal fit for this search.

    PythonCode HighlightingData Pretty PrintersGrid Layouts
    在 GitHub 上查看↗56,636
  • willmcgugan/richwillmcgugan 的头像

    willmcgugan/rich

    56,640在 GitHub 上查看↗

    Rich is a Python terminal formatting library and user interface framework. It provides tools for rendering rich text, colors, and complex layouts within a terminal environment, including specialized formatters for markdown and source code syntax highlighting. The library distinguishes itself through high-level UI components such as tables with unicode borders, hierarchical tree views for nested data structures, and a system for building structured terminal user interfaces. It also includes a debugging visualizer for pretty-printing complex data and formatting error tracebacks. The capability

    Rich is a comprehensive Python terminal formatting library that provides rich text styling, syntax highlighting, table and grid layouts, progress bars, markdown rendering, and data pretty printing.

    PythonData Pretty PrintersProgress BarsData Visualization Components
    在 GitHub 上查看↗56,640
  • shikijs/shikishikijs 的头像

    shikijs/shiki

    12,946在 GitHub 上查看↗

    Shiki is a syntax highlighting engine that generates color-coded HTML or ANSI output from source code. It functions as a static code highlighter, utilizing standard grammar definitions to parse text and apply accurate visual styling for documentation and terminal displays. The engine distinguishes itself by using a TextMate grammar parser to interpret text patterns, ensuring that code displays match the visual appearance of professional editors. It operates through an isomorphic runtime that supports both browser and server environments, utilizing WebAssembly for consistent execution and pre-

    Shiki is a syntax highlighting engine that produces ANSI output for terminal displays, fitting the required syntax highlighting feature well even though it is primarily focused on code coloring rather than full-featured terminal UI layout.

    TypeScriptCode Highlighting
    在 GitHub 上查看↗12,946
  • jakubonderka/php-console-highlighterJakubOnderka 的头像

    JakubOnderka/PHP-Console-Highlighter

    6,166在 GitHub 上查看↗

    PHP-Console-Highlighter is a syntax highlighter and console code formatter designed to apply color-coding to PHP source code for display in terminal environments. It functions as a utility to transform plain PHP text into visually structured code for command line interfaces. The tool enables terminal-based code review and provides formatted output for PHP static analysis tools and command line applications. It uses regex-based tokenization and ANSI sequence color mapping to translate syntax tokens into colored text.

    This repository provides syntax highlighting for PHP code in terminal environments, fulfilling the code highlighting aspect of your search even though it lacks other text styling and layout features.

    PHPCode Highlighting
    在 GitHub 上查看↗6,166
  • chalk/chalkchalk 的头像

    chalk/chalk

    23,262在 GitHub 上查看↗

    Chalk is a Node.js console formatter and terminal styling library used to add colors and text modifiers to command line output. It functions as a tool for formatting strings with foreground colors, background tints, and text styles using ANSI escape sequences. The library includes a terminal color support detector that automatically determines the color depth and capabilities of the current environment. It features an ANSI color downsampler that converts RGB, Hex, or 256-color values to the nearest compatible format based on the detected terminal capabilities. The project provides capabiliti

    Chalk is a popular terminal styling library for Node.js that provides rich text formatting and color support detection, though it focuses purely on color and styling rather than higher-level features like markdown rendering or tables.

    JavaScriptTerminal Color FormattingTerminal Text Styling
    在 GitHub 上查看↗23,262
  • yaronn/blessed-contribyaronn 的头像

    yaronn/blessed-contrib

    15,745在 GitHub 上查看↗

    blessed-contrib is a terminal user interface framework and a Node.js console widget library designed for building data-driven command line interfaces. It serves as an ASCII data visualization toolkit and a dashboard framework for organizing grid-based layouts and interactive elements within a console. The project provides a collection of reusable terminal components, including a command line image renderer and tools for text-based graphic rendering. It specifically enables the creation of terminal dashboards through a system for positioning multiple widgets across rows and columns and a mecha

    blessed-contrib is a Node.js terminal user interface and grid layout library that helps build rich console dashboards, though it focuses more on data visualization and widget components than general text pretty printing.

    JavaScriptGrid LayoutsTerminal Markdown Renderers
    在 GitHub 上查看↗15,745
  • sindresorhus/orasindresorhus 的头像

    sindresorhus/ora

    9,714在 GitHub 上查看↗

    Ora is a terminal spinner library and Node.js CLI component used to integrate animated loading indicators and task-outcome symbols into JavaScript-based terminal applications. It functions as a progress visualizer that signals the status of command-line operations through animated sequences of characters. The library provides promise-based spinner wrapping, allowing animations to start and resolve automatically based on the outcome of asynchronous tasks. It replaces active animations with specific success, failure, warning, or info symbols to communicate the final result of a process. The to

    Ora is a JavaScript library for adding animated terminal spinners and loading indicators, cleanly fitting the progress-bar aspect of your search for terminal output styling tools.

    JavaScriptSpinners
    在 GitHub 上查看↗9,714
  • sharkdp/batsharkdp 的头像

    sharkdp/bat

    59,284在 GitHub 上查看↗

    This project is a command-line text viewer designed to enhance terminal output through automatic syntax highlighting and integrated file management. It functions as a replacement for standard system pagers, providing a readable interface for large text streams, source code, and markup files by applying color-coded formatting directly to the terminal output. The utility distinguishes itself through deep integration with version control systems, allowing users to inspect repository status and historical file changes with visual markers displayed in the output margin. It employs heuristic-based

    This command-line text viewer provides automatic syntax highlighting and rich color-coded terminal output as a pager, making it a strong fit for styling terminal views even though it lacks layout and data-printing features.

    RustSyntax Highlighters
    在 GitHub 上查看↗59,284
  • charmbracelet/lipglosscharmbracelet 的头像

    charmbracelet/lipgloss

    10,591在 GitHub 上查看↗

    This project is a framework for composing terminal interfaces through declarative styling and a grid-based layout engine. It provides a comprehensive toolkit for building responsive command-line applications by managing ANSI escape sequences, color profiles, and text rendering to ensure consistent visual output across different terminal environments. The library distinguishes itself through its ability to automatically detect terminal capabilities and background themes, allowing it to adjust color schemes and downsample profiles for optimal readability. It utilizes a layered composition model

    This Go library provides rich text styling and layout capabilities for the terminal, though you will need to pair it with other tools for markdown and syntax highlighting.

    GoData Visualization ComponentsTerminal Text Styling
    在 GitHub 上查看↗10,591
  • rsalmei/alive-progressrsalmei 的头像

    rsalmei/alive-progress

    6,245在 GitHub 上查看↗

    This repository provides animated progress bars and spinners for the command line, directly addressing the progress-bar styling requirement even though it lacks broader layout and syntax-highlighting features.

    PythonProgress Bars
    在 GitHub 上查看↗6,245
  • gookit/colorgookit 的头像

    gookit/color

    1,604在 GitHub 上查看↗

    🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染

    This Go library provides terminal color and styling capabilities, making it a fitting building block for rich text output although it does not cover layout or data rendering features.

    GoCommand Line InterfacesCommand Line ToolsConsole Interfaces
    在 GitHub 上查看↗1,604
  • arches/table_printarches 的头像

    arches/table_print

    906在 GitHub 上查看↗

    Table print is a Ruby console table formatter and data inspection utility that transforms collections of structured objects into aligned terminal tables. It functions as a development aid for debugging by formatting object attributes into readable text tables, traversing nested object relations, and displaying associated child records directly within parent table rows. The library includes options for table column customization, allowing users to adjust individual column widths, define custom headers, apply data formatting rules, and use cell value transformers. It also provides persistent c

    This Ruby library formats and prints tabular data in the terminal, making it a relevant tool for structuring text data although it lacks the broader styling, markdown, and progress bar features.

    RubyConsole Output FormattingObject Inspection ToolsTable Column Formatting
    在 GitHub 上查看↗906
  • automattic/cli-tableAutomattic 的头像

    Automattic/cli-table

    2,298在 GitHub 上查看↗

    Cli-table is a command-line utility and Node.js library for rendering structured, Unicode-bordered tables with custom widths and alignment in terminal applications. It functions as a table formatting tool designed to style headers, pad cells, and truncate text output for command-line tools. The library supports custom box-drawing characters and corner pieces assembled dynamically around cell content to form structured grid layouts. It handles column-width-based cell wrapping by calculating character lengths to split and wrap multi-line text within fixed terminal bounds, alongside ANSI-style h

    automattic/cli-table is a JavaScript library specifically designed for rendering pretty unicode tables and grid layouts in the terminal, though it lacks the wider styling and progress bar features.

    JavaScriptTerminal TablesBox-Drawing UtilitiesTable-Based Formatting
    在 GitHub 上查看↗2,298
一览前 10 名对比
仓库Star 数语言许可证最后推送
textualize/rich56.6KPythonMIT2026年6月15日
willmcgugan/rich56.6KPythonMIT2026年6月15日
shikijs/shiki12.9KTypeScriptmit2026年2月12日
jakubonderka/php-console-highlighter6.2KPHPMIT2020年4月2日
chalk/chalk23.3KJavaScriptMIT2026年1月27日
yaronn/blessed-contrib15.7KJavaScriptMIT2026年5月1日
sindresorhus/ora9.7KJavaScriptMIT2026年4月22日
sharkdp/bat59.3KRustApache-2.02026年6月1日
charmbracelet/lipgloss10.6KGomit2026年2月18日
rsalmei/alive-progress6.2KPythonmit2025年10月9日

Related searches

  • a terminal utility for improving developer productivity
  • an open source rich text editor library
  • an open source tool for managing fonts
  • a plugin for enhancing IDE developer productivity
  • an open source platform for team communication
  • an open source vector graphics editor
  • Internationalization libraries
  • Text conversion tools