> pmpt

ai-chrome-extension

โญ Pioneer ๐Ÿ“ Documented
@Raunplaymore (10 projects) ยท 3 steps ยท 16.1 KB ยท 2026-02-24

A Chrome extension that summarizes long articles and blog posts using AI.

#chrome-extension#ai#summarizer

Clone via terminal:

pmpt clone ai-chrome-extension
1

Starting Prompt

This single prompt is where the project began.

ai-chrome-extension โ€” Product Development Request

What I Want to Build

A Chrome extension that summarizes long articles and blog posts using AI. Click the extension icon on any page, get a 3-bullet summary instantly. Save summaries for later reading.

Additional Context

Should work on any webpage with article content. No API key required from users โ€” use a free-tier AI API on the backend. Clean popup UI, not a sidebar.

Key Features

  • One-click article summarization
  • 3-bullet summary format
  • Save summaries to history
  • Popup UI with clean design
  • Works on any article/blog page
  • Keyboard shortcut (Alt+S)

Tech Stack Preferences

Chrome Extension Manifest V3, TypeScript, Tailwind CSS, Cloudflare Workers

Architecture

  • Content Script: Uses Mozilla's Readability.js to extract article body text
  • Background Service Worker: Receives extracted text, calls backend API, manages chrome.storage
  • Popup UI: 400x500px popup โ€” shows summary or "Summarize this page" button
  • History Page: Full-page tab with list of saved summaries, searchable
  • Backend: Cloudflare Worker at /api/summarize โ€” proxies to Claude API

Extension Structure

src/
โ”œโ”€โ”€ manifest.json
โ”œโ”€โ”€ content.ts             # Article extraction
โ”œโ”€โ”€ background.ts          # Service worker
โ”œโ”€โ”€ popup/
โ”‚   โ”œโ”€โ”€ popup.html
โ”‚   โ”œโ”€โ”€ popup.ts
โ”‚   โ””โ”€โ”€ popup.css
โ”œโ”€โ”€ history/
โ”‚   โ”œโ”€โ”€ history.html       # chrome_url_overrides or new tab
โ”‚   โ”œโ”€โ”€ history.ts
โ”‚   โ””โ”€โ”€ history.css
โ””โ”€โ”€ utils/
    โ””โ”€โ”€ storage.ts         # Chrome storage wrapper

Please help me build this product based on the requirements above.

Progress

  • Manifest V3 setup + project scaffolding
  • Content script with Readability.js extraction
  • Popup UI (loading state + summary display)
  • Cloudflare Worker backend
  • One-click summarize flow working end-to-end
  • Save summaries to chrome.storage.local
  • History page with saved summaries list
  • Keyboard shortcut (Alt+S)
  • Chrome Web Store submission
  • Rate limiting on backend (prevent abuse)

Snapshot Log

v1 - Initial Plan

  • Defined product idea: one-click article summarization
  • Chose Manifest V3 + Cloudflare Workers architecture

v2 - Core Summarization Working

  • Built content script with Readability.js
  • Created popup UI with loading spinner and summary display
  • Deployed Cloudflare Worker backend
  • End-to-end flow working on Medium, dev.to, HN articles

v3 - History + Keyboard Shortcut

  • Added chrome.storage.local for saving summaries (page title + URL + bullets + timestamp)
  • Built history page: lists all saved summaries, click to revisit original article
  • Added search/filter in history page
  • Implemented Alt+S keyboard shortcut via manifest commands
  • Added "Copy summary" button to popup
  • Fixed: Readability.js failing on some paywall sites โ€” now shows friendly error
2

Project Plan

The development plan AI organized from the prompt.

Idea
A Chrome extension that summarizes long articles and blog posts using AI. Click the extension icon on any page, get a 3-bullet summary instantly. Save summaries for later reading.
Core Features
One-click article summarization; 3-bullet summary format; Save summaries to history; Popup UI with clean design; Works on any article/blog page; Keyboard shortcut (Alt+S)
Tech Stack
Chrome Extension Manifest V3, TypeScript, Tailwind CSS
3

Development Journey

A summary of 3 snapshots recorded during AI development. Clone the project to explore the full history.

