Hum(ai)n is a Chrome extension that brings AI-powered assistance to your web browsing experience. It allows you to ask questions about any webpage you're viewing and get intelligent responses powered by Google's Gemini AI.
- 🤖 AI-powered webpage analysis and Q&A
- 💬 Interactive chat interface
- 🔄 Dual-mode interface (popup and sidebar)
- 🔒 Secure API key management
- 🎨 Clean, modern UI design
- 📝 Markdown support for responses
- 🔍 Context-aware responses based on webpage content
-
Clone this repository:
git clone https://github.com/Hamhunter23/humain.git
-
Open Chrome and navigate to
chrome://extensions/ -
Enable "Developer mode" in the top right corner
-
Click "Load unpacked" and select the cloned repository directory
-
Get your Gemini API key from Google AI Studio
-
Click the Hum(ai)n extension icon in your browser
-
Enter your Gemini API key in the popup interface
-
Click "Save" to store your API key securely
- Click the Hum(ai)n extension icon in your browser toolbar
- Type your question about the current webpage
- Press Enter or click the send button to get a response
- Click the sidebar toggle button in the popup
- The sidebar will open on the right side of your browser
- Ask questions about the webpage content
- Get responses while keeping the webpage in view
- Your API key is stored securely in Chrome's storage
- No data is sent to any servers other than Google's Gemini API
- All communication is encrypted using HTTPS
manifest.json- Extension configurationpopup.html/js/css- Main popup interfacesidepanel.html/js/css- Sidebar interfacecontent.js- Webpage content interactionbackground.js- Background service workergenerative-ai.js- AI integration logic
- Google Gemini API
- DOMPurify (for security)
- Marked.js (for markdown rendering)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.