lcat

Crates.iolcat
lib.rslcat
version0.7.16
created_at2020-05-09 20:58:26.030608+00
updated_at2025-07-14 15:46:07.938801+00
descriptionAnother lolcat in rust! Full unicode support, escapes for ANSI escape sequences, hue shift in Cubehelix.
homepage
repositoryhttps://github.com/davidkna/lcat-rs
max_upload_size
id239394
size49,872
David Knaack (davidkna)

documentation

https://docs.rs/lcat/

README

lcat

lolcat in rust! With emoji support and color transformations in the Cubehelix and OkHSV color space.

Usage

Terminal rainbows.

Usage: lcat [OPTIONS] [File]...

Arguments:
  [File]...  [default: -]

Options:
  -C, --shift-col <SHIFT_COL>    How many degrees to shift text color hue for every column [default: 1.6]
  -R, --shift-row <SHIFT_ROW>    How many degrees to shift text color hue for every row [default: 3.2]
  -n, --shift-sign-no-random     Don't randomize sign of col and row shift values
  -H, --hue <HUE>                Sets initial hue of text color in degress [default: random]
  -s, --style <STYLE>            Rainbow mode [default: rainbow] [possible values: rainbow, sinebow, ok-hsv]
  -c, --color-mode <COLOR_MODE>  [possible values: true-color, ansi256]
  -S, --seed <SEED>              Sets seed [default: random]
  -i, --invert                   Invert background and foreground
  -h, --help                     Print help

Screenshot

a demo screenshot of lcat in action

Commit count: 1202

cargo fmt