v3 2025:11:28

History + Keyboard Shortcut

  • ยท Added chrome.storage.local for saving summaries (page title + URL + bullets + timestamp)
  • ยท Built history page: lists all saved summaries, click to revisit original article
  • ยท Added search/filter in history page
  • ยท Implemented Alt+S keyboard shortcut via manifest commands
  • ยท Added "Copy summary" button to popup
  • ยท Fixed: Readability.js failing on some paywall sites โ€” now shows friendly error
Detail

ai-chrome-extension โ€” Product Development Request

What I Want to Build

A Chrome extension that summarizes long articles and blog posts using AI. Click the extension icon on any page, get a 3-bullet summary instantly. Save summaries for later reading.

Additional Context

Should work on any webpage with article content. No API key required from users โ€” use a free-tier AI API on the backend. Clean popup UI, not a sidebar.

Key Features

  • One-click article summarization
  • 3-bullet summary format
  • Save summaries to history
  • Popup UI with clean design
  • Works on any article/blog page
  • Keyboard shortcut (Alt+S)

Tech Stack Preferences

Chrome Extension Manifest V3, TypeScript, Tailwind CSS, Cloudflare Workers

Architecture

  • Content Script: Uses Mozilla's Readability.js to extract article body text
  • Background Service Worker: Receives extracted text, calls backend API, manages chrome.storage
  • Popup UI: 400x500px popup โ€” shows summary or "Summarize this page" button
  • History Page: Full-page tab with list of saved summaries, searchable
  • Backend: Cloudflare Worker at /api/summarize โ€” proxies to Claude API

Extension Structure

src/
โ”œโ”€โ”€ manifest.json
โ”œโ”€โ”€ content.ts             # Article extraction
โ”œโ”€โ”€ background.ts          # Service worker
โ”œโ”€โ”€ popup/
โ”‚   โ”œโ”€โ”€ popup.html
โ”‚   โ”œโ”€โ”€ popup.ts
โ”‚   โ””โ”€โ”€ popup.css
โ”œโ”€โ”€ history/
โ”‚   โ”œโ”€โ”€ history.html       # chrome_url_overrides or new tab
โ”‚   โ”œโ”€โ”€ history.ts
โ”‚   โ””โ”€โ”€ history.css
โ””โ”€โ”€ utils/
    โ””โ”€โ”€ storage.ts         # Chrome storage wrapper

Please help me build this product based on the requirements above.

Progress

  • Manifest V3 setup + project scaffolding
  • Content script with Readability.js extraction
  • Popup UI (loading state + summary display)
  • Cloudflare Worker backend
  • One-click summarize flow working end-to-end
  • Save summaries to chrome.storage.local
  • History page with saved summaries list
  • Keyboard shortcut (Alt+S)
  • Chrome Web Store submission
  • Rate limiting on backend (prevent abuse)

Snapshot Log

v1 - Initial Plan

  • Defined product idea: one-click article summarization
  • Chose Manifest V3 + Cloudflare Workers architecture

v2 - Core Summarization Working

  • Built content script with Readability.js
  • Created popup UI with loading spinner and summary display
  • Deployed Cloudflare Worker backend
  • End-to-end flow working on Medium, dev.to, HN articles

v3 - History + Keyboard Shortcut

  • Added chrome.storage.local for saving summaries (page title + URL + bullets + timestamp)
  • Built history page: lists all saved summaries, click to revisit original article
  • Added search/filter in history page
  • Implemented Alt+S keyboard shortcut via manifest commands
  • Added "Copy summary" button to popup
  • Fixed: Readability.js failing on some paywall sites โ€” now shows friendly error

Files (1)

plan.md
v2 2025:11:20

Core Summarization Working

  • ยท Built content script with Readability.js โ€” extracts clean article text
  • ยท Created popup UI with loading spinner and 3-bullet summary display
  • ยท Deployed Cloudflare Worker backend that calls Claude API
  • ยท End-to-end flow: click icon โ†’ extract โ†’ summarize โ†’ display. Works!
  • ยท Tested on Medium, dev.to, Hacker News articles
Detail

