totp-generator facilitates the creation of Time-based One-Time Passwords (TOTP) directly within the user's web browser. It addresses the problem of losing access to SMS-based 2FA and provides a self-contained solution for generating and managing TOTP secrets. The tool utilizes the otpauth JavaScript library to perform the cryptographic calculations necessary for TOTP token generation.
The generator offers a simple, user-friendly interface for TOTP creation. It supports various hashing algorithms as configurable parameters. It also enables importing secrets via QR codes for seamless integration with other authenticator apps. The implementation is lightweight and designed for efficient browser execution.
- Browser-based: Generates TOTP tokens entirely in the web browser, eliminating the need for app installations.
- Configurable Parameters: Allows setting digits, period, and hashing algorithm via URL parameters.
- QR Code Support: Provides a QR code generator for easy import into other authenticator apps.
- otpauth Library: Leverages the trusted otpauth library for secure TOTP generation.
- Simple Interface: Offers a straightforward and intuitive interface for generating TOTP secrets.
The project has been available since 2017 and shows consistent activity with recent commits in June 2024. The code is well-documented with clear instructions for usage and configuration. The project relies on an established and maintained external library (otpauth), which increases reliability. While not actively maintained to the latest otpauth version, the core feature set is stable.
This project benefits individuals seeking a browser-based solution for generating and backing up TOTP secrets. It's particularly useful for those wanting a self-contained method independent of mobile devices or fearing 2FA account lockouts. It simplifies the process of transferring TOTP secrets to other authenticator applications or creating offline backups, providing enhanced security and usability.