2faConsole supplies one-time password generation through a simple command-line workflow. It keeps secrets in a local file with restricted permissions and never connects to external servers. The supported algorithms include TOTP and HOTP with selectable hash functions.
The application works on Windows, macOS, and Linux without graphical libraries. Users can add accounts, rename labels, delete entries, and copy codes to the clipboard. All operations happen in a terminal window and produce plain text output.
The bundled Pxoqxo.Otp2fa library implements RFC 6238 and RFC 4226 from scratch. This design keeps the executable small and removes supply-chain risks from package managers. Storage uses owner-only file access, and code generation requires no internet connection.
| Add accounts with Base32 secret keys | Generate time-based codes using RFC 6238 |
| Support counter-based codes per RFC 4226 | List all stored accounts with current codes |
| Copy generated codes to system clipboard | Store secrets locally with owner-only permissions |
| Add entries interactively without shell history exposure | Delete account entries by label or index |
| Rename labels while preserving secret settings | Show remaining seconds in current TOTP period |
| Choose SHA1, SHA256, or SHA512 hashing | Set code length to six, seven, or eight digits |
| Refresh codes automatically every thirty seconds | Update storage file after confirmed deletion |
| Read accounts in terminal with monospaced format | Reduce shoulder-surfing by not reprinting codes |
| Work without network time synchronization | Apply per-account algorithm during calculation |
| Support non-standard OTP digit outputs | Reorganize accounts without losing original secret |