Inspiration

According to a survey conducted by Pew Research Center in 2021, approximately 41% of respondents have faced some form of online harassment. The rise of cyber discrimination and harassment has been seriously neglected by the companies that run the social media platforms on which this harassment occurs. Tools designed to curb discriminatory behaviour are necessary to build a safer social environment for everyone.

What it does

Detoxify is a browser extension that scans for text that is inputted by users, and leverages OpenAI's API in order to identify phrases that contain prejudicial and discriminatory content. After analyzing the text, these identified phrases are highlighted, and more inclusive and unbiased suggestions are presented to the user right next to it.

How we built it

Detoxify was built using JavaScript, HTML and CSS.

Challenges we ran into

  • Locating and finding a way to gather user input
  • Analyzing inputted phrases for harassment

Accomplishments that we're proud of

  • Building a browser extension with no prior experience
  • Creating a tool that can be a supplementary solution to a problem that impacts a large portion of the population
  • Developing such a tool in less than half a day

What we learned

  • How to create a browser extension
  • How to collaborate on a project with others
  • Deeper understanding of JavaScript, HTML, and CSS

What's next for Detoxify

Detoxify can be improved by refining prompts, GUI, and training our own models.

Built With

Share this project:

Updates