🛡️ LeakGPT Naija Pro – Anonymous whistleblowing & AI-powered fraud detection built for Nigeria. 🚀 Built with Flask + Django. Detect scams, analyze leaked docs, and monitor corruption — securely and anonymously. 🇳🇬 Made for the #3MTT Showcase by Abdulrahman Adisa Amuda.
# 🛡️ LeakGPT Naija Pro
> Anonymous whistleblowing & AI-powered fraud detection built for Nigeria.
> A hybrid Flask-Django web app for secure document analysis, scam reporting, and corruption trend monitoring.
> 🚀 Built by **Abdulrahman Adisa Amuda** for #3MTT Showcase.
---
## 🌍 Overview
**LeakGPT Naija Pro** is a secure, anonymous platform that enables users to report and detect corruption, scams, and fraud in Nigeria using AI. The system combines a Flask-powered frontend with Django backend intelligence to provide real-time risk scoring and analysis of user-uploaded documents and scam reports.
---
## 🔐 Key Features
### 📄 Document Analysis
- 📂 Upload `.txt` or `.pdf` files (max 16MB)
- 🤖 AI-driven detection of fraud/corruption keywords
- 🧠 Instant scoring (0–100) with summary + flagged terms
- 👤 Anonymous processing (no user tracking)
- 🗑️ Secure file deletion after processing
### 🚨 Scam Reporting
- 📞 Submit suspicious phone numbers, URLs, messages
- 🕵️ Detect Nigerian-specific scam patterns
- ⚠️ Auto-classify risk levels (Low / Medium / High)
- 🔒 Anonymous, encrypted submission
### 📊 Admin Dashboard
- 📥 View all reports & uploads in real-time
- 🗂️ Filter by type, date, keyword, risk score
- 📤 Export reports to CSV
- 📈 Monitor trending flagged terms
### 🔒 Security & Privacy
- 🛑 No user registration or login needed
- 🔐 All data transfer over HTTPS
- 🧾 IP logging is minimal and secure
- 🧹 Files deleted after processing
---
## ⚙️ Tech Stack
| Layer | Tech Used |
|--------------|----------------------------------|
| 🖥️ Frontend | Flask, Bootstrap 5, Jinja2 |
| 🧠 Backend | Django, SQLite3, Flask-Login |
| 🤖 AI Logic | Python NLP (custom keywords) |
| 🗃️ Reports & DB | Django Models, SQLAlchemy |
| 🔑 Auth | Admin-only (Flask Login) |
| 🚀 Deployment | Replit / Heroku (Procfile-ready) |
---
## 🚀 Quick Start
### 📦 Prerequisites
- ✅ Python 3.8+
- ✅ `pip` package manager
- ✅ Git …