BSummarize
A Firefox extension that summarizes and translates web pages using Google Gemini and local Ollama models. Features YouTube caption support.
BSummarize
AI-Powered Web Page Summarization for Firefox
A free Firefox extension that summarizes and translates web pages using Gemini and open-source language models like Llama3, Mistral, and Gemma. Features customizable settings, YouTube caption support, and intelligent chunking for long text.
Features
- Summarize Entire Pages - Get a concise summary with a single click
- Summarize Selected Text - Highlight specific passages for focused summaries
- Multi-Language Support - Summarize and translate into your preferred language
- YouTube Summaries - Automatically detect and summarize video captions
- Long Content Handling - Intelligent chunking for efficient processing
Benefits
| Benefit | Description |
|---|---|
| Save Time | Extract key information in seconds |
| Boost Comprehension | Understand complex topics easily |
| Break Language Barriers | Access content in any language |
Installation
- Download the latest
.xpifile from the Releases page - Open the file in Firefox
- Click "Add" when prompted
- The BSummarize icon appears in your toolbar
Usage
Summarize Entire Page
- Visit any website
- Click the BSummarize icon
- View the summary in the popup
Summarize Selection
- Highlight the text you want to summarize
- Click the BSummarize icon
- View the focused summary
View Full Results
Click "View Results" in the popup for a full-screen view.
Language Models
BSummarize supports both cloud and local AI providers.
Google Gemini (Cloud)
Faster and more powerful. Requires a free API key.
Get Your API Key:
- Visit https://ai.google.dev
- Sign in with your Google Account
- Create a new project and enable the "Gemini API"
- Generate an API key and paste it into BSummarize options
Ollama (Local)
Runs locally on your computer with no API key needed.
Setup:
- Install Ollama from https://ollama.ai/
- Enable CORS (see below)
- Select Ollama in BSummarize settings
Enabling CORS for Ollama
macOS
launchctl setenv OLLAMA_ORIGINS "*"
Linux (systemd)
# Edit Ollama service
sudo systemctl edit ollama.service
# Add under [Service] section:
Environment="OLLAMA_ORIGINS=*"
# Reload and restart
sudo systemctl daemon-reload
sudo systemctl restart ollama.service
Windows
- Close Ollama
- Open Control Panel > System > Advanced system settings
- Click Environment Variables
- Create new system variable:
- Name:
OLLAMA_ORIGINS - Value:
*
- Name:
- Restart your computer
Configuration
Access settings by clicking the BSummarize icon and selecting "Options":
- AI Provider - Choose between Gemini or Ollama
- Model - Select specific model variant
- Language - Set output language for summaries
- Summary Style - Brief, detailed, or bullet points
Tech Stack
- Language: JavaScript
- Platform: Firefox Extension (WebExtension API)
- AI Providers: Google Gemini, Ollama
- Supported Models: Llama3, Mistral, Gemma, Gemini
Privacy
BSummarize prioritizes your privacy:
- API keys are stored locally in browser storage
- Content is sent directly to your chosen AI provider
- No data is stored on external servers
- Ollama option keeps everything on your device
Contributing
Contributions welcome! Feel free to open issues or submit pull requests.
License
This project is open source. See the repository for license details.