Skip to content

Myst9/Harmonize

Repository files navigation

Harmonize

A Tool to Detect Cyberbullying and Check the Toxicity of Comments on Various Websites

About

Harmonize is a Google Chrome Extension built to make Software Engineering online spaces more peaceful and harmonious than they currently are. It focuses on giving young and budding software engineers a positive environment so that they can grow and build successful careers. It primarily targets Software Developer websites like GitHub, detects Cyberbullying on these websites and protects you from it. It also assists you in turning your negative/toxic comments into something more constructive/productive before you post comments on the aforementioned sites.

Check out Harmonize Frontend for the server-version Frontend Code.

Check out Harmonize Backend for the server-version Backend Code.

Technical Details

• BERT Model fine-tuned on ToxiCR dataset
• Gemini API for comment suggestion

UI -

  1. Vanilla JS
  2. Chart JS

Pipeline

The pipeline/architecture/flow diagram of our toxicity detector model is:

Major Features

Toxicity Chart for GitHub

image image

Autosuggestor feature for GitHub

image

Toxicity Chart for Gmail

image

Autosuggestor feature for Gmail

image

Instructions

  1. Clone the repository using the following commands
$ git lfs install
$ git clone [email protected]:Myst9/Harmonize.git
$ cd Harmonize
$ git lfs fetch
$ git lfs checkout
  1. Enter the directory Harmonize and type
$ npm install
$ pip install requirements.txt
  1. Navigate to the API folder
  2. Edit the API key inside the test.py file with your Gemini API key.
  3. Run the following command
$ python test.py
  1. Go to chrome browser and type
chrome://extensions/
  1. Turn on Developer mode
  2. Click on Load Unpacked option and browse to the folder Client and select it.
  3. Enable/Reload the extension
  4. Navigate to GitHub or Gmail

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5