Converts ANSI escape sequences of a unix terminal to HTML code.
aha --help | aha --black --title "the awesome aha help"> aha-help.htm
colordiff oldfile.c newfile.c | aha > colordiff.htm
ls --color=always | aha --pink > ls.htm
echo q | htop | aha --black --line-fix > htop.htm
MAN_KEEP_FORMATTING=1 COLUMNS=80 man aha | ul | aha > man-aha.htm
brew install aha
conda install -n YOURENV -c conda-forge aha
(and if you wish to make conda 10x faster, use mamba).Aha has no dependencies except for a C compiler and make
.
Clone this repo git clone https://github.com/theZiz/aha.git
.
Move into the repo directory cd aha
.
To compile just type make
.
To install aha to /usr/local/
type make install
.
You can change the installation directory with make install PREFIX=/your/path
.
You can override the man directory with make install MANDIR=/your/path/man
All files are subjects to the LGPL2+ or the MPL1.1 (Dual licensed).