__ _ _ _
/ _| ___ _ __ | |_ _ __ (_) ___| | __
| |_ / _ \| '_ \| __| '_ \| |/ __| |/ /
| _| (_) | | | | |_| |_) | | (__| <
|_| \___/|_| |_|\__| .__/|_|\___|_|\_\
|_|
Ever find yourself digging through /usr/share/figlet just to remember what fonts are available? Or running the same toilet one-liner over and over to preview something? That's what inspired this — a simple script to list fonts and preview them without having to remember anything.
You'll need at least one of:
# Ubuntu/Debian
sudo apt install figlet toilet
# macOS
brew install figlet toiletgit clone https://github.com/alejandroalvarado/fontpick.git
cd fontpick
chmod +x fontpick.shOptionally move it somewhere on your $PATH so you can call it from anywhere:
mv fontpick.sh ~/.local/bin/fontpickfontpick -p <figlet|toilet> <command> [options]fontpick -p figlet list
fontpick -p toilet listfontpick -p figlet preview -f slant -t "hello"
fontpick -p toilet preview -f block -t "NIX-chat"fontpick -h$ fontpick -p toilet preview -f block -t "NIX-chat"
Font: block
------------------------
███╗ ██╗██╗██╗ ██╗ ██████╗██╗ ██╗ █████╗ ████████╗
████╗ ██║██║╚██╗██╔╝ ██╔════╝██║ ██║██╔══██╗╚══██╔══╝
██╔██╗ ██║██║ ╚███╔╝ ██║ ███████║███████║ ██║
██║╚██╗██║██║ ██╔██╗ ██║ ██╔══██║██╔══██║ ██║
██║ ╚████║██║██╔╝ ██╗ ╚██████╗██║ ██║██║ ██║ ██║
╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
| Flag | Description |
|---|---|
-p |
Utility to use (figlet or toilet) |
-f |
Font name (required for preview) |
-t |
Text to render (required for preview) |
-h |
Show help |
MIT — see LICENSE for details.
Made by Alejandro Alvarado in collaboration with Claude