A simple command-line tool for generating Time-based One-Time Password (TOTP) codes.
otpcli is a Node.js command-line utility that generates TOTP codes based on a provided secret key. It uses the otplib library for generating secure, standards-compliant one-time passwords.
npm install -g @allindevelopers/otpcliGenerate a TOTP code by providing your secret key after running otpcli:
otpcliThe tool will output the current 6-digit TOTP code for the provided secret.
This project is licensed under the MIT License - see the LICENSE file for details.
- otplib - The library used for TOTP generation