[Pre]tty-HTML
[Pre]tty-html: (the logo reads as: 'pookie html') A minimalist python script to pretty print html docs to unix terminal.
Pipe the output of html generators to tty-html, for a neat terminal render (than a hard to decode xml dump).

Usage
The program is intended to be just a simple Unix CLI utility. One can specify any html file as an input or pipe an html dump to the stdin of tty-html
to get a readable pretty print.
$ tty-html --help
...
$ tty-html index.html
...
$ curl https://some-website.com/blog -s | tty-html
...
Installation
Easy! There're three ways
1. Compiled binary
head over to the release page and download the binary. make it executable. Thats it. (optionally add it to a bin path of your choice)
2. Using PIP
If you got pip, feel free to install using
pip install tty-html
3. Build from source
If you are nerdy enough, there is a Makefile :), get a c compiler, install python3
and cython
, and go for the following commands in order
make
make compile
for detailed use case : make help
:)
Usage Gallery
-
the raw html

-
the formatted one