ai-chrome-extension โ€” Product Development Request

What I Want to Build

A Chrome extension that summarizes long articles and blog posts using AI. Click the extension icon on any page, get a 3-bullet summary instantly. Save summaries for later reading.

Additional Context

Should work on any webpage with article content. No API key required from users โ€” use a free-tier AI API on the backend. Clean popup UI, not a sidebar.

Key Features

  • One-click article summarization
  • 3-bullet summary format
  • Save summaries to history
  • Popup UI with clean design
  • Works on any article/blog page
  • Keyboard shortcut (Alt+S)

Tech Stack Preferences

Chrome Extension Manifest V3, TypeScript, Tailwind CSS, Cloudflare Workers

Architecture

  • Content Script: Uses Mozilla's Readability.js to extract article body text, stripping ads/nav/footer
  • Background Service Worker: Receives extracted text, calls backend API
  • Popup UI: 400x500px popup with loading spinner โ†’ 3 bullet points + copy button
  • Backend: Cloudflare Worker at /api/summarize โ€” proxies to Claude API with system prompt for 3-bullet summaries. Hides API key from users.

Extension Structure

src/
โ”œโ”€โ”€ manifest.json          # Manifest V3
โ”œโ”€โ”€ content.ts             # Article extraction (Readability.js)
โ”œโ”€โ”€ background.ts          # Service worker โ€” API calls
โ”œโ”€โ”€ popup/
โ”‚   โ”œโ”€โ”€ popup.html
โ”‚   โ”œโ”€โ”€ popup.ts           # Summary display logic
โ”‚   โ””โ”€โ”€ popup.css          # Tailwind compiled
โ””โ”€โ”€ utils/
    โ””โ”€โ”€ storage.ts         # Chrome storage API wrapper

Please help me build this product based on the requirements above.

Progress

  • Manifest V3 setup + project scaffolding
  • Content script with Readability.js extraction
  • Popup UI (loading state + summary display)
  • Cloudflare Worker backend (proxies to Claude API)
  • One-click summarize flow working end-to-end
  • Save summaries to chrome.storage.local
  • History page (list of saved summaries)
  • Keyboard shortcut (Alt+S)
  • Chrome Web Store submission

Snapshot Log

v1 - Initial Plan

  • Defined product idea: one-click article summarization
  • Chose Manifest V3 + Cloudflare Workers architecture

v2 - Core Summarization Working

  • Built content script with Readability.js โ€” extracts clean article text
  • Created popup UI with loading spinner and 3-bullet summary display
  • Deployed Cloudflare Worker backend that calls Claude API
  • End-to-end flow: click icon โ†’ extract โ†’ summarize โ†’ display. Works!
  • Tested on Medium, dev.to, Hacker News articles

Files (1)

plan.md
v1 2025:11:15

Initial Plan

  • ยท Defined product idea: one-click article summarization
  • ยท Chose Manifest V3 + Cloudflare Workers architecture
Detail

ai-chrome-extension โ€” Product Development Request

What I Want to Build

A Chrome extension that summarizes long articles and blog posts using AI. Click the extension icon on any page, get a 3-bullet summary instantly. Save summaries for later reading.

Additional Context

Should work on any webpage with article content. No API key required from users โ€” use a free-tier AI API on the backend. Clean popup UI, not a sidebar.

Key Features

  • One-click article summarization
  • 3-bullet summary format
  • Save summaries to history
  • Popup UI with clean design
  • Works on any article/blog page
  • Keyboard shortcut (Alt+S)

Tech Stack Preferences

Chrome Extension Manifest V3, TypeScript, Tailwind CSS


Please help me build this product based on the requirements above.

  1. First, review the requirements and ask if anything is unclear.
  2. Propose a technical architecture.
  3. Outline the implementation steps.
  4. Start coding from the first step.

I'll confirm progress at each step before moving to the next.

Documentation Rule

Important: Update this document (located at .pmpt/docs/pmpt.md) at these moments:

  • When architecture or tech decisions are finalized
  • When a feature is implemented (mark as done)
  • When a development phase is completed
  • When requirements change or new decisions are made

Files (1)

plan.md