Crates.io | otpget |
lib.rs | otpget |
version | 0.1.2 |
source | src |
created_at | 2025-01-08 20:57:33.303533 |
updated_at | 2025-01-08 22:00:02.439211 |
description | A command-line tool for automatically retrieving OTP codes from email messages |
homepage | https://github.com/milopadma/otpget |
repository | https://github.com/milopadma/otpget |
max_upload_size | |
id | 1509067 |
size | 65,396 |
A simple command-line tool to extract OTP codes from your email inbox.
If you have Rust installed, you can install directly using cargo:
cargo install otpget
Don't have Rust? Install it first:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
otpget
binary in a directory of your choice$ otpget --setup
otpget
without the --setup
flag.To check the latest emails once for OTP codes:
$ otpget
To continuously monitor for new OTP codes (checks every 3 seconds):
$ otpget --retry
Press Ctrl+C to stop monitoring.
imap.gmail.com
as IMAP_SERVER)For Gmail users: You'll need to use an App Password instead of your regular password. Generate an App Password here