SentiSense is a full-stack sentiment analysis web application that scrapes comments from platforms like YouTube and Reddit, analyzes them using a custom-trained BiLSTM model, and offers meaningful insights, including visual sentiment trends, clustering, and AI-powered suggestions via Gemini API.
- 🔎 Multi-platform scraping (Reddit, YouTube)
- 💡 Custom sentiment analysis model (
.h5
+ tokenizer.pkl
) - 📊 Sentiment trend graphs and clustering
- 🤖 AI-generated suggestions (via Gemini API)
- 📁 CSV export of analyzed results
- 💻 Built with FastAPI + TensorFlow + HuggingFace + Pandas
Layer | Tech Used |
---|---|
Frontend | React.js, axios |
Backend | FastAPI, Uvicorn |
Modeling | TensorFlow (Keras), Tokenizer, HuggingFace Transformers |
Scraping | yt-dlp (Youtube) and praw (Reddit) |
AI Assist | Gemini API (LLM) |
Infra | OnRender / Localhost |
git clone https://github.com/Kake27/sentisense
cd sentisense
python -m venv venv
venv\Scripts\activate
cd backend
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
Get your client id, client secret by registering an app on Reddit and add them to the file
Also add your GenAI API key
uvicorn runserver:app --reload
cd ../frontend
npm install
npm run dev