A powerful Chrome extension that uses Google's Gemini AI to generate concise bullet-point summaries of any webpage. Perfect for quick research, reading articles, and getting key information from long content.
- 🚀 One-click webpage summarization
- 📋 Clean bullet-point summaries in simple language
- ⚡ Fast and efficient processing
- 📱 Works on any website (specially optimized for Wikipedia!)
- 🎨 Clean, user-friendly interface
- Google Chrome Browser
- Gemini API Key (free from Google AI Studio)
-
Get Gemini API Key
# Visit Google AI Studio https://makersuite.google.com/app/apikey # Create new key and copy it
-
Clone the Repository
git clone https://github.com/mdsahban/webpage-summarizer.git cd webpage-summarizer
-
Configure API Key
- Open
background.js
- Replace
'YOUR_GEMINI_API_KEY'
with your actual API key - Save the file
- Open
-
Load in Chrome
- Open Chrome
- Go to
chrome://extensions/
- Enable "Developer mode" (top right)
- Click "Load unpacked"
- Select the extension folder
- Click the extension icon in Chrome toolbar
- Press the "Summarize" button
- Get your summary in seconds!
Demo.mp4
webpage-summarizer/
├── manifest.json # Extension configuration
├── popup.html # Extension popup interface
├── popup.js # Popup interaction logic
├── background.js # Background processes & API calls
└── styles.css # Extension styling
The extension works in three simple steps:
-
Content Extraction
- Smart extraction of main content
- Optimized for various website structures
- Filters out irrelevant content
-
AI Processing
- Uses Gemini AI for intelligent summarization
- Processes text efficiently
- Generates easy-to-read bullet points
-
User Interface
- Clean, modern popup design
- Loading states for better UX
- Error handling with clear messages
Issue | Solution |
---|---|
No Summary Generated | Check API key in background.js |
Slow Performance | Wait a few seconds for long pages |
Extension Not Working | Reload the extension |
- Use on Wikipedia for best results
- Works great for news articles
- Ideal for research papers
- Perfect for long blog posts
// Example of how to trigger summarization
document.getElementById('summarizeBtn').addEventListener('click', () => {
// Your summarization code
});
Contributions are welcome! Here's how:
- Fork the repository
- Create your feature branch
git checkout -b feature/AmazingFeature
- Commit your changes
git commit -m 'Add some AmazingFeature'
- Push to the branch
git push origin feature/AmazingFeature
- Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- Google's Gemini AI for powering the summarization
- Chrome Extensions documentation
- Wikipedia for optimization testing
Having issues? Let's solve them:
- 🐛 Check the issues page
- 📝 Create a new issue
- 📧 Contact via email:mdsahban28@duck.com
- Add support for PDF files
- Implement custom summary lengths
- Add multiple language support
- Create options page for customization
Built with ❤️ by [Md Sahban]