TOTP should just be a (typically base32) secret string; I don't know if Authy allows exporting that though (and if not, that only underscores the point of this article).
I just use a simple shell script with dmenu/xclip/oathtool:
#!/bin/zsh
typeset -A opt=(
Docker ABC
GitHub DEF
# ...
)
k=$(print -l ${(ko)opt} | dmenu -i)
[[ $k != "" ]] && oathtool --totp --base32 $opt[$k] | xclip -rmlastnl