aha
Convert ANSI escape sequences to HTML. tldr-pages
On several platforms
Several platforms
Convert terminal output to HTML
color_command | aha >path/to/output.htmlIdentifyRead from a file instead of stdin
aha -f path/to/input.txt >path/to/output.htmlIdentifyConvert to HTML with a black background
color_command | aha --black >path/to/output.htmlIdentifyConvert to HTML with a pink background and set the document title
color_command | aha --pink --title "title" >path/to/output.htmlIdentifyAdd a CSS file to the HTML output
color_command | aha --css path/to/style.css >path/to/output.htmlIdentifyEnable word-wrap to prevent horizontal scrolling
color_command | aha --word-wrap >path/to/output.htmlIdentifyDisplay help
aha --helpIdentify