A beautifully designed, modern, and secure password manager built with Flask, SQLAlchemy, Flask-Login, DeepFace, and Tailwind CSS.
Manage your secrets and credentials with confidenceβyour data is encrypted, and only you have access.
Now with Face Registration & Login for an extra layer of convenience and security!
git clone https://github.com/farsbrayek3/passguard-flask.git
cd passguard-flask
python -m venv venv
venv\Scripts\activate # On Linux : source venv/bin/activate
pip install -r requirements.txt
python app.py
flask run --host=0.0.0.0
http://192.168.X.X:5000/register_face
The app will be available at http://127.0.0.1:5000
secret.key
).passguard-flask/
β
βββ app.py # Main Flask application
βββ requirements.txt # Python dependencies
βββ instance/
β βββ users.db # SQLite database (auto-created)
βββ secret.key # Fernet encryption key (auto-created)
βββ registered_faces/ # Stored face images for users
βββ templates/
βββ base.html
βββ index.html
βββ register.html
βββ login.html
βββ dashboard.html
βββ add_password.html
βββ register_face.html
βββ login_with_face.html
base.html
(Tailwind-powered).See requirements.txt
for exact versions.
Register Face:
Go to Register Face in your dashboard. Snap or upload a photo with your deviceβs camera.
Login with Face:
On the login page, choose "Login with Face", take/upload a picture. If recognized, youβll be logged in instantly.
Tip: For best results, use a clear, well-lit photo.
Q: Can I deploy this publicly?
A: Yes, but use HTTPS and consider deploying with a production WSGI server (e.g., Gunicorn), and store the Fernet key & face images securely.
Q: Is this suitable for team/shared use?
A: This is a single-user-per-account manager. For multi-user/collaboration, extend user permissions and roles.
Q: How do I reset my database or faces?
A: Stop the app, delete instance/users.db
and the contents of registered_faces/
, then restart.
MIT License.
Feel free to use, modify, and contribute!
Pull requests and issues are welcome!
Please open an issue for suggestions or bugs.
If you like this project, please give it a βοΈ on GitHub!
Built with love, Flask, and face recognition.