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.
