askAI is a simple and powerful Chrome extension that explains selected text using your favorite AI models.
With a right-click, you can instantly get concise AI-powered explanations from OpenAI (ChatGPT), Gemini (Google), Mistral AI, Cohere, OpenRouter, or Hugging Face — all in one extension.
- 🔍 Select and Explain: Highlight any text on a webpage, right-click, and choose “Ask AI” to get an instant explanation.
- 🤖 Choose Your AI: Supports OpenAI, Gemini, Mistral, Cohere, OpenRouter, and Hugging Face.
- 🗝️ Private API Keys: Your API keys are saved only in your browser (never sent to anyone else).
- 🗨️ Conversational Chat: Ask follow-up questions directly in a mini-chat popup.
- 🖥️ Works on Most Websites: (Some restrictions apply for sites like Google Docs — see below.)
-
Download or Clone This Repo: (Or download as ZIP and extract.)
-
Go to
chrome://extensionsin Chrome -
Enable Developer Mode (top-right toggle)
-
Click “Load unpacked” and select your extracted
askai-extensionfolder
- Get Your API Keys:
- Set API Keys:
- Click the askAI extension icon.
- Go to “Settings”.
- Paste your API keys in the relevant fields.
- Select your preferred provider and save.
- Use It:
- Select text on any webpage.
- Right-click and choose “Ask AI”.
- See the explanation in a fancy popup. You can ask follow-up questions in the popup chat!
- Permissions Used:
"contextMenus","activeTab","storage","scripting","host_permissions": ["https://*/*", "http://*/*"] - Your API keys and queries never leave your browser. All requests go directly to your chosen AI provider.
- Not working on Google Docs or some sites?
This is a Chrome/Google Docs limitation (Docs uses a custom editor that blocks script access). - Error: Cannot access contents of the page.
Make sure you enabled “host_permissions” inmanifest.jsonand reloaded the extension. - Gemini not working?
Use the X-goog-api-key header for Gemini requests, and make sure your API key is unrestricted.
Pull requests and suggestions welcome! Open an issue or submit a PR.
MIT License
Made with ❤️ by Ekrem O.