ratnadeep007 / totp-cli

Simple CLI replacement for Google Authenticator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TOTP CLI

A simple CLI to get your TOTP, a cli replacement for Google Authenticator

Usage

  • Download perferred version for your OS
  • Move it to path eg /usr/local/bin and rename it to totp
  • Add a file name .totp at your home directory
  • Add content in format <PROVIDER>=<2FA Secret Key>
  • You can add as many as you want
<PROVIDER_1>=<2FA Secret Key>
<PROVIDER_2>=<2FA Secret Key>
  • After adding run totp
  • Output will like:
<PROVIDER_1>: <TOTP>
<PROVIDER_2>: <TOTP>
  • Get a single provider: totp <PROVIDER_NAME>

  • List added providers: totp list

About

Simple CLI replacement for Google Authenticator

License:MIT License


Languages

Language:Go 96.6%Language:Makefile 3.4%