Manage temporary 2FA codes on a PC, rather than bloating your phones authentication apps and forgetting.
- 🔍 QR Code Scanning: Import 2FA secrets from QR codes via clipboard or file
- 📝 Manual Entry: Add accounts manually with secret keys
- 🔄 Real-time Codes: Automatic TOTP code generation and refresh
- 📋 One-click Copy: Click any account to copy its current code to clipboard
- ✏️ Account Management: Rename and delete accounts easily
- 📤 Import/Export: Backup and restore your accounts
- 📱 Standard Compliant: Works with all standard TOTP services
- Python 3.8 or higher
- pip (Python package manager)
-
Clone or download this repository
git clone https://github.com/MrTurvey/temp2fa.git cd temp2fa -
Use the automated setup script
python setup.py
-
Run the application
python temp2fa.py
- Copy a 2FA QR code image to your clipboard
- Click "📋 Paste QR Code"
- The app will automatically extract and save the account
- Click "📁 Load from File"
- Select an image file containing a QR code
- The account will be added automatically
- Click "✏️ Manual Entry"
- Fill in:
- Service/Issuer: Name of the service (e.g., "Google", "GitHub")
- Account Name: Your username or email
- Secret Key: The secret key provided by the service
- Click "✅ Add Account"
- Copy Code: Click anywhere on an account row to copy its current code
- Rename: Click the 📝 icon to rename the service or account name
- Delete: Click the 🗑️ icon to remove an account
- Export: Click "📤 Export" to save all accounts to a file
- Import: Click "📥 Import" to restore accounts from a backup file
Important: This application stores your 2FA secrets locally, without encryption. It is not designed to be secure, only use temporary 2FA tokens.
