This project is a web application that allows users to generate strong, random passwords and check if they’ve been exposed in known data breaches using the Have I Been Pwned API.
🌐 Live Site: https://password-checker-v5cv.onrender.com
📝 Made for the BUCC (Brac University Computer Club) Interview – Spring 2025
🚫 Rejected by BUCC.
- Python
- Flask
- HTML/CSS
- JavaScript
- Have I Been Pwned API
- Render (for deployment)
-
Clone the repository
git clone https://github.com/your-username/password-checker.git cd password-checker
-
Create a virtual environment & activate it
python -m venv venv source venv/bin/activate # For Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Set up environment variables
- Create a
.env
file in the root directory - Add your secret key:
SECRET_KEY=your-secret-key
- Create a
-
Run the application
flask run
-
Visit in browser
http://localhost:5000
- Generates strong passwords with customizable length
- Checks if the password has appeared in any data breaches
- Password strength meter
- Copy to clipboard with a single click
- Clean UI with live preview and feedback
- Integrating the breach check securely and efficiently
- Deploying Flask on a free hosting platform like Render
- Getting Open Graph metadata (like preview image) to update properly across platforms