I don't like having my 2FA codes on my phone and I don't want to trust any cloud 2FA managers or closed-source solutions. I couldn't find anything open source so I made a simple CLI tool that utilises a popular Go OTP library. In combination with pass, which maintains the state (ie. the 2FA secret key), I now have an open source solution I can trust: