aha
« Back to VersTracker
Description:
ANSI HTML adapter
Type: Formula  |  Latest Version: 0.5.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ansi html terminal converter cli web
Install: brew install aha
About:
Aha converts terminal command output, including ANSI color codes and formatting, into clean, standards-compliant HTML. It effectively translates the visual styling of a terminal session into a web-friendly format without requiring complex parsing scripts. This allows developers to easily share terminal logs, command outputs, or build logs on websites or in documentation.
Key Features:
  • Parses standard ANSI escape sequences for color and text styling
  • Outputs lightweight, valid HTML5 without heavy dependencies
  • Provides options for dark or light color schemes
  • Can filter out specific ANSI codes or handle non-standard inputs
Use Cases:
  • Embedding formatted build logs or terminal output in CI/CD dashboards
  • Creating shareable, readable documentation for command-line tools
  • Archiving terminal sessions as web pages
Alternatives:
  • ansi2html – A similar Python-based tool, often used in web applications like GitLab for rendering logs.
  • script – A standard Unix utility that records a terminal session, but outputs a typescript file rather than HTML.
License: LGPL-2.0-or-later OR MPL-1.1
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit