| Crates.io | raptor-cli |
| lib.rs | raptor-cli |
| version | 0.1.8 |
| created_at | 2025-06-11 19:27:22.026058+00 |
| updated_at | 2025-06-12 00:03:41.783559+00 |
| description | Rust Authenticator Platform for Time-based OTP Retrieval |
| homepage | |
| repository | https://github.com/pap-stavros/raptor |
| max_upload_size | |
| id | 1709036 |
| size | 72,505 |
Rust Authenticator Platform for Time-based OTP Retrieval - A secure, minimalist TOTP CLI tool that stores secrets in your system keyring.
cargo install raptor-cli
git clone https://github.com/pap-stavros/raptor.git
cd raptor
cargo install --path .
Add a secret with default parameters (SHA1, 6 digits, 30s period, 1 skew):
raptor-cli add github JBSWY3DPEHPK3PXP
Add an account with custom parameters:
Use the --custom flag to interactively set digits, algorithm, period, and skew.
raptor-cli add SSSWYY3DPEHPK3PXP --custom
You will be prompted for:
Configuring TOTP for custom-service (custom)
--------------------------------
Press ENTER to accept defaults.
Make sure your platform matches the chosen settings.
If you are unsure, use the default values.
Digits (6 or 8) [6]:
Period (seconds) [30]:
Skew (time periods) [1]:
Algorithm (sha1|sha256|sha512) [sha1]:
Stored secret for "custom-service" with parameters:
Digits: 6
Period: 30
Skew: 1
Algorithm: sha1
raptor-cli code github
# Output: Code for github: 123456
Generate a code directly from an otpauth:// URI (parameters from URI take precedence):
raptor-cli code --uri "otpauth://totp/GitHub:user?secret=JBSWY3DPEHPK3PXP&issuer=GitHub"
raptor-cli list
raptor-cli remove github
MIT