Skip to content

lyndon025/spam-detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‡΅πŸ‡­ Spam Detect PH - Frontend

The official user interface for the Spam Detect PH project. A clean, mobile-responsive web app to detect SMS spam, scams, and smishing attempts.

✨ Features

  • AI Analysis: Checks SMS against a trained Neural Network.
  • Traffic Light System: 🟒 Safe | 🟑 Caution (Ads) | πŸ”΄ Danger (Scam).
  • OCR Integration: Scan screenshots using Tesseract.js (runs in-browser, does not store images).
  • Second Opinion: "Ask Gemini" button for Generative AI analysis.
  • Explainability: Visual LIME charts showing why a message was flagged.

πŸ› οΈ Tech Stack

  • Core: HTML5, CSS3, Vanilla JavaScript.
  • Libraries: Tesseract.js (OCR), Google Fonts (Segoe UI).
  • Deployment: Vercel (Frontend) + Render (Backend)

πŸš€ Deployment Guide

Frontend (Vercel)

The frontend is deployed on Vercel: https://spam-detectph.vercel.app/

  1. Push code to GitHub.
  2. Import repo in Vercel.
  3. Deploy (no special build settings needed for static config).

Backend Connection

The frontend automatically connects to the backend:

  • Local: http://localhost:5000
  • Production: https://spam-detect-backend.onrender.com

Note: The backend is hosted on Render (migrated from Fly.io).

πŸ”— Live Demo

About

Static Website for SMS Spam Detection (HTML/JS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages