Favicon of pterm

pterm

Go module for building beautiful CLI applications with progress bars, tables, trees, charts, and interactive components. Fully customizable and works across Windows, macOS, and Linux.

PTerm is a modern Go framework designed to transform plain console output into visually appealing terminal interfaces. Whether you're building command-line tools, deployment scripts, or interactive applications, PTerm provides the components you need to create professional-looking terminal experiences.

Key capabilities include:

  • Rich Components: Access 25+ pre-built printers including progress bars, tables, trees, bar charts, heatmaps, spinners, and interactive prompts
  • Cross-Platform Support: Works seamlessly on Windows CMD, macOS, Linux, and CI/CD systems like GitHub Actions
  • Minimal Setup Required: Start using PTerm immediately with sensible defaults, or customize every aspect to match your design
  • Interactive Elements: Build user interactions with text input, multi-select menus, confirmations, and custom prompts
  • Color & Styling: Leverage ANSI color schemes and TrueColor support for advanced terminals with consistent theming
  • Live Updates: Display real-time progress, logs, and dynamic content with multiple concurrent printers
  • Well-Tested: Over 28,000 automated tests ensure reliability and stability across different environments

The component-based architecture lets you combine printers flexibly—use individual components standalone or layer them together for complex layouts. Comprehensive documentation and 50+ practical examples help you get started quickly.

Terminal features

OSC 8 hyperlinks

Features

True color

Media

Pros

5
  • Provides a component system for building CLI applications.
  • Supports various interactive components like text inputs and selections.
  • Offers features like progress bars, tables, and trees.
  • Cross-platform compatibility across Windows, macOS, and Linux.
  • Customizable output with consistent color support.

Related tools

Share:

Auto-fetched .

Recent releases

Similar to pterm

Favicon

 

  
 
Favicon

 

  
 
Favicon