Clarity is a Chrome extension provides instant detailed information about any selected text on a webpage. Developed using Gemini-Pro-1.5 API, the extension analyzes and returns useful insights related to the selected text.
Create API key
If you don't already have Gemini API key create a key from here.
- Clone or download this repository.
- Replace
<API_KEY>
in thebackground.js
with your API Key.
// Replace this with your actual API key
const API_KEY = "<YOUR_API_KEY>";
- Go to
chrome://extensions/
in your Chrome browser. - Enable Developer Mode.
- Click Load Unpacked and select the extension directory.
- The extension is now ready to use.
- Install the extension via developer mode.
- Highlight any text on a webpage.
- Right-click and choose the “Clarity” option from the context menu.
- View detailed insights in a popup.