A library to convert ANSI escapes (terminal formatting/color codes) to HTML [closed]

aha is a C-language program, available in an Ubuntu package, at http://ziz.delphigl.com/tool_aha.php or on github https://github.com/theZiz/aha, that takes an input with terminal colors by pipe or file and puts a (w3c conform) HTML-File in stdout. Example:

ls --color=always | aha > ls-output.htm

or

ls --color=always | aha --black > ls-output.htm

for a terminal-like look with black background.

Compile it by “make” and put it where ever you want.

It would be great to get Feedback. 😉

Leave a Comment