ANSICAT(1)

๐Ÿ“ฆ
version 3.2 ยท 3 versions
, in nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

๐Ÿฆ‹ 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 are auto, gemtext, html, feed, gopher, image, and folder. auto is 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, or source ๐Ÿ’œ
  • --linkmode LINKMODE โ€” how links get rendered: none (the default) or end ๐Ÿ”— Heads up, this one won't affect render mode source ๐Ÿ™…โ€โ™€๏ธ
  • --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 ๐Ÿ‘€

๐Ÿ‘‘ 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