https://github.com/t0ks1k24/password-checker
🔐 Real-time password strength analyzer with breach check and entropy calculation
https://github.com/t0ks1k24/password-checker
checker docker fastapi password react security strength
Last synced: 2 months ago
JSON representation
🔐 Real-time password strength analyzer with breach check and entropy calculation
- Host: GitHub
- URL: https://github.com/t0ks1k24/password-checker
- Owner: T0ks1k24
- Created: 2025-08-24T11:58:35.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-24T13:02:57.000Z (10 months ago)
- Last Synced: 2025-08-24T18:09:16.277Z (10 months ago)
- Topics: checker, docker, fastapi, password, react, security, strength
- Language: JavaScript
- Homepage:
- Size: 2.39 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Password Analyzer
Password Analyzer is a modern React and FastAPI web application designed to evaluate password security using industry-standard tools and a professional interface.

It analyzes password length, entropy, and overall strength, and cross-references them with the HaveIBeenPwned database to identify compromised passwords.
---
## Features
- **Advanced Strength Estimation**: Powered by the zxcvbn library for realistic security scoring.
- **Data Breach Detection**: Uses the HaveIBeenPwned API to check if passwords have appeared in known leaks.
- **Detailed Insights**: View entropy, time-to-crack estimates, and actionable security suggestions.
- **Premium Interface**: A modern dark mode design with glassmorphism effects and fluid animations.
- **Real-time Feedback**: Instant results as you analyze your passwords.
---
## Technical Stack
- **Frontend**: React (Functional Components, Hooks)
- **Backend**: FastAPI (Python)
- **Security Logic**: zxcvbn, HaveIBeenPwned API
- **Styling**: Vanilla CSS with custom properties and backdrop filters
- **Deployment**: Docker Compose
---
## Deployment
The application is fully containerized for easy deployment.
### Prerequisites
- Docker
- Docker Compose
### Run the Application
```bash
docker-compose up --build
```
The frontend will be available at http://localhost:3000 and the backend API at http://localhost:8000.
---
## API Endpoints
### POST /api/check-password
Analyzes a password and returns a detailed security report.
**Request Body:**
```json
{
"password": "your-password-here"
}
```
**Response Example:**
```json
{
"length": 15,
"entropy": 45.3,
"strength": "medium",
"score": 2,
"breached": false,
"count": 0,
"safety_percent": 55,
"crack_time_display": "2 years",
"warning": "This is a predictable password",
"suggestions": ["Add another word or two"]
}
```