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...
cargo
for building, and for a better experience, you should install the dotacat
package (default renderer)Install dotacat
or a renderer of your choice
shell
cargo install dotacat
cargo install random_ascii
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
${HOME}/.config/random_ascii/
.ascii
extensionshell
random_ascii
cat
or dot2acat
or whatever...)
shell
random_ascii -p=Documents/my_ascii_files -e=txt -d=cat -h=4 -r
When you're ok with the command, you can append it to your .bashrc
, .zshrc
...
... fits well just before a starship prompt