| Crates.io | console-totp |
| lib.rs | console-totp |
| version | 0.1.0 |
| created_at | 2025-10-26 07:51:29.204211+00 |
| updated_at | 2025-10-26 07:51:29.204211+00 |
| description | A console-based TOTP (Time-based One-Time Password) generator. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1901068 |
| size | 108,873 |
To use Cloudflare KV database, create a KV namespace in your Cloudflare account and set the following environment variables, or create a kv.json file that contains following keys:
{
"account_id": "your_account_id",
"namespace_id": "your_namespace_id",
"api_token": "your_api_token"
}
🔐 TOTP Console Manager
Usage: totp-console <command> [args]
Commands:
add <name> <secret> [issuer] Add a new TOTP entry
list List all entries
get <name> Get TOTP code for specific entry
generate Generate codes for all entries
delete <name> Delete an entry
loop [name] Continuous refresh mode
copy <name> Copy TOTP code to clipboard
sync Sync to Cloudflare KV
load Load from Cloudflare KV
Environment Variables (for Cloudflare KV):
CF_ACCOUNT_ID Cloudflare account ID
CF_NAMESPACE_ID KV namespace ID
CF_API_TOKEN API token
Examples:
totp-console add github 0123456789ABCDEF GitHub
totp-console get github
totp-console loop
totp-console loop github