A Chrome extension that automatically groups similar tabs by understanding their content meaning, not just keywords. All AI processing runs locally in your browser for maximum privacy.
When you have dozens of browser tabs open, manually organizing them is time-consuming and tedious. Traditional grouping methods rely on keywords or domains, but they miss the actual meaning behind the content.
Lookalike solves this by:
- Understanding the semantic meaning of each page (not just matching words)
- Automatically grouping related content, even when it's from different websites
- Creating meaningful group names based on shared themes
- Processing everything locally—your browsing data never leaves your computer
For example, tabs about "JavaScript tutorials", "React documentation", and "Node.js guides" will be grouped together as "Web Development", even though they share few common keywords.
The grouping process happens in 4 steps:
The extension extracts meaningful text from each page:
- Page title and meta descriptions
- Headings and main content
- Key phrases that represent the page's topic
Each tab's content is converted into a 384-dimensional vector (embedding) using the all-MiniLM-L6-v2 AI model. This numerical representation captures the semantic meaning of the content.
The extension compares all tab embeddings using cosine similarity:
- Tabs with similarity ≥ 0.45 are considered related
- Related tabs are clustered together into groups
- Only groups with 2+ tabs are created
Each group gets an intelligent name:
- Finds key phrases shared across multiple tabs in the cluster
- Uses the most common shared phrase as the group name
- Falls back to domain-based names if no shared phrases exist
Example: Tabs about "Python programming", "JavaScript tutorials", and "Ruby guides" might be grouped as "Programming" because they share the semantic theme of coding education, even with different keywords.
- Clone or download this repository
- Generate icons (if not present):
node scripts/generate-icons.js
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (top right)
- Click "Load unpacked" and select this directory
First Run: The extension downloads the AI model (~23MB) on first load. This happens once and is cached for future use.
- Analyze All: Click to process all open tabs and group them automatically
- Regroup: Re-cluster tabs after opening new ones
- Ungroup: Remove all groups
- Model:
Xenova/all-MiniLM-L6-v2via transformers.js - Embedding Size: 384 dimensions
- Similarity Threshold: 0.45 (cosine similarity)
- Minimum Cluster Size: 2 tabs