icelam / totp-cli

CLI for generating TOTP code used for MFA since I am too lazy to open my phone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TOTP CLI

Generates TOTP code for MFA using terminal.

Prerequisites

  • Node >= 12 installed

Install

git clone https://github.com/icelam/totp-cli.git
cd ./totp-cli/
yarn
yarn build
cd ../
npm install -g ./totp-cli/

Usage

Usage:
  totp [command]
  
Available Commands:
  set --name <config_name> --uri <otpauth_uri>
    Save provided <otpauth_uri> into config under configuration set named <config_name>.

  list
    List all the available configuration set
  
  <config_name>
    Generate TOTP using configuration set <config_name>.

About

CLI for generating TOTP code used for MFA since I am too lazy to open my phone.


Languages

Language:TypeScript 92.9%Language:JavaScript 5.9%Language:Shell 1.3%