ContactCard/contactcard
2022-06-21 10:38:17 -05:00

42 lines
2.5 KiB
Bash
Executable File

#!/usr/bin/env bash
###############################################
# Write a nice business card on the terminal. #
###############################################
blue="$(tput setaf 4)"
bold="$(tput bold)"
cyan="$(tput setaf 6)"
dim="$(tput dim)"
green="$(tput setaf 2)"
magenta="$(tput setaf 5)"
red="$(tput setaf 1)"
reset="$(tput sgr0)"
underline="$(tput smul)"
yellow="$(tput setaf 3)"
cat <<EOF
${cyan}╭─────────────────────────────────────────────────────────────╮
${cyan}│ │
${cyan}│${reset} ${bold}${cyan}Noah L. Schrick ${reset} ${cyan}│
${cyan}│ │
${cyan}│${reset} ${underline}${bold}Email:${reset} ${magenta}noah@theschricks.com ${cyan} │
${cyan}│${reset} ${underline}${bold}Web:${reset} ${dim}https://www.${reset}${cyan}theschricks.com/noah/noah.html ${cyan} │
${cyan}│${reset} ${underline}${bold}Matrix:${reset} ${blue}@noah:theschricks.com ${cyan} │
${cyan}│${reset} ${underline}${bold}Git:${reset} ${dim}https://git.theschricks.com/${reset}${green}noah?tab=activity ${cyan}│
${cyan}│${reset} ${underline}${bold}LinkedIn:${reset} ${dim}https://linkedin.com/in/${reset}${blue}noah-l-schrick ${cyan} │
${cyan}│${reset} ${underline}${bold}XMPP:${reset} ${red}noah@theschricks.com ${cyan}│
${cyan}│${reset} ${underline}${bold}GPG Pub Key:${reset} ${dim}https://www.theschricks.com/noah/${reset}${green}pubkey.txt ${cyan}│
${cyan}│${reset} ${underline}${bold}OrcID:${reset} ${dim}https://orcid.org/${reset}${green}0000-0003-0875-8927 ${cyan} │
${cyan}│${reset} ${underline}${bold}IRC:${reset} ${magenta}https://chat.theschricks.com ${cyan} │
${cyan}│ │
${cyan}│${reset} ${underline}${bold}Card:${reset} ${yellow}curl -sL theschricks.com/noah/contactcard | sh ${cyan}│
${cyan}│ │
${cyan}╰─────────────────────────────────────────────────────────────╯
EOF
tput sgr0