Speaking of solutions, when you want to avoid using a phone, there is oathtool.
For example for a GitHub 2FA Link like this:
otpauth://totp/GitHub:username?secret=BLAHBLUBBLAH&issuer=GitHub
You extract the secret and use it like this: oathtool --totp=sha1 --base32 BLAHBLUBBLAH
268685