Skip to content

Instantly share code, notes, and snippets.

@antonio-petricca
Forked from MicahElliott/demo.txt
Created December 22, 2022 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonio-petricca/7b75fa1d3b83ef868df5673b4dc7c6de to your computer and use it in GitHub Desktop.
Save antonio-petricca/7b75fa1d3b83ef868df5673b4dc7c6de to your computer and use it in GitHub Desktop.
Display all the possible toilet fonts for a string.
banner
### ###
# # # # # ###### ## #### #### # # ###
# # # # # # # # # # # # # ###
# # # #### ##### # # #### # # # #
# # # # # # ###### # # # #
# # # # # # # # # # # # # # ###
### ###### # # # ###### # # #### #### # # ###
big
_____ _ _ _ _ _ _
|_ _| | (_) | (_|_) |
| | | |_| | _____ __ _ ___ ___ _ _| |
| | | | | |/ / _ \ / _` / __|/ __| | | |
_| |_ | | | < __/ | (_| \__ \ (__| | |_|
|_____| |_|_|_|\_\___| \__,_|___/\___|_|_(_)
block
_|_|_| _| _| _| _|
_| _| _| _| _|_| _|_|_| _|_|_| _|_|_|
_| _| _| _|_| _|_|_|_| _| _| _|_| _| _|
_| _| _| _| _| _| _| _| _|_| _| _|
_|_|_| _| _| _| _| _|_|_| _|_|_| _|_|_| _|_|_| _|
_| _|
_|
_| _|
_|
_| _|
bubble
_ _ _ _ _ _ _ _ _ _ _
/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
( I ) ( l | i | k | e ) ( a | s | c | i | i | ! )
\_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
digital
+-+ +-+-+-+-+ +-+-+-+-+-+-+
|I| |l|i|k|e| |a|s|c|i|i|!|
+-+ +-+-+-+-+ +-+-+-+-+-+-+
ivrit
___ _ _ _ _ _ _
|_ _| | (_) | _____ __ _ ___ ___(_|_) |
| | | | | |/ / _ \ / _` / __|/ __| | | |
| | | | | < __/ | (_| \__ \ (__| | |_|
|___| |_|_|_|\_\___| \__,_|___/\___|_|_(_)
lean
_/_/_/ _/ _/ _/
_/ _/ _/ _/ _/_/ _/_/_/ _/_/_/
_/ _/ _/ _/_/ _/_/_/_/ _/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/_/
_/_/_/ _/ _/ _/ _/ _/_/_/ _/_/_/ _/_/_/
_/ _/ _/
_/_/_/ _/
_/ _/ _/ _/
_/ _/ _/
_/_/_/ _/ _/ _/
mini
___
| | o | _ _. _ _ o o |
_|_ | | |< (/_ (_| _> (_ | | o
mnemonic
I&SPlike&SPascii!
script
_ _ _
| | | | o | | o o |
| | | | | | _ __, , __ |
_ |/ |/ | |/_) |/ / | / \_/ | | |
\_/\/ |__/|_/| \_/|__/ \_/|_/ \/ \___/|_/|_/o
shadow
_ _| | _) | _) _) |
| | | | / _ \ _` | __| __| | | |
| | | < __/ ( | \__ \ ( | | _|
___| _| _| _|\_\ \___| \__,_| ____/ \___| _| _| _)
slant
____ ___ __ _ _ __
/ _/ / (_) /_____ ____ ___________(_|_) /
/ / / / / //_/ _ \ / __ `/ ___/ ___/ / / /
_/ / / / / ,< / __/ / /_/ (__ ) /__/ / /_/
/___/ /_/_/_/|_|\___/ \__,_/____/\___/_/_(_)
small
___ _ _ _ _ _ _
|_ _| | (_) |_____ __ _ ___ __(_|_) |
| | | | | / / -_) / _` (_-</ _| | |_|
|___| |_|_|_\_\___| \__,_/__/\__|_|_(_)
smscript
|\ |\ o |) _ _, , _ o o |
_ |/ |/ | |/) |/ / | / \_/ | | |
\_/\/ |_/|/| \/|_/ \/|_/ \/ \__/|/|/o
smshadow
_ _| | _) | _) _) |
| | | | / -_) _` | (_-< _| | | _|
___| _| _| _\_\ \___| \__,_| ___/ \__| _| _| _)
smslant
____ ___ __ _ _ __
/ _/ / (_) /_____ ___ ____ ____(_|_) /
_/ / / / / '_/ -_) / _ `(_-</ __/ / /_/
/___/ /_/_/_/\_\\__/ \_,_/___/\__/_/_(_)
standard
___ _ _ _ _ _ _
|_ _| | (_) | _____ __ _ ___ ___(_|_) |
| | | | | |/ / _ \ / _` / __|/ __| | | |
| | | | | < __/ | (_| \__ \ (__| | |_|
|___| |_|_|_|\_\___| \__,_|___/\___|_|_(_)
term
I like ascii!
#! /bin/zsh
# Display all the possible toilet fonts for a string.
#
# “mini” and “script” are especially cute.
# toilet: http://caca.zoy.org/wiki/toilet
# Toilet is “banner”-like tool. Another is figlet, but there may be
# others.
#
# You might want to do things with color options, too.
msg=${1?Must provide msg string}
for f in /usr/share/figlet/*.[tf]lf; do
font=$f:r:t
print "\n$font"
toilet -f $font $msg
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment