Empower your Google searches with AI
This Chrome extension intercepts Google searches and sends the query to OpenAI and Perplexity APIs. It then displays both responses in a new tab. This extension combines the power of Google Autocomplete with the intelligence of AI. It handles Google searches from Chrome's address bar and Google's search page.
- Intercepts Google search queries
- Sends queries to OpenAI (gpt-4o-mini) and Perplexity (llama-3.1-sonar-small-128k-chat)
- Displays both responses in a new tab
- Before using the extension, you need to add your OpenAI and Perplexity API keys:
- Go to https://platform.openai.com/api-keys to obtain an OpenAI API key.
- Go to https://www.perplexity.ai/settings/api to obtain a Perplexity API key.
- Open the
background.js
file. - Replace
'your_openai_api_key_here'
and'your_perplexity_api_key_here'
with your actual API keys.
- Open Google Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the directory containing the extension files.
- Perform a Google search as you usually would, either from google.com or your Chrome address bar.
- The extension will intercept the search, send it to both AI models, and open a new tab with the results.
manifest.json
: Extension configuration filebackground.js
: Handles search interception and API callsresults.html
: Template for displaying resultsresults.js
: Handles retrieving and displaying resultsmarked.min.js
: Markdown parsing library from https://marked.js.org/
Contributions to improve the extension are welcome. Please feel free to submit issues or pull requests.