ANSICAT(1)
๐ฆ ANSICAT(1) ๐ฆ
Okay bestie, welcome to ANSICAT(1), living its best life in the General Commands Manual ๐โจ
๐ NAME ๐
ansicat โ terminal gemini gemtext renderer for offpunk ๐
๐ SYNOPSIS ๐
ansicat [--format RENDERER] [--mime MIME] [--url URL ...] [--mode MODE]
[--linkmode LINKMODE] [INPUT ...]
ansicat -h | --help
๐ธ DESCRIPTION ๐ธ
Okay so ansicat is a terminal rendering tool that turns multiple formats (HTML, Gemtext, RSS, Gophermap, Image) into ANSI text and colors ๐จ It's giving main character energy. If you point it at a file, it'll try to autodetect the format all on its own โจ But if you're feeding it standard input, you gotta tell it the format yourself ๐ And if the content has links, you can give it the content's original URL so it can correctly modify relative links ๐ iykyk.
๐ง Positional arguments
INPUTโ the path to the text you want rendered ๐ If you don't give it one, it defaults to the standard input.
๐ Keyword arguments
-h,--helpโ shows a help message and exits ๐โโ๏ธ--format RENDERERโ picks the renderer you want ๐จ Your options areauto,gemtext,html,feed,gopher,image, andfolder.autois the vibe-guesser ๐ฎ It heuristically figures out the format, either from the MIME type or from the file being rendered itself.--mime MIMEโ the MIME type of the content you want parsed ๐งพ--mode MODEโ chooses how things render:normal(the default),full, orsource๐--linkmode LINKMODEโ how links get rendered:none(the default) orend๐ Heads up, this one won't affect render modesource๐ โโ๏ธ--url URL ...โ the original URL of the content ๐
๐ฆ EXIT STATUS ๐ฆ
The ansicat utility exits 0 on success, and >0 if an error occurs ๐ So if you see anything bigger than zero, something went sideways.
๐ SEE ALSO ๐
migrate-offpunk-cache(1)netcache(1)offpunk(1)openk(1)https://offpunk.net/
๐ AUTHORS ๐
The one and only Lionel Dricot (Ploum) <offpunk2 at ploum.eu> ๐ซถ
That's a wrap on the ANSICAT(1) page ๐ฆ Brought to you by Debian, last touched November 25, 2024. Go forth and render, bestie ๐ โจ
๐ฆ where this page comes from
- nixos 26.05: offpunk 3.1
- nixpkgs unstable: offpunk 3.2
- ubuntu resolute: offpunk 3.0-1 ยท AGPL-3.0-or-later
- ubuntu stonking: offpunk 3.2-1 ยท AGPL-3.0-or-later
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms