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.
- 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
- 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)
- ChatGPT
- Gemini
- Claude
- Grok
- Perplexity
- DeepSeek
- Kimi (kimi.ai)
- Qwen
- Visit Chrome Web Store
- Click "Add to Chrome"
- Click "Add Extension" in the confirmation dialog
- Visit Firefox Add-ons
- Click "Add to Firefox"
- 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.
- Download release version and unzip
- Open
chrome://extensionsin Chrome - Enable "Developer mode" in the top right
- Click "Load unpacked"
- 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.
-
Install required tools
-
Clone the repository
git clone https://github.com/futamura/AISummarizer.git cd AISummarizer -
Install dependencies
pnpm install
-
Start development server
pnpm dev
-
Open
chrome://extensionsin Chrome -
Enable "Developer mode" in the top right
-
Click "Load unpacked"
-
Select the
dist/devfolder in the downloaded directory
bundle exec fastlaneFor detailed project structure, please refer to DIRECTORYSTRUCTURE.md.
For detailed technology stack information, please refer to TECHNOLOGSTACK.md.
-
Code Style
- Use ESLint and Prettier
- Run
pnpm eslint-checkbefore committing - Run
pnpm prettier-fixbefore committing
-
Branch Strategy
main: Production branch (updated only by mergingdevelopduring a release)develop: Development branch- Do not commit directly to
mainordevelop - Create working branches from
develop, named after Conventional Commit types:feat/<name>,fix/<name>,docs/<name>, etc.
-
Pull Requests
- Clear title and description
- Reference related issue numbers
- Self-review before submission
# Production build
pnpm build
# Development build
pnpm devScreenshots 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:updateOnly 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.
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:firefoxTo load the development build:
- Open
about:debugging#/runtime/this-firefoxin Firefox - Click "Load Temporary Add-on..."
- 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.
The submitted package is built from this repository with webpack. To reproduce it:
- Install Node.js 20 and pnpm (the exact pnpm version is pinned in the
packageManagerfield ofpackage.json;corepack enablepicks it up) - Run
pnpm install --frozen-lockfile - Run
pnpm build:firefox - The build output is in
dist/firefox-prod
.github/workflows/release.yml submits each release to AMO when a v*.*.* tag is pushed. The first submission is manual:
- Create a developer account on addons.mozilla.org
- On
develop, runbundle exec fastlane build_firefox,bundle exec fastlane create_firefox_package, andbundle exec fastlane create_source_package - In the AMO Developer Hub, submit
free-ai-summarizer-firefox-<version>.zipas a new add-on ("On this site"), uploadfree-ai-summarizer-source-<version>.zipas 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 andPRIVACY.md) - Generate API credentials at https://addons.mozilla.org/developers/addon/api/key/
- Add them to the GitHub repository secrets as
AMO_JWT_ISSUERandAMO_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.
To take back a bad release on the Chrome Web Store or AMO, see docs/store-rollback.md.
We respect your privacy. All data is stored locally on your device. See our Privacy Policy for details.
This project is licensed under the MIT License.
