DEV Community

Cover image for 🧠 I Built an AI-Powered Chrome Extension That Groups Your Tabs Automatically
Abhishek RH
Abhishek RH

Posted on

🧠 I Built an AI-Powered Chrome Extension That Groups Your Tabs Automatically

Hey devs! 👋
I’m Abhishek, a CS student and dev who constantly ends up with way too many tabs open.
Last week, I had 22 tabs open — half were work, half were random Google rabbit holes. Finding the right one was a nightmare.

That’s when I thought:

“What if my browser could understand what each tab is about and automatically group them for me?”

So… I built exactly that. 🚀

💡 What My Extension Does

It’s a Chrome extension powered by AI (Gemini API) that groups your open tabs smartly based on context.

Let’s say you have:
5 tabs about React tutorials
3 tabs about news
2 YouTube videos

You just click one button — and boom, it creates tab groups like “Web Dev”, “News”, and “Entertainment” automatically.

No manual organizing. No chaos. Just clean, grouped tabs. 🙌

⚙️ How It Works (in simple terms)

The extension collects your open tab titles and URLs.
It sends them to a small backend server I built with Node.js + Express.
The backend calls Google’s Gemini AI to analyze and group similar tabs.
Chrome’s API then creates tab groups automatically based on the AI’s response.
All of this happens within seconds!

🧰 Tech Stack

Frontend: Chrome Extension (Manifest V3 + JavaScript)
Backend: Node.js + Express
AI Model: gemini-2.0-flash-001
Hosting: Render (free-tier)

🔐 Privacy

No user data is stored.
The tab info (title + URL) is sent securely to the AI only for grouping and then discarded immediately.

🌍 Try It Yourself

👉 Install from Chrome Web Store

Source Code:
Frontend Repo
Backend Repo

🚀 What’s Next?

I’m planning to add:
Custom grouping options
Tab summary + insights

Would love feedback or ideas from fellow devs — what do you think could make this even better?

✍️ Built with curiosity and too many open tabs 😅

If you liked it, drop a ❤️ and share your thoughts below!

Top comments (5)

Collapse
 
funnydark0901 profile image
Andrew Pendergast

Hi! Nice to meet you.
It's very convenient, but it would be better if it automatically groups tabs whenever a new tab is created.

Collapse
 
abhishek_rh profile image
Abhishek RH • Edited

Hi, Nice to meet you too!
Sure, will think about the idea! Thanks!

Collapse
 
funnydark0901 profile image
Andrew Pendergast

Thank you for your generous feedback.

There's one inconvenience: grouped items don't disappear when the extension is removed, requiring manual removal.

Collapse
 
tahamjp profile image
Taha Majlesi Pour

Actually this can be really helpful
keep going ❤️

Collapse
 
jonrandy profile image
Jon Randy 🎖️

This is built in to Firefox