TOTP codes from the command line and the macOS menubar.
brew install oath-toolkit
ln -sf "$PWD/otp" /usr/local/bin/otpAdd your secrets to ~/.otpkeys, one per line:
github=BASE32SECRET
aws-prod=BASE32SECRET
otp github copies the current code to the clipboard.
menubar/build.sh
open ~/Applications/OTP.appA key icon in the menubar lists everything in ~/.otpkeys. Pick one to copy its code. Enable "Launch at Login" from the same menu.