random_ascii (rust version)

A totally useless but 'must have' bloatware (tribute to systemd)

random_ascii is a simple binary that picks a random ascii art file in your collection, which fits in your current terminal (checking terminal and file size)...

File sizes are fully parsed just one time, and cached in fileDB, to offer better performance and avoid unnecessary disk accesses...

Install

The easiest way (with cargo)

Install dotacat or a renderer of your choice shell cargo install dotacat cargo install random_ascii

Manually (if you don't want to use cargo)

While it's possible to use cat, you may wish to output fancy colors. On Debian based distros shell sudo apt install lolcat And for Arch ones shell sudo pacman -S lolcat

Then, just put the random_ascii binary somewhere in your $PATH, and make it executable, typically : shell echo $PATH curl -fSsL https://gitlab.com/flashbios/rust_random_ascii/-/raw/main/latest_release/random_ascii?inline=false -o ~/.local/bin/random_ascii chmod +x ~/.local/bin/random_ascii

Usage

Case 1 : you're already ok with the default options

Case 2 : you may want to change some option

When you're ok with the command, you can append it to your .bashrc, .zshrc ...

... fits well just before a starship prompt