AI-powered Chrome extension for capturing and summarizing web content for internal newsletters.
- Smart Content Capture: Select text on any webpage and press
Ctrl+Shift+Nto capture - AI Summarization: Automatically generates concise, newsletter-ready summaries using OpenAI GPT-4
- Intelligent Categorization: Categorizes content or suggests new categories
- Notion Integration: Saves summaries directly to your Notion database
- Team Collaboration: Shared category taxonomy and centralized content collection
- Clone this repository or download the source code
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Click the extension icon and select "Options" or right-click the extension icon → "Options"
- Configure the following:
- Get your API key from OpenAI Platform
- Paste it in the "OpenAI API Key" field
- Create a new integration at Notion Integrations
- Copy the "Internal Integration Token" and paste it in the "Notion Integration Token" field
- Create a new database in Notion with the following properties:
- Title: Title (required)
- Category: Select
- Summary: Rich text
- Source URL: URL
- Date Added: Date
- Contributor: Person (optional)
- Share the database with your integration
- Copy the database ID from the URL and paste it in the "Database ID" field
The extension comes with default categories:
- Employee Milestones
- Customer Wins
- Product Announcements
- Company News
- Industry Updates
- Team Updates
You can add, remove, or modify categories in the Options page.
- Select Content: Highlight text on any webpage that you want to include in your newsletter
- Capture: Press
Ctrl+Shift+N(orCmd+Shift+Non Mac) - Review: The extension popup will show:
- Original selected text
- AI-generated summary
- Suggested category
- Edit: Modify the summary or category as needed
- Save: Click "Save to Newsletter" to add it to your Notion database
- Content Selection: User selects relevant text on any webpage
- AI Processing: OpenAI GPT-4 analyzes the content and generates a concise summary
- Categorization: AI suggests the most appropriate category or proposes a new one
- Review Interface: User can edit the summary and category before saving
- Notion Storage: Content is saved to a structured Notion database for newsletter compilation
- API keys are stored locally in Chrome's secure storage
- Content is only processed when explicitly triggered by the user
- No data is stored on external servers (except OpenAI for processing and Notion for storage)
- All communication uses HTTPS
newsletter-generator/
├── manifest.json # Extension configuration
├── background.js # Service worker for API calls
├── content.js # Content script for text selection
├── popup.html/js # Review interface
├── options.html/js # Settings page
└── icons/ # Extension icons
- Chrome Extension Manifest V3
- OpenAI GPT-4 API
- Notion API
- Chrome Storage API
- Chrome Scripting API
- Ensure all API keys are correctly configured in Options
- Check that the Notion database is shared with your integration
- Verify the database ID is correct (32-character string from Notion URL)
- Check your OpenAI API key and account credits
- Ensure selected text is substantial (more than 10 characters)
- Try refreshing the page and selecting text again
- Verify Notion integration token and database ID
- Ensure the database has the required properties
- Check that the integration has write access to the database
This extension is designed for internal use but can be extended for other use cases:
- Additional AI Providers: Add support for other AI APIs
- More Storage Options: Integrate with Google Docs, Airtable, etc.
- Advanced Categorization: Machine learning-based category suggestions
- Team Features: User attribution, approval workflows
Private use only. Not for redistribution.