Skip to content

aleguerra05/totp-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOTP Generator

This is a simple TOTP (Time-based One-Time Password) generator that generates TOTP codes for multiple accounts.

Usage

  1. Create a settings.json file with your account tokens:
{
  "keys": [
    {
      "account": "Email", 
      "token": "JBSWY3DPEHPK3PXP"
    },
    {
      "account": "GitHub",
      "token": "JBSWY3DPEHPK3PXP" 
    }
  ]
}
  1. Run node index.js

It will generate and print the current TOTP codes for each account every 30 seconds.

Dependencies

  • totp-generator - Used to generate the TOTP codes
  • fs - Used to read the settings file

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published