A Chrome extension that summarizes Facebook group posts and sends you an email digest.
The extension uses a visual approach to extract posts from Facebook groups. Instead of parsing Facebook's DOM, it captures screenshots of the page and uses Claude's vision capabilities to identify and extract post content.
┌─────────────────────┐ ┌─────────────────────┐
│ Chrome Extension │ HTTP │ Vercel Function │
│ - Capture │────────▶│ - Extract posts │
│ screenshots │ │ (Claude Vision) │
│ - Send to backend │ │ - Summarize (LLM) │
└─────────────────────┘ │ - Send email │
└─────────────────────┘
The extension captures 3 screenshots while scrolling through the group feed, then sends them to the backend where Claude Vision extracts the posts and summarizes them.
npm installnpx vercel --prodSet these in the Vercel dashboard:
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY |
Claude API key (required) |
RESEND_API_KEY |
Resend API key (required) |
RECIPIENT_EMAIL |
Your email address (required) |
API_SECRET |
Shared secret for API auth (required) |
LLM_PROVIDER |
claude (default) or openai for summarization |
OPENAI_API_KEY |
OpenAI API key (only if using openai provider) |
- Edit
extension/popup.jsand setAPI_URLto your Vercel deployment URL - Copy
extension/config.example.jstoextension/config.js - Set
API_SECRETinconfig.jsto the same value you used in Vercel. You can generate a secret by runningopenssl rand -hex 16for example
cp extension/config.example.js extension/config.jsNote: config.js is gitignored and won't be committed.
Add these files to extension/:
icon16.png(16x16)icon48.png(48x48)icon128.png(128x128)
- Open
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked"
- Select the
extension/folder
- Navigate to a Facebook group
- Click the extension icon
- Click "Summarize & Email" (the extension will scroll and capture screenshots automatically)
- Check your inbox (or your spam folder if you don't see the email)
The default provider is Claude (claude), which is required for the vision-based post extraction.
Initially OpenAI (openai) support was planned, but was not built after Facebook DOM parsing proved problematic.