authr is a Time-based One-Time Password (TOTP) application written in Rust. It features both a command line interface (CLI) for scripting and quick access, and a curses-based terminal user interface (TUI) for interactive use.
To install authr, clone the repository and install using cargo:
git clone <repository-url>
cd authr
cargo install --path ./authr_cliTo install with the experimental GUI:
cargo install --path ./authr_cli --features gui --no-default-featuresauthr supports the following commands:
-
List all accounts:
authr list -
Add a new account:
authr add <name>Example:authr add MyService(You will be prompted to enter the secret) -
Remove an account:
authr remove <name> -
Show the current TOTP for an account:
authr show <name> -
Show the secret key for an account:
authr show <name> --seed
Running authr without any arguments opens the interactive TUI:
authr
Controls:
- Type to filter the list of accounts.
- Backspace to delete the filter.
- Esc to exit the application.
Future planned features include:
- Encrypted storage for account secrets.
- Cloud storage support for syncing accounts across devices.