A secure two-factor authentication (2FA) implementation for enhanced account security.
- Generate time-based one-time passwords (TOTP)
- QR code scanning support
- Backup and restore functionality
- Multiple account management
- Offline authentication
- Cross-platform compatibility
- Node.js (version 18 or higher, recommended version 22.14.0)
- Google Authenticator Setuped
- Open Google Authenticator
- Go To Menu i.e ≡ on left top
- Click on "Transfer Codes"
- Click on "Export Codes"
- Select 2fa Codes u want to show and click Next
- Screenshot the QR Code displayed on your screen
- Click Next and Make SURE to select "Keep Exported Codes", and click Done
- Now we can view the code on pc
-
Clone the repository:
git clone https://github.com/aryanm830/google-auth-pc.git
-
Install the dependencies:
cd google-auth-pc npm install -
Copy The Screenshoted QR Code in this folder, And rename it to a short name for writing fast
-
Start the application:
- auth.jpg is the ScreenShot of QR Code
node index.js auth.jpg
-
Enjoy!
-
To Exit, Press Ctrl + C