Termenv is a Go library for building rich and portable terminal user interfaces with support for colors, styles, and advanced formatting. It provides abstractions that allow developers to write terminal output that adapts to the capabilities of different environments, ensuring consistent appearance across platforms. The library supports features such as true color, ANSI styling, and fallback mechanisms for terminals with limited capabilities. It is designed to be composable and easy to use, enabling developers to create visually appealing command-line applications. termenv also integrates well with other libraries in the Go ecosystem, making it a flexible choice for building CLI tools. It emphasizes performance and minimal overhead, ensuring smooth rendering even in dynamic interfaces. Overall, termenv enhances the visual experience of terminal applications.

Features

  • Support for true color and ANSI styling
  • Automatic adaptation to terminal capabilities
  • Lightweight and composable API design
  • Cross-platform compatibility for terminal output
  • Integration with Go CLI applications
  • Efficient rendering with minimal overhead

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Termenv

Termenv Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Termenv!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Command Line Tools

Registered

2026-03-31