A Chrome extension that allows you to chat with any webpage's content using the Gemini AI API. Have interactive conversations about the content you're reading, ask questions, and get contextual responses.
- 🚀 Chat with any webpage content using Gemini AI
- 💬 Maintains conversation context for natural dialogue
- 🎨 Markdown support for formatted responses
- 📝 Syntax highlighting for code blocks
↔️ Resizable sidebar interface- 🔐 Secure local API key storage
- ⌨️ Keyboard shortcut support
- 🎯 Context-aware responses
- 🔄 Real-time content updates
- Clone this repository:
git clone [repository-url]- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- The extension icon will appear in your Chrome toolbar
- Get a Gemini API key from Google AI Studio
- Click the extension icon in your Chrome toolbar
- Enter your Gemini API key in the setup screen
- The API key is stored locally in your browser and is never sent anywhere except to Google's Gemini API
- Click the extension icon in your toolbar, or
- Use the keyboard shortcut:
- Windows/Linux:
Ctrl+Shift+S - Mac:
Command+Shift+S
- Windows/Linux:
- Resize: Drag the left edge of the sidebar to adjust its width
- Chat: Type your questions about the webpage content
- Context: The chat maintains conversation history for contextual follow-up questions
- Formatting: Responses are formatted in Markdown with syntax highlighting for code
- Navigation: Chat sidebar persists as you scroll the webpage
- Your Gemini API key is stored locally using Chrome's storage API
- Webpage content is processed locally and only sent to Gemini API when you ask questions
- Chat history is stored in memory and cleared when you close the sidebar
- No data is collected, stored, or transmitted to any third parties
- The extension requires minimal permissions:
activeTab: To access current webpage contentstorage: To store your API key locallyscripting: To inject the chat interface
- All API calls are made directly to Google's Gemini API using your provided key
- Communication is encrypted using HTTPS
- API costs are based on your Gemini API usage terms
- Background Script: Handles extension initialization and events
- Content Script: Manages the sidebar iframe and webpage integration
- Sidebar: Contains the chat interface and API communication logic
marked.js: Markdown parsinghighlight.js: Syntax highlighting for code blocks
- Chrome/Chromium-based browsers (v88+)
- Manifest V3 compliant
├── manifest.json
├── background.js
├── content.js
├── sidebar.js
├── sidebar.html
├── sidebar.css
└── lib/
├── marked.min.js
├── highlight.min.js
└── highlight.min.css
No build process required - the extension can be loaded directly as unpacked.
- Maximum webpage content length is limited to prevent token limits
- Chat history is limited to last 10 messages
- Works only on regular webpages (not on Chrome Web Store or other restricted pages)
- Requires active internet connection for API communication
Contributions are welcome! Please feel free to submit a Pull Request.





