This is a demo chrome extension for analyzing message tone(slack for now) before sending a message out. It use Google Natural Language API and displays positive/neutral/negative to user
- Download the code, e.g.
git clone https://github.com/megaurav2002/tone-analyzer
- Get a Google Natural Language API key and update in Content.js
- Navigate chrome to
chrome://extensions
- Check the
Developer mode
toggle - Click on
Load Unpacked Extension...
- Select the folder containing the extension
- Instead of hitting a button to check sentiment, it would be nice if a smiley rain showing sentiment happens when user enters a message and pauses for a second or so
- Getting it to run with different messaging apps should be trivial, you will just need to add target DOM element in Content.js