Dev Tools // // 3 min read

BSummarize – A Firefox Extension for Effortless Web Content Consumption

balakumar Senior Software Engineer

In today's digital age, we are bombarded with vast amounts of information online. Articles seem to get longer, and it's increasingly challenging to stay on top of content in multiple languages. That's where BSummarize comes in. This powerful Firefox extension leverages the power of AI to help you quickly summarize and translate web pages, making it easier than ever to extract key information and break language barriers.

Get it on Firefox

โœจ Key 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.
  • Effortless YouTube Summaries: Automatically detect and summarize video captions.
  • Handles Long Content: Intelligent chunking for efficient processing of large articles.

๐Ÿš€ Benefits

  • Save Time: Extract key information in seconds. โณ
  • Boost Comprehension: Understand complex topics with ease. ๐Ÿง 
  • Break Language Barriers: Access content in any language. ๐ŸŒ

โฌ‡๏ธ Installation

  1. Download: Head over to the latest release page: here.
  2. Open in Firefox: Click on the .xpi file for the latest version.
  3. Confirm Installation: Click "Add" when Firefox prompts you.
  4. Get Started! The BSummarize icon will appear in your toolbar.

โžก๏ธ How to Use

  1. Go to a Webpage: Visit any website you'd like to summarize or translate.
  2. Click the Icon:
    • Entire Page: Click the BSummarize icon without selecting any text.
    • Specific Text: Highlight the desired text, then click the icon.
  3. View Results: The summary or translation appears in a popup. Click "View Results" for a full-screen view.

๐Ÿง  Choose Your Language Model

BSummarize offers flexibility with support for both Google Gemini and Ollama.

  • Google Gemini: Often faster and more powerful. Requires a free API key.
  • Ollama: Runs locally on your computer; no API key needed. Requires installation.

๐Ÿ—๏ธ Getting a Google Gemini API Key

  1. Visit the Google AI for Developers website: https://ai.google.dev
  2. Sign in with your Google Account.
  3. Create a new project and enable the "Gemini API".
  4. Generate an API key and paste it into BSummarize's options.

๐Ÿš€ Installing Ollama & Enabling CORS

  1. Install Ollama: Follow the instructions for your operating system: https://ollama.ai/
  2. Enable CORS: This is crucial for BSummarize to communicate with Ollama.
    • macOS:
      launchctl setenv OLLAMA_ORIGINS "*"
    • Linux (using systemd):
      1. Edit the Ollama service file:
        sudo systemctl edit ollama.service
      2. Add this line under the [Service] section:
        Environment="OLLAMA_ORIGINS=*"
      3. Reload and restart Ollama:
        sudo systemctl daemon-reload
        sudo systemctl restart ollama.service
    • Windows:
      1. Make sure Ollama is closed.
      2. Open: Control Panel > System and Security > System.
      3. Click "Advanced system settings" > "Environment Variables."
      4. Create a new system variable:
        • Variable name: OLLAMA_ORIGINS
        • Variable value: *
      5. Restart your computer.

๐Ÿ” Security

We take your privacy seriously! BSummarize does not store your API keys or the content you process on any external servers. All processing happens locally on your device.


Enjoy BSummarize! If you have any questions or need help, feel free to open an issue on GitHub.