/YT-comments-sentiment

Visualize the aggregate sentiment of a YouTube video's comments on an adapted Likert scale.

Primary LanguageJavaScript

YouTube Comments Sentiment

Visualize the aggregate sentiment of a YouTube video's comments on an adapted Likert scale.

This extension uses the specialized social media VADER Sentiment Analysis algorithms to evaluate the sentiment of the top 300 comments by relevance. The compound sentiment value for a comment is scaled by the amount of likes the comment has received.

Scaling by likes allows for an accurate depiction of the sentiment with a low sample size of comments. The sentiment analysis results act as a loose proxy for the Like-to-Dislike ratio, but are not always indicative of the true Like-to-Dislike ratio.

Install

Chrome Store Link

Manual Install

  1. git clone this repo.
  2. Add your Google API Key to the variable k in
    const k = ""; // Your Google API Key
  3. npm run build from the root directory of the project.
  4. Open the extensions management page in Chrome or Brave.
  5. Upload the build folder through the Load Unpacked button in the top left.
  6. Pin the extension.

This project was bootstrapped with Chrome Extension CLI