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

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

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

pterm/pterm

0
View on GitHub↗
5,470 星标·220 分支·Go·MIT·6 次浏览pterm.sh↗

Pterm

pterm 是一个 Go 终端 UI 库,用于构建丰富的命令行界面。它为终端数据可视化、操作进度跟踪、交互式用户输入和结构化日志记录提供了工具集。

该库通过一套全面的视觉工具脱颖而出,包括用于交互式终端提示(如选择菜单和确认对话框)的框架,以及用于渲染条形图、热力图和树状结构的专用系统。它还包含一个结构化终端记录器,能够生成分级、彩色的系统消息。

该项目涵盖了广泛的功能领域,包括布局和格式化、通过进度条和旋转器进行的监控与可观测性,以及用于在控制台中保持统一视觉标识的全局主题管理。

Features

  • Command Line Interface Design - Provides the design framework and tools for building professional terminal applications with structured layouts.
  • Terminal Prompt Libraries - Implements a toolkit for interactive console input using selection menus, confirmation dialogs, and masked fields.
  • Structured Console Logging - Ships a structured terminal logger capable of producing leveled, colorful, and formatted system messages.
  • Task Progress Indicators - Provides internal tracking and rendering of real-time progress indicators like bars and spinners for background tasks.
  • TUI Progress Indicators - Communicates the status of long running background operations using real time progress bars and activity spinners.
  • Terminal Output - Provides a system for rendering formatted text and layout components to build visually appealing CLIs.
  • Terminal Progress Indicators - Provides dynamic, overwritable terminal progress bars and activity spinners to communicate the status of background operations.
  • Console Output Formatting - Organizes console output into structured elements like tables, panels, boxes, and aligned paragraphs.
  • Go TUI Libraries - Serves as a comprehensive toolkit for building rich text-based user interfaces specifically for the Go language.
  • Terminal Input Prompts - Provides a framework for building interactive terminal prompts including selection menus and confirmation dialogs.
  • Terminal Data Visualizations - Renders complex data sets using text-based graphics including tables, bar charts, and heatmaps.
  • Terminal Text Coloring - Provides a comprehensive system for applying ANSI-based colors and styles to terminal text output.
  • Visual Theme Configurations - Offers centralized configuration for global styles, palettes, and visual themes across all console components.
  • TUI Layout Engines - Implements a layout engine that organizes terminal data into structured tables, trees, and panels.
  • Console Theme Management - Provides a centralized mechanism to define and override global styles and prefixes for a uniform visual identity.
  • Terminal - Provides a set of tools for rendering tables, bar charts, heatmaps, and tree structures in the terminal.
  • Formatted Console Outputs - Implements a logger that produces leveled, colorful, and formatted system messages to the console.
  • Concurrent Terminal Output Coordination - Implements synchronization to manage multiple simultaneous progress indicators and loading states in a single terminal view.
  • Console Progress Toolkits - Provides a collection of progress bars and spinners for communicating the status of background operations.
  • Dynamic Console Area Management - Manages and refreshes specific regions of the terminal without requiring a full screen redraw.
  • Terminal Region Refreshing - Tracks specific line coordinates to overwrite existing terminal content without redrawing the entire screen.
  • TUI Update Coordination - Synchronizes multiple live-updating components to prevent overlapping writes and flickering during terminal updates.
  • Command Line Tools - Library for charts, tables, and progress bars.
  • Console Interfaces - Listed in the “Console Interfaces” section of the Awesome Go awesome list.
  • Console UI - Cross-platform console output beautification.
  • Terminal User Interfaces - Library for beautifying console output with components.
  • TUI Libraries - Go module for console output.

Star 历史

pterm/pterm 的 Star 历史图表pterm/pterm 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

pterm/pterm 是做什么的?

pterm 是一个 Go 终端 UI 库,用于构建丰富的命令行界面。它为终端数据可视化、操作进度跟踪、交互式用户输入和结构化日志记录提供了工具集。

pterm/pterm 的主要功能有哪些?

pterm/pterm 的主要功能包括:Command Line Interface Design, Terminal Prompt Libraries, Structured Console Logging, Task Progress Indicators, TUI Progress Indicators, Terminal Output, Terminal Progress Indicators, Console Output Formatting。

pterm/pterm 有哪些开源替代品?

pterm/pterm 的开源替代品包括: gizak/termui — Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a… jroimartin/gocui — gocui is a console user interface library for the Go programming language. It provides a toolkit for building… rivo/tview — tview is a library for building interactive text-based user interfaces in Go. It functions as a toolkit for managing… schollz/progressbar — This project is a thread-safe terminal progress bar and IO progress wrapper for Go applications. It provides a library… fatih/color — This is an ANSI terminal color library and console output manager used for applying colors and text attributes to… gdamore/tcell — tcell is a Go terminal user interface library and framework for building cell-based applications. It functions as a…

Pterm 的开源替代方案

相似的开源项目,按与 Pterm 的功能重合度排序。
  • gizak/termuigizak 的头像

    gizak/termui

    13,574在 GitHub 上查看↗

    Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a command-line environment. It functions as a TUI layout engine, an interactive CLI framework, and a terminal data visualization toolkit. The library provides a set of specialized widgets for rendering charts, plots, gauges, and tables using character-based graphics. It includes a grid-based system for arranging interface elements using relative coordinates and proportional sizing to create structured displays. The toolkit covers a broad range of capabilities including data visua

    Go
    在 GitHub 上查看↗13,574
  • jroimartin/gocuijroimartin 的头像

    jroimartin/gocui

    10,575在 GitHub 上查看↗

    gocui is a console user interface library for the Go programming language. It provides a toolkit for building interactive terminal applications using a layout engine that organizes overlapping rectangular views and coordinates. The library features a terminal input handler to capture and map keyboard shortcuts and mouse events to specific application actions. It includes an ANSI escape sequence parser to manage text attributes, colors, and cursor positioning. The framework covers interface view management and overlapping window layering, allowing for a structured arrangement of content. Rend

    Gocuigogocui
    在 GitHub 上查看↗10,575
  • rivo/tviewrivo 的头像

    rivo/tview

    13,928在 GitHub 上查看↗

    tview is a library for building interactive text-based user interfaces in Go. It functions as a toolkit for managing event loops, user input, and screen rendering, providing a framework of pre-built widgets and an integrated layout engine for creating command-line applications. The project distinguishes itself through a comprehensive layout system that uses grid and flexbox models to create responsive designs. It also supports UI layer stacking to manage multiple screens and modal overlays. The framework includes a diverse suite of interactive components for data display, such as tables and

    Gogolangterminal-baseduser-interface
    在 GitHub 上查看↗13,928
  • schollz/progressbarschollz 的头像

    schollz/progressbar

    4,678在 GitHub 上查看↗

    This project is a thread-safe terminal progress bar and IO progress wrapper for Go applications. It provides a library for rendering updating progress indicators and activity spinners within a command-line interface to visualize task completion and data stream progress. The library includes a stream-wrapping IO interceptor that automatically tracks and displays the volume of bytes processed during read or write operations. It also supports indeterminate activity spinners for processes where the total work volume is unknown. Users can configure the visual appearance of the progress indicators

    Gocommand-linegogolang
    在 GitHub 上查看↗4,678
查看 Pterm 的所有 30 个替代方案→