Skip to content

A bot to detect Hate Speech and record it on Blockchain before transmitting it.

License

Notifications You must be signed in to change notification settings

rac-sri/CONTROLLY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspiration

This project was inspired by the latest tragedy of the boys' locker room that happened in India. There was the spread of this information about a boys-only group in which the participants were body-shaming and planning hideous crimes like rape. There were two separate cases, one on Instagram and on Snapchat. The police proved that the Snapchat case was fake. But before even anything was proven, people started to spread hate speeches against the parties involved. This eventually resulted in one of the involved party to commit suicide.

What it does

My solution aims to notify people if the text or message they are gonna put on their stories or send to someone, might cause someone a mental breakdown. This bot basically is aimed at people who are unable to analyze if the message they are sending will affect someone mentally or not and that they are not unknowingly leading someone towards a state of depression, anxiety, etc. The bot awards the person coming to it with a potential hatred speech with an NFT token. The texts are recorded on the blockchain. The reward is claimed whenever someone gives any new potentially dangerous hatred text to the bot. This way people also get attracted to using the chatbot since they are being rewarded for it.

Installation

  1. Setup vm instances and follw the guidlines on GCP NLP sentimental analysis and setup the require env variables.
  2. Create a facebook page, setup webhooks, and add the page access token to the env variables.
  3. Run nodemon
  4. Expose the port using npm run expose

Tech Stack

  1. NodeJS
  2. Facebook Messenger
  3. Web3
  4. Ethereum
  5. Solidity
  6. Google Cloud Compute Enginer
  7. Google Cloud NLP models(sentimental analysis)

Demo

Rinkeby Test Network Video

What's next for CONTROLLY

  1. Integration of a Text Semantic Similarity Model for better record maintenance.
  2. Adding more interaction features if needed.

Screenshots