ansicat is a terminal rendering tool that will render multiple formats (HTML, Gemtext, RSS, Gophermap,
Image) into ANSI text and colors. When used on a file, ansicat will try to autodetect the format. When
used with standard input, the format must be manually specified. If the content contains links, the
original URL of the content can be specified in order to correctly modify relatives links.
PositionalargumentsINPUT path to the text to render. It defaults to the standard input.
Keywordarguments-h, --help
show a help message and exit.
--formatRENDERER
renderer to use. Available renderers are auto, gemtext, html, feed, gopher, image, and
folder. The auto renderer will heuristically guess the format, either thanks to the MIME
type, or from the file being rendered itself.
--mimeMIME
MIME type of the content to parse.
--modeMODE
MODE to use to render to choose between normal (default), full or source
--urlURL...
original URL of the content.