Google Authenticator on Flipper

Hey. I’m a programmer and would love to create some module to replace our phones to use 2FA services. Any recommendation on where should I start looking ?

Flipper Zero is the best tool to do so because it’s not connected to the internet so quite secure.

I’ve seen that there is a U2F solution but I didn’t see anything for TOTP, which google authenticator is currentlw using.