Skip to content

FastAPI Backend For Real-Time Phishing Email Analysis Using HuggingFace BERT + Matrix-Themed Swagger UI.

License

Notifications You must be signed in to change notification settings

DecryptMike/DecryptMike-AI-Backend

Repository files navigation

FastAPI Python Transformers BERT Emotion Render Swagger UI Live Backend Open Source MIT License

DecryptMike Logo

🧠 DecryptMike AI Phishing Detector - Backend

A FastAPI-powered backend for real-time phishing email analysis, using HuggingFace’s bert-base-uncased-emotion model. Provides secure API endpoints for emotion detection, with a custom Matrix-themed Swagger UI. Deployed on Render for live production access.

🧪 API Endpoints

Method Endpoint Description
GET / Healthcheck
GET /docs Custom Swagger UI (Matrix)
POST /predict Accepts email subject & body, returns emotion + confidence

📦 Tech Stack

  • FastAPI – lightweight web API
  • Transformersbert-base-uncased-emotion
  • Pydantic – request validation
  • Uvicorn – ASGI server
  • Render – hosting the live API

📸 Screenshot

Backend

Sign In Page


🔗 Related Projects


🎯 Why I Built It

As part of my cybersecurity and AI engineering journey, I wanted to combine NLP and phishing detection into a live web tool. This backend powers the AI classifier using a fine-tuned BERT emotion model to analyze email content and return real-time emotional insight.


⚠️ Legal Disclaimer

This tool is intended for educational and authorized personal use only.


💻 Built by @DecryptMike


About

FastAPI Backend For Real-Time Phishing Email Analysis Using HuggingFace BERT + Matrix-Themed Swagger UI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published