Link https://devpost.com/software/detoxifier-just-a-better-twitter
- download this repo
- go to
chrome://extensions
- check
Developer mode
in the top right corner - click
Load unpacked
- select this repository
- clone IBM's MAX-Toxic-Comment-Classifier
- start the docker container as shown in the link above
- you can host it on your domain with https (required), if you don't have a domain:
- use a reverse proxy, I used caddy with the following
Caddyfile
:2021
reverse_proxy 127.0.0.1:5000 {
header_down Access-Control-Allow-Headers *
header_down Access-Control-Allow-Origin *
}
- use a tunnel, for this project, I used ngrok for automatic https
./ngrok http 2021
(2021 - the port above)
Clone the detoxifier server and host it using the above method, or on netlify, as it isn't as resource intensive as the toxic classifier server.