A powerful Chrome extension that provides AI-powered webpage summarization using Groq's API. Get concise summaries of any webpage with just one click, with full control over the summarization process.
- One-Click Summarization - Get instant summaries of any webpage
- Multiple AI Models - Choose from various Llama models for different summarization needs
- Customizable Output - Control summary length with token limits (100-8192 tokens)
- Secure API Key Storage - Your Groq API key is encrypted before storage
- Real-time Model Loading - Automatically fetches available models from Groq API
- Responsive Design - Works on all screen sizes with a clean, modern interface
- Error Handling - Helpful error messages for common issues
- No Data Collection - All processing happens locally in your browser
demo.webm
- Google Chrome (latest version recommended)
- A valid Groq API key
- Basic knowledge of installing Chrome extensions
-
Clone this repository:
git clone https://github.com/bakar31/websum-extension.git cd websum-extension
-
Open Google Chrome and navigate to
chrome://extensions
-
Enable "Developer mode" in the top right corner
-
Click on "Load unpacked" and select the
websum-extension
directory
- Click the WebSummarizer extension icon in your toolbar
- Click the gear icon (⚙️) to open settings
- Enter your Groq API key
- (Optional) Adjust model and token settings as needed
- Click "Save"
- Navigate to any webpage you want to summarize
- Click the WebSummarizer extension icon in your toolbar
- Click the "Summarize" button
- View the generated summary in the popup
- Use the settings to customize your summarization preferences
- Model Selection: Choose from available Groq models (automatically loaded)
- Token Limit: Set how long you want the summary to be (100-8192 tokens)
- API Key Management: Easily update or remove your API key
- Your API key is encrypted before being stored in Chrome's sync storage
- All API calls are made directly from your browser to Groq's servers
- No data is stored or logged by the extension
websum-extension/
├── manifest.json # Extension configuration
├── popup/
│ ├── popup.html # Main UI interface
│ ├── popup.js # Popup logic and event handlers
│ └── popup.css # Styling for the popup UI
├── background/
│ └── background.js # Service worker for API calls
├── utils/
│ ├── api.js # Groq API integration
│ ├── crypto.js # Encryption utilities
│ └── constants.js # App-wide constants
└── assets/ # Icons and other static files
- Make your changes to the source code
- Test your changes in Chrome by reloading the extension
- Ensure all features work as expected
- Commit your changes with descriptive messages
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License
Copyright (c) 2025 Abu Bakar Siddik
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.