Last updated:
0 purchases
The OTP Viewer is a simple web application built using Flask that allows users to receive and display One-Time Passwords (OTPs) along with their associated timestamps and platforms.
Key Features:
This tool is useful for developers and users who need to track and manage OTPs for various applications, enhancing the overall user experience in handling authentication processes.
Follow these steps to set up and run the OTP Viewer application:
Prerequisites
bash
pip install Flask
Setting Up the Application
bash
git clone repo
Navigate into the cloned directory:
bash
cd otp-viewer
otp_viewer.html
file in a folder named templates
within the project directory. This file should contain the HTML structure for displaying the OTPs.Running the Application
bash
python app.py
(Replace app.py
with the name of your main Python file if it's different.)http://127.0.0.1:5000/
to access the OTP Viewer interface.Sending OTPs
/otp
endpoint with a JSON body containing the otp
, timestamp
, and platform
. For example:
json
{
"otp": "123456",
"timestamp": "December 23, 2024, 10:00:00 AM",
"platform": "Web"
}
That's it! You should now be able to run the OTP Viewer application and manage OTPs effectively.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.