Allows selecting text on a web page and displaying a tooltip with the buttons "Search", "Eli5" and "Esc".
A quick proof of concept showing the functionality to select text on a web page and querying the perplexity API to:
- perform an online lookup of the selected text
- Explain the selected snippet like you would to a five-year-old (Eli5 - Explain like I'm five)
eli5_demo.mov
Create a .env
file and set your perplexity API key
REACT_APP_PERPLEXITY_API_KEY=<your perplexity AI API key>
npm install
npm run start