Run the setup script:
setup.batWait for installation to complete (takes 1-2 minutes).
Run the launcher:
run_all.batThis will open 3 terminal windows automatically.
Open your browser and visit:
- OTP Generator: http://localhost:8501
- OTP Verifier: http://localhost:8502
- API Docs: http://localhost:8000/docs
-
On Generator page (8501):
- See the current 6-digit OTP
- Adjust validity slider (15-120 seconds) in sidebar
- Click "Regenerate OTP" button to generate new OTP manually
- View live mathematical calculations
-
On Verifier page (8502):
- Enter the OTP from generator
- Click "Verify OTP"
- Explore the mathematical formula section
- See all variables and time-slice index live
To access from other devices on your network:
-
Find your IP address:
ipconfigLook for "IPv4 Address" (e.g., 192.168.1.100)
-
Update
config.py:api_url = "http://192.168.1.100:8000"
-
Access from other devices:
- Generator: http://192.168.1.100:8501
- Verifier: http://192.168.1.100:8502
- Make sure Python 3.10+ is installed
- Check that ports 8000, 8501, 8502 are not in use
- See full README.md for detailed troubleshooting
- β Default 45-second OTP validity
- β Custom validity (15-120 seconds slider)
- β Manual OTP regeneration
- β Live mathematical formula display
- β Real-time variable values
- β Current time-slice index
- β Network shareable
Need more details? Read the full README.md