164 points · by pmoriarty · 6y ago · 61 comments
TOIlet can do everything figlet can do, but it can also do colors, more interesting fonts, and output to html and a couple other formats.
toilet Projectname -f future --gay
It gives me great pleasure to have a project banner this way, every time I cd into the project directory.
Edit: the links to the git repository are down as well.
This is the exact opposite though. The `--gay` flag is the best option; it's the most colourful, flashy and fun. I _want_ more people to use the term in a positive context because every time it happens, the pejorative context looses more power and anything that stops these sorts of words being weaponised is a good thing.
And as other commenters have already said, it gets defined in dictionaries as "light-hearted and carefree" or "brightly coloured; showy.", both of which descriptions fit the use case perfectly.
That is, in fact, exactly what the author did.
https://github.com/cacalabs/toilet/commit/be1054fefd6cda23ca...
* "light-hearted and carefree."
* "brightly coloured; showy."
you can also play videos with it:
-vo=caca on mpv or mplayer
You really can't make this up...
Similar feeling to seeing my face manipulated by a WebGL shader.
I wonder if I can use for video calls...
And it's still around! Amazing.
Also amazed that this is still online!
Depends in your definition of "still around". Last update over 8 years ago.
ls -l /usr/bin/figlet lrwxrwxrwx 1 root root 24 Oct 29 08:15 /usr/bin/figlet -> /etc/alternatives/figlet
ls -l /etc/alternatives/figlet lrwxrwxrwx 1 root root 22 Oct 29 08:15 /etc/alternatives/figlet -> /usr/bin/figlet-toilet
Note the dates on the above, the fact is that I have had figlet on this computer for at least two years, but I just did an apt-get install toilet and it replaced figlet.
ls -l /usr/bin/toilet -rwxr-xr-x 1 root root 23064 Mar 13 2018 /usr/bin/toilet
And the figlet --help gives toilet output and the output is from toilet. I had to remove toilet and re-install figlet to get figlet back.
I feel that is odd behaviour for a distro.
Try:
$ sudo update-alternatives --config figlet
I have two choices: /usr/bin/figlet-figlet and /usr/bin/figlet-toilet
to see what package provides each binary:
$ dpkg -S /usr/bin/figlet-figlet
figlet: /usr/bin/figlet-figlet
$ dpkg -S /usr/bin/figlet-toilet
toilet: /usr/bin/figlet-toilet
you should be able to choose figlet-figlet with update-alternatives if you want to use real figlet. But IIRC toilet is intended to be 100% backwards compatible, so there's probably not any real reason to do that (?).
Or, you should be able to invoke figlet with 'figlet-figlet' on the CLI.
...assuming, of course, that my assumption is correct and it didn't actually remove figlet... :)
_/ _/ _/
_/_/ _/ _/_/ _/_/_/_/ _/_/_/ _/_/_/
_/ _/ _/_/ _/ _/ _/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/_/
_/_/ _/ _/_/ _/ _/ _/ _/_/_/
"or this". I really like the shadow effect on this. Really clever!I'm still able to do the same things I would usually do on the more "modern" sites -- navigate, find info, look at examples, etc...
$ figlet hi
_ _
| |__ (_)
| '_ \| |
| | | | |
|_| |_|_|
$ figlet hii
_ _ _
| |__ (_|_)
| '_ \| | |
| | | | | |
|_| |_|_|_|
$ figlet olé
_ /\/| _____
___ | ||/\/ / ___ \
/ _ \| | /_\ / / __| \
| (_) | |/ _ \ | (__ |
\___/|_/_/ \_\ \___| /
\_____/Probably just wishful thinking though.
It's a countdown timer that uses figlet to render the countdown. Here's a pomodoro timer script I use fairly often (`bup` is another script that emits a low pitched beep (a bup)):
#!/bin/bash
if [ $# -ne 1 ]; then
echo $0: usage: pomodoro time_expr
exit 1
fi
TIME_EXPR=$1
get_time ()
{
date "+%H:%M"
}
START=$(get_time)
termdown --font big --critical 0 $TIME_EXPR \
&& bup
END=$(get_time)
echo "$START - $END"Curiously it has a Figlet.js: http://patorjk.com/software/taag/js/figlet.js
/*
FIGlet.js (a FIGDriver for FIGlet fonts)
By Patrick Gillespie (patorjk@gmail.com)
Originally Written For: http://patorjk.com/software/taag/
License: MIT (with this header staying intact)
This JavaScript code aims to fully implement the FIGlet spec.
Full FIGlet spec: http://patorjk.com/software/taag/docs/figfont.txt
If you use this for a public app, a link back to TAAG is appreciated
but not necessary.
*/