A Chrome extension to replace hate speech with art from LGBTQ+ artists. 🌈
- Duplicate the
env.sample.jsfile and rename it toenv.js - Create an account and a new application for the Unplash API
- Copy your Application ID from the Unsplash API and set it as the value to
GRAFFITI_EXT_UNSPLASH_CLIENT_IDin yourenv.jsfile
The code is written in Typescript, so you need to compile it before testing the extension. To do that using node.js:
// Install Typescript
npm install -g typescript
// Build the project
tsc -p graffiti/.vscode
After that you can upload the extension by opening Chrome, going to chrome://extensions/, clicking on "Load unpacked extension...", and selecting the graffiti folder.
- Hate Speech Lexicon from t-davidson/hate-speech-and-offensive-language
- Unsplash API