Show HN: Wat Dat – A Firefox Extension for Instant Text Explanations

bsgadaThursday, September 5, 2024

13

3

addons.mozilla.org

Wat dat" (What's that?) is a Firefox extension that sends any highlighted text to Groq and provides a simple explanation for it.

Every day, while learning or researching, I often need to look up the meanings of words or struggle to understand certain sentences. This breaks my flow and adds cognitive load due to context switching. So I created this extension to make my life a little easier.

It requires your own Groq API key and uses the llama3-70b model. All data is stored locally, ensuring your API key remains secure.

How It Works: - Highlight text you want explained and press the shortcut Ctrl/Cmd+Shift+E. - The extension sends the text to Groq's chat completion API - Groq's llama3-70b model generates a simple explanation - The explanation is streamed within the extension popup automatically

Code: https://github.com/bhavyagada/watdat

Examples: https://x.com/bsgada/status/1831398552171638899 https://x.com/bsgada/status/1830881308102533597

Some notes: - I have a Chrome version on GitHub but didn't publish it because I'm broke. I also haven't worked on a Safari version for the same reason. - I chose Groq because it's free and meets my needs. If this gains traction, I will make it customizable. - If you try it, please leave a review and share it with your friends if you liked it! :D - If you encounter any bugs, let me know.

Comments

3