hellodhlyn / otpbot

Time-based OTP generator via Keybase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

otpbot

Time-based OTP generator via Keybase

Usage

Just say hello to otpbot on Keybase!

Commands

### Add a new OTP account. 
add <name> <secret>

### List all OTP accounts.
list
ls

### Generate OTP.
generate <name>
gen      <name>

### Remove the OTP account.
remove <name>
rm     <name>

Development

Prerequisites

  • NodeJS 12.X or later
  • yarn

Setup

# Install requirements
yarn

Test

# Run lint
yarn lint

# Run unit tests
yarn test

Run

yarn debug

Deployment

# Run using native nodejs
yarn build
yarn start

# Run using docker
docker build -t <name> .
docker run <name>

About

Time-based OTP generator via Keybase


Languages

Language:TypeScript 94.8%Language:Dockerfile 5.2%