YOUTUBE_SENTIMENT_EXTENSION

license last-commit repo-top-language repo-language-count

Developed with the software and tools below.

JavaScript HTML5 JSON


Quick Links


Overview

The YouTube Comment Sentiment Analyzer is a Chrome extension designed to help users quickly gauge the sentiment of comments on YouTube videos. By analyzing the first 20 comments on a video, this tool provides an overview of the audience's sentiment, categorizing comments as positive, negative, or neutral.


Features

  • Sentiment Analysis: Automatically analyzes the first 20 comments on a YouTube video.
  • Sentiment Categories: Classifies comments into positive, negative, or neutral.
  • User-Friendly Interface: Displays results in an easy-to-understand format.
  • Quick Access: Accessible directly from the Chrome toolbar while watching a YouTube video.

Repository Structure

└── youtube_sentiment_extension/
    ├── background.js
    ├── content.js
    ├── images
    │   ├── icon16.png
    │   ├── loading.gif
    │   ├── negative.gif
    │   ├── neutral.gif
    │   ├── positive.gif
    │   ├── sad.gif
    │   ├── truck.gif
    │   └── youtube-animation.gif
    ├── manifest.json
    ├── popup.html
    ├── script.js
    └── styles.css

Getting Started

Requirements

Ensure you have the following dependencies installed on your system:

  • JavaScript: version x.y.z

Installation

  1. Clone the youtube_sentiment_extension repository:
git clone https://github.com/KumarUtsav1025/youtube_sentiment_extension
  1. Change to the project directory:
cd youtube_sentiment_extension

Running youtube_sentiment_extension

  • Open Chrome and navigate to the Extensions page:
    chrome://extensions/
  • Enable Developer Mode by clicking the toggle switch in the top right corner.
  • Click "Load unpacked" and select the cloned directory.

Usage

  • Navigate to a YouTube video.
  • Click on the YouTube Comment Sentiment Analyzer icon in the Chrome toolbar.
  • The extension will automatically fetch and analyze the first 20 comments.
  • View the sentiment analysis results displayed in the extension popup.

Contributing

Contributions are welcome! Here are several ways you can contribute:

Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your GitHub account.
  2. Clone Locally: Clone the forked repository to your local machine using a Git client.
    git clone https://github.com/KumarUtsav1025/youtube_sentiment_extension
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear message describing your updates.
    git commit -m 'Implemented new feature x.'
  6. Push to GitHub: Push the changes to your forked repository.
    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.

Once your PR is reviewed and approved, it will be merged into the main branch.


Other Links


License

This project is protected under the MIT License. For more details, refer to the LICENSE file.