CASE STUDYChrome extension · ML

FeedGuard

An AI Chrome extension that warns you about harmful posts on your Facebook feed.

Chrome-ExtensionFastAPIPythonNext.jsTypeScriptSupabaseOAuthHugging-Face
01

Screenshots

02

The problem

Scrolling a feed exposes you to clickbait, toxic language, fake news and negative content without any warning. FeedGuard scans posts as you scroll and shows a badge on harmful ones, then gives you a weekly report.
03

What it does

  • 01Scans Facebook posts in real time and flags harmful ones with a badge inside the feed
  • 02Works in English and Bangla — the backend detects the language and picks the right model
  • 03Five signals per post: toxicity, clickbait, emotion, sentiment and fake news
  • 04Weekly dashboard: posts analysed, harmful count, screen time and mood trend
  • 05Google sign-in so data is tied to your account
04

How it works

  1. 1

    The content script collects posts as you scroll and sends them to the FastAPI backend.

  2. 2

    The backend checks the script of the text to pick the English or Bangla model.

  3. 3

    Each post is scored on toxicity, clickbait, emotion and fake news; sentiment is derived from emotion.

  4. 4

    Harmful posts get a warning badge in the feed; sessions are stored for the dashboard.

05

Engineering decisions

  • A solo student project: no paid APIs and no GPU — every model runs on CPU with free tools.
  • Each signal has a separate English and Bangla model.
06

Tech stack

Extension
JavaScript (Manifest V3)
Backend
Python + FastAPI
ML
HuggingFace Transformers, scikit-learn
Database + Auth
Supabase (Postgres + Google OAuth)
Dashboard
Next.js 16, TypeScript, Tailwind, Recharts
  • Scam detection — in progress (training in Google Colab)
  • Political bias / echo chamber — planned