Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# @jamiew 2020-01-27
# Generate a Wu-Tang name using the "official" name generator
# (AKA the Childish Gambino Wu-Tang Name Generator)
# TODO output a more username-friendly format - no spaces or special chars
# This script depends on `curl`, `td` and `pup`
# Some clever regex could eliminate the need for pup
# brew install pup
set -e
if [ -z "$name" ]; then
echo "$0: argument(s) required nawmean?"
exit 1
curl -s -X POST \ \
-drealname="$name" \
| pup --color 'font font text{}' \
| tr -d \\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment