π TOTP Generator (Python + CustomTkinter)
A simple, stylish TOTP (Time-based One-Time Password) generator built using CustomTkinter and pyotp This tool lets you generate OTPs using your secret key β perfect for testing 2FA systems or verifying OTP functionality.
π Features
- Generates 6-digit OTPs using your TOTP secret key
- Countdown timer showing time left until OTP expires
- Dark theme with green accents
- Click on the OTP to copy it to clipboard
- Friendly error handling if input is empty or invalid
πΈ Screenshot
π¦ Installation
git clone https://github.com/Exoo25/totp-gen/
cd totp-gen
pip install -r requirements.txt
py main.py
β οΈ Important:
For the TOTP codes to work correctly, your computerβs clock must be synced with internet time.
Even a small time difference (like 20β30 seconds) can cause OTP verification to fail.π§ To avoid issues, make sure automatic time synchronization is enabled on your device.