Skip to content

About

A free and open-source Chrome Extension that uses AI to summarize web articles. Get instant summaries with just a few clicks.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

670 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Chrome Web Store Version Firefox Add-on Version License: MIT Open Source

A free and open-source browser extension for Chrome and Firefox (desktop and Android) that uses AI to summarize web articles. Get instant summaries with just a few clicks.

Banner

Features

Core Features

  • No charge, no API key, no login required
  • Extract the page when you summarize it, so content that loads late is included
  • Summarize articles with multiple AI services
  • Context menu support (desktop browsers)
  • Dark/Light mode support
  • Modern and polished design

Supported Content Types

  • Web Content - News articles, blog posts, and general web pages
  • YouTube - Video transcripts
  • Vimeo - Video captions, including auto-generated ones
  • PDF Documents - PDF files (Chrome only)

Supported AI services

  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
  • DeepSeek
  • Kimi (kimi.ai)
  • Qwen

Installation

From Chrome Web Store

  1. Visit Chrome Web Store
  2. Click "Add to Chrome"
  3. Click "Add Extension" in the confirmation dialog

From Firefox Add-ons

  1. Visit Firefox Add-ons
  2. Click "Add to Firefox"
  3. Click "Add" in the confirmation dialog

The same page installs the extension on Firefox for Android (142 or later). Desktop requires Firefox 140 or later.

Install locally (Chrome)

  1. Download release version and unzip
  2. Open chrome://extensions in Chrome
  3. Enable "Developer mode" in the top right
  4. Click "Load unpacked"
  5. Select the unzipped folder

Firefox only accepts signed add-ons, so install it from Firefox Add-ons instead. An unsigned build can be loaded from about:debugging#/runtime/this-firefox as a temporary add-on, but it is removed when Firefox restarts.

For Developers

Development Setup

  1. Install required tools

    • Node.js (v20 or higher)
    • pnpm (v10 or higher)
    • mise (Development environment manager)
  2. Clone the repository

    git clone https://github.com/futamura/AISummarizer.git
    cd AISummarizer
  3. Install dependencies

    pnpm install
  4. Start development server

    pnpm dev
  5. Open chrome://extensions in Chrome

  6. Enable "Developer mode" in the top right

  7. Click "Load unpacked"

  8. Select the dist/dev folder in the downloaded directory

Using Fastlane

bundle exec fastlane

Project Structure

For detailed project structure, please refer to DIRECTORYSTRUCTURE.md.

Technology Stack

For detailed technology stack information, please refer to TECHNOLOGSTACK.md.

Development Guidelines

  1. Code Style

    • Use ESLint and Prettier
    • Run pnpm eslint-check before committing
    • Run pnpm prettier-fix before committing
  2. Branch Strategy

    • main: Production branch (updated only by merging develop during a release)
    • develop: Development branch
    • Do not commit directly to main or develop
    • Create working branches from develop, named after Conventional Commit types: feat/<name>, fix/<name>, docs/<name>, etc.
  3. Pull Requests

    • Clear title and description
    • Reference related issue numbers
    • Self-review before submission

Building

# Production build
pnpm build

# Development build
pnpm dev

Visual regression tests

Screenshots of the toasts and the popup of a production build with the test hook (dist/prod-e2e) are compared with the baselines in e2e/visual/__screenshots__/. They run in the Playwright Docker image, as in CI, because fonts and rendering differ between macOS and Linux. Docker (OrbStack or Docker Desktop) must be running.

# Build dist/prod-e2e and compare with the baselines
pnpm test:visual

# Update the baselines after an intended change to the look, then review the PNGs before committing
pnpm test:visual:update

Only commit baselines made by pnpm test:visual:update; never ones made on macOS. A local failure leaves the diffs in test-results-visual/; in CI, the playwright-report-visual artifact shows them.

The image is the one of the Playwright version locked in pnpm-lock.yaml. After upgrading Playwright, run pnpm test:visual:update and review the PNGs: a new image may render differently.

The image runs Node.js 24, while the project, CI and releases use Node.js 20. Only the visual tests run on Node.js 24: the dependencies installed in the container, the dist/prod-e2e build and the test run. They do not show that a build made with Node.js 20 looks the same; the other jobs and the releases still build with Node.js 20.

Firefox

The same codebase also builds a Firefox version for desktop and Android. Browser-specific code lives in src/platform/.

# Development build for Firefox (watch mode, output: dist/firefox-dev)
pnpm dev:firefox

# Production build for Firefox (output: dist/firefox-prod)
pnpm build:firefox

To load the development build:

  1. Open about:debugging#/runtime/this-firefox in Firefox
  2. Click "Load Temporary Add-on..."
  3. Select dist/firefox-dev/manifest.json

Private tabs: the "New private tab" option only works after allowing the extension in private windows: about:addons β†’ Free AI Summarizer β†’ "Run in Private Windows" β†’ Allow.

Limitation: PDF summarization is not supported in the Firefox version. Firefox opens PDFs in its built-in viewer, where extensions cannot inject content scripts.

Android: Firefox for Android has no context menu or sidebar. Summarize pages from the extension's popup; the settings open in a tab instead of the sidebar.

Building for Firefox (AMO reviewers)

The submitted package is built from this repository with webpack. To reproduce it:

  1. Install Node.js 20 and pnpm (the exact pnpm version is pinned in the packageManager field of package.json; corepack enable picks it up)
  2. Run pnpm install --frozen-lockfile
  3. Run pnpm build:firefox
  4. The build output is in dist/firefox-prod

Releasing to Firefox Add-ons (AMO)

.github/workflows/release.yml submits each release to AMO when a v*.*.* tag is pushed. The first submission is manual:

  1. Create a developer account on addons.mozilla.org
  2. On develop, run bundle exec fastlane build_firefox, bundle exec fastlane create_firefox_package, and bundle exec fastlane create_source_package
  3. In the AMO Developer Hub, submit free-ai-summarizer-firefox-<version>.zip as a new add-on ("On this site"), upload free-ai-summarizer-source-<version>.zip as the source code, and fill in the listing (description, screenshots, categories, privacy policy); the description must state that PDF files are not supported in the Firefox version, and that the page title, URL and text are sent to the AI service the user selects (matching the manifest's data collection declaration and PRIVACY.md)
  4. Generate API credentials at https://addons.mozilla.org/developers/addon/api/key/
  5. Add them to the GitHub repository secrets as AMO_JWT_ISSUER and AMO_JWT_SECRET

Until the secrets are set, the workflow skips the AMO submission with a warning. AMO rejects re-uploads of an existing version, so re-releasing the same version only fails the Firefox steps; the Chrome release is unaffected.

Rolling back a release

To take back a bad release on the Chrome Web Store or AMO, see docs/store-rollback.md.

πŸ”’ Privacy

We respect your privacy. All data is stored locally on your device. See our Privacy Policy for details.

πŸ“ License

This project is licensed under the MIT License.

About

A free and open-source Chrome Extension that uses AI to summarize web articles. Get instant summaries with just a few clicks.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages