A Chrome extension that helps analyze and discuss content from any webpage or YouTube video using AI.
- 🌐 Extract and analyze content from any webpage
- 🎥 Fetch transcripts from YouTube videos
- 🤖 Generate AI summaries using Ollama
- 💬 Interactive chat interface for follow-up questions
- 🎨 Smart content handling:
- Automatic content chunking for large texts
- Token-aware processing
- Progress tracking for multi-chunk processing
- Intelligent content preservation
- 🎨 Smart URL-based prompts:
- Save custom prompts for specific URL patterns
- Automatic prompt selection based on current webpage
- Support for wildcards in URL patterns (e.g., reddit.com//comments/)
- Manage default system prompts
- Edit and organize prompts by URL pattern
- 📊 Token usage tracking with context window warnings
- 🎨 Cyberpunk-inspired dark mode interface
- ⚙️ Configurable AI model settings
- 📋 Easy content copying
- 🔄 Smart content chunking system
- 📈 Real-time chunk processing feedback
- 🎯 Improved content preservation in summaries
- 🔄 Completely redesigned interface with side panel integration
- 🎯 Advanced URL pattern matching with wildcard support
- 📝 Improved prompt management system
- 🔍 Default prompt system for consistent interactions
- 📊 Real-time token usage monitoring
- 🎨 New cyberpunk theme and branding
- Chrome browser
- Ollama running locally or on a remote server
- An AI model pulled into Ollama (e.g., mistral, llama2, etc.)
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
extension
folder from this repository
- Click the extension settings icon (⚙️)
- Enter your Ollama server URL (default: http://localhost:11434)
- Click "Fetch Available Models" to see models available on your Ollama server
- Select your preferred model
- Adjust the context window size based on your needs and model capabilities
- Click Save
- Click the prompt manager icon (📝)
- To add a new prompt:
- Enter a URL pattern (e.g., reddit.com/r/*)
- Write your custom prompt
- Click Save
- To use current page URL:
- Click "Get URL" to automatically fill the pattern
- Modify as needed (add wildcards for broader matching)
- Set a prompt as default:
- Click "Make Default" on any saved prompt
- Default prompt will be used when no URL patterns match
- Edit or delete existing prompts using the action buttons
- Navigate to any webpage
- Click the Sumly icon to open the side panel
- Click "Get Page Content" to extract the main content
- The appropriate prompt will be automatically selected based on URL patterns
- Click "Summarize Page with AI" to generate a summary
- Monitor token usage in real-time
- Ask follow-up questions in the chat interface
- Navigate to any YouTube video
- Click the Sumly icon to open the side panel
- Click "Get Transcript" to fetch the video transcript
- The appropriate prompt will be automatically selected based on URL patterns
- Click "Summarize Page with AI" to generate a summary
- Monitor token usage in real-time
- Ask follow-up questions in the chat interface
Built with:
- Vanilla JavaScript
- Chrome Extension APIs
- Ollama API
- Custom CSS with cyberpunk theme
Contributions are welcome! Please feel free to submit a Pull Request.
- 🌓 Light mode theme option
- 🎯 Element targeting for specific content extraction
- 📜 Auto-scroll webpage content integration
- 🔄 Save transcript between screen changes
- 🎛️ Model switching in chat summary view
- 🤖 External AI provider support (OpenAI, Anthropic)
- 📊 Enhanced webpage interaction capabilities
- 🎯 Improved content targeting system
- 🎯 Element targeting for specific content extraction
- 📦 Build process implementation
- 🔧 TypeScript migration
- ✅ Test suite implementation
- 🔍 Enhanced linting and code quality tools