- Smart Content Detection: Automatically detects articles, emails, social media posts, and feeds
- Multiple AI Providers: Choose between Chrome's built-in AI or Google Gemini API
- Advanced Summary Types: Key-points, headlines, teasers, and TLDR formats with length control
- Intelligent Length Adaptation: Automatically adjusts summary length based on content type and complexity
- Real-time Processing: Instant summarization as you browsewered Chrome extension for automatic article summarization, productivity analytics, and content management using Chrome's built-in AI APIs and Google Drive integration.
- Smart Content Detection: Automatically detects articles, emails, social media posts, and feeds
- Multiple AI Providers: Choose between Chrome's built-in AI or Google Gemini API
- Summary Types: Key-points, headlines, teasers, and custom formats
- Real-time Processing: Instant summarization as you browse
- Comprehensive Reports: Reading habits, content quality assessment, productivity insights
- Time-based Analysis: Daily, weekly, monthly, quarterly, and custom date ranges
- Auto-generated Reports: Scheduled analytics generation with customizable frequency
- Advanced Customization: Focus areas, analysis depth, output formats, and custom instructions
- Google Drive Sync: Automatic backup and sync of summaries and analytics
- OAuth Authentication: Secure connection to Google Drive
- Folder Management: Organized storage with automatic folder creation
- Cross-device Access: Access your data from any device
- Auto-Snap: Automatic summarization based on content length and time intervals with intelligent deduplication
- Content Deduplication: Intelligent detection of already-processed content with daily hash resets
- Content Type Detection: Automatically identifies emails, social media posts, articles, and feeds
- Theme Adaptation: Automatically adapts to website color schemes (dark/light themes)
- State Preservation: Loading states persist across page refreshes
- IndexedDB Storage: Local storage for summaries and analytics (no external dependencies)
- Persistent Settings: All preferences and configurations saved locally
- Export Options: TXT, Markdown, JSON, and HTML export formats
- Clipboard Integration: One-click copying of summaries and reports
- Modern UI: Clean, responsive interface with Material Design icons
- Navigation System: Seamless navigation between Digest, Analytics, and Settings
- Loading States: Visual feedback for all operations
- Toast Notifications: Real-time status updates and error handling
-
Download the Extension
- Visit the Chrome Web Store (coming soon)
- Or download from GitHub Releases
-
Install in Chrome
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extension folder
- The DoomDigest extension will appear in your extensions list
- Open Chrome and navigate to
-
First Time Setup
- Click the extension icon in the toolbar
- Choose your preferred AI provider (Chrome AI or Google Gemini)
- Configure auto-snap settings and notification preferences
-
Clone the Repository
git clone https://github.com/HectorGitt/DoomDigest.git cd DoomDigest -
Install Dependencies
npm install
-
Build the Extension
npm run build
-
Load in Chrome
- Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
dist/folder
- Open
-
Open Any Webpage
- Navigate to an article, blog post, email, or social media content
-
Open DoomDigest Sidebar
- Click the DoomDigest icon in the Chrome toolbar
- Or use the keyboard shortcut (configurable in settings)
-
Start Summarization
- Click "Start PagePulse" to begin automatic content detection
- Watch as summaries appear in real-time, grouped by website and content type
-
Interact with Summaries
- Click any summary to jump to the original content
- Use "Stop All" to halt processing
- Toggle "Auto Snap" for automatic summarization
DoomDigest automatically detects and optimizes summarization for different content types:
- π Articles: Blog posts, news articles, documentation - summarized with key points (3-7 bullet points based on length)
- π§ Emails: Gmail, Outlook, Yahoo mail - summarized with TLDR format (1-5 sentences based on length)
- π± Social Posts: Twitter/X, LinkedIn, Facebook, Instagram posts - summarized with teaser format (1-5 sentences)
- π° Social Feeds: News feeds and timelines - summarized with key points overview (3-7 bullet points)
- π Selected Text: User-selected content - intelligently summarized based on length and context
- Navigate to Analytics from the top navigation
- Configure time periods, analysis depth, and focus areas
- Generate comprehensive productivity reports
- View auto-saved historical reports
- Go to Settings and connect your Google Drive
- Enable auto-sync for automatic backups
- Configure sync frequency and folder organization
- Export summaries in multiple formats (TXT, MD, JSON)
- Copy reports to clipboard for sharing
- Sync analytics reports to Google Drive
- Chrome AI: Built-in, no configuration required
- Google Gemini: Requires API key from Google AI Studio
- Get your API key at Google AI Studio
- Paste the key in Settings > API Configuration
- Set content length thresholds for automatic summarization
- Configure time intervals between auto-summaries
- Enable/disable notifications
- Set auto-run frequency (daily, weekly, monthly)
- Configure analysis depth and focus areas
- Customize output formats and instructions
- Manages extension lifecycle and tab events
- Coordinates communication between all components
- Handles Google Drive authentication and sync
- Manages alarms for auto-run analytics
- Content Type Detection: Intelligently identifies emails, posts, articles, and feeds for optimized summarization
- Detects and extracts readable content from web pages
- Performs AI summarization using configured providers
- Manages content deduplication and hashing
- Handles auto-snap functionality
- Main user interface for summarization controls
- Displays summaries grouped by website and date
- Adapts to website themes automatically
- Manages generation state and user interactions
- Comprehensive analytics dashboard
- Auto-generates productivity reports
- Manages report storage and export
- Provides historical analytics viewing
- Complete configuration interface
- API provider management
- Google Drive integration setup
- Auto-run and notification preferences
- DoomDigestDB: Summaries storage with timestamp and URL indexing
- DoomDigestAnalyticsDB: Analytics reports with generation date indexing
- chrome.storage.sync: User preferences and settings
- chrome.storage.local: Temporary states and loading indicators
src/
βββ background.js # Extension background script
βββ content.js # Content script for summarization
βββ sidebar.js # Sidebar UI and controls
βββ sidebar.html # Sidebar HTML template
βββ sidebar.css # Sidebar styling
βββ analytics.js # Analytics dashboard logic
βββ analytics.html # Analytics page template
βββ settings.js # Settings page logic
βββ settings.html # Settings page template
βββ navigation.js # Shared navigation component
βββ manifest.json # Extension manifest
βββ icon.png # Extension icon
βββ toast.js # Toast notification system
dist/ # Built extension (generated)
βββ background.js
βββ content.js
βββ sidebar.js
βββ manifest.json
βββ [other assets]
- Rollup: Module bundling and optimization
- ES6 Modules: Modern JavaScript with tree-shaking
- Source Maps: Debugging support in development
npm run build # Build for production
npm run clean # Clean dist directory
npm start # Alias for build- Ensure Chrome version 116+
- Visit
chrome://flags/ - Enable "Experimental Web Platform features"
- Enable "Prompt API for Gemini Nano"
- Restart Chrome
- Visit Google AI Studio
- Create a new API key
- Copy the key to Settings > API Configuration
- Test the connection
- Go to Settings > Google Drive
- Click "Connect Google Drive"
- Authorize the extension
- Configure sync preferences
To enable Google Drive synchronization, you need to configure OAuth credentials:
-
Create a Google Cloud Console Project
- Visit Google Cloud Console
- Create a new project or select an existing one
-
Enable Google Drive API
- Go to "APIs & Services" > "Library"
- Search for "Google Drive API" and enable it
-
Configure OAuth Consent Screen
- Go to "APIs & Services" > "OAuth consent screen"
- Choose "External" user type
- Fill in required information (app name, user support email, developer contact)
- Add your email as a test user
-
Create OAuth 2.0 Client ID
- Go to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "OAuth 2.0 Client ID"
- Choose "Chrome Extension" as application type
- Enter your Chrome Extension ID (found in
chrome://extensions/) - Copy the generated Client ID
-
Update Manifest
- Replace the
client_idinsrc/manifest.jsonwith your new Client ID - Rebuild the extension:
npm run build - Reload the extension in Chrome
- Replace the
Note: The extension uses the scope https://www.googleapis.com/auth/drive.file for creating and managing files in a dedicated DoomDigest folder.
- Local Processing: All AI operations happen in your browser
- No Data Transmission: Content never leaves your device (except for Google Drive sync when enabled)
- Secure Storage: Sensitive data encrypted and stored locally
- OAuth Integration: Secure Google Drive authentication
- Content Hashing: Privacy-preserving duplicate detection
- Check Chrome version (116+ required)
- Verify AI features are enabled in
chrome://flags/ - Try reloading the extension
- Check browser console for errors
- Ensure webpage has substantial text content
- Check if content was already processed
- Verify AI provider is configured correctly
- Try switching between Chrome AI and Gemini
- Content Type Issues: If content type is misidentified, summaries may use incorrect format (check digest view for content type badges)
- Re-authorize Google Drive connection
- Check internet connectivity
- Verify Google Drive API permissions
- Check browser console for authentication errors
- Some websites have complex CSS
- Extension falls back to light theme
- Manual refresh may help
- Open Chrome DevTools on extension pages
- Check Console tab for error messages
- Use Application tab to inspect storage
- Enable verbose logging in settings
-
Fork the Repository
git clone https://github.com/HectorGitt/DoomDigest.git cd DoomDigest -
Create Feature Branch
git checkout -b feature/your-feature-name
-
Make Changes
- Follow ES6+ standards
- Test thoroughly on multiple websites
- Ensure responsive design
- Maintain accessibility
-
Build and Test
npm run build # Load dist/ folder in Chrome extensions -
Submit Pull Request
- Write clear commit messages
- Include screenshots for UI changes
- Update documentation if needed
- Use async/await for asynchronous operations
- Follow Chrome extension best practices
- Maintain consistent code style
- Add JSDoc comments for functions
- Test on multiple browsers when possible
MIT License - see LICENSE file for details
- Built using Chrome's AI APIs and Google Generative AI
- Material Design Icons for consistent UI
- Chrome Extensions community for inspiration
- Beta testers
- Bug Reports: GitHub Issues
- Feature Requests: GitHub Discussions
- User Reviews: Chrome Web Store (coming soon)
- Documentation: This README and inline code comments
DoomDigest - Transform your reading experience with AI-powered content summarization and productivity analytics.