Sentiment Analyzer – Youtube Comments
The Butterbeer Social Analyzer (BBSA) is a web application designed to analyze YouTube video comments for sentiment. Built using React, TypeScript, Node.js, Express, and Google’s YouTube API, the app provides insights into the general mood of a video’s comment section, identifying positive, negative, or neutral sentiments.
The user is prompted to input a YouTube video URL. The video ID is extracted, and the app fetches the comments for the specified video.
The comments are displayed along with their sentiment score (positive, negative, or neutral), helping the user gauge the tone of the comment section.
The sentiment score is calculated using the Sentiment npm module on the backend, with each comment getting a score based on its text content.
Team
Maaz Gundagi
Tech Stack

React

Node.JS

Express

Google Cloud Platform

How It Works
- User Input: Users enter a YouTube video URL.
- Fetching Comments: The app extracts the video ID from the URL and fetches comments from YouTube’s Data API.
- Sentiment Analysis: Each comment’s sentiment is analyzed using the Sentiment npm package.
- Display: Sentiment scores are displayed with comments, and an average sentiment score is calculated and shown.
Stack
Frontend: React, TypeScript, Tailwind CSS, Axios
Backend: Node.js, Express, Sentiment npm package
Deployment:
Frontend: https://bbanalyzer.netlify.app/
Backend: Hosted on Render
External APIs: Google YouTube Data API
Screen
