Skip to content

sunrisever/tab-organize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

Tab Organize

Export tabs from Edge or Chrome, let ChatGPT / Claude / Gemini / Codex design a grouping plan, then import the result back into the browser.

This extension exists because:

  • browser tab grouping is useful
  • Edge already has AI-assisted tab grouping
  • but the built-in grouping result is often shallow, unstable, or just not good enough for large real-world tab sets

So the goal here is not “another tiny built-in AI toy”. The goal is:

  1. export the full current-window tab set as structured JSON
  2. let a stronger external model do the reasoning
  3. import a clean grouping plan back

Do I need an API key?

No.

This workflow is intentionally file-based, so you can use:

  • ChatGPT web/app
  • Claude web/app
  • Gemini
  • Codex
  • Claude Code
  • OpenCode

without wiring any API provider into the extension.

What this extension really does

  • export current-window tabs as standard JSON
  • detect duplicate tabs and optionally close extras
  • optionally clean common noise tabs such as Bilibili home and new-tab pages
  • import a standard groups JSON file
  • apply groups back to the browser

Zero-to-first-result workflow

Step 1. Load the extension

  1. Open edge://extensions/ or chrome://extensions/
  2. Turn on Developer mode
  3. Click Load unpacked
  4. Select the src folder

Step 2. Export your current window

Open the popup and click:

  • Export JSON File

Save the file somewhere obvious, such as the desktop.

Step 3. Give the file to AI

Send the exported file to your preferred model and ask it to:

  • group tabs by task or topic
  • keep group names short
  • avoid over-fragmentation
  • output valid tab-organize.groups JSON

Step 4. Import the groups file

Back in the popup:

  • choose Choose Groups JSON
  • or drag the generated JSON file into the popup

Then click:

  • Apply Groups

Screenshot-style walkthrough

What you click first

Inside the popup, the first button most beginners use is:

  • Export JSON File

After that, you should imagine the first “success screenshot” as:

  • a JSON file saved to your desktop
  • the browser tabs themselves have not changed yet

What you send to AI

Send that exported JSON file.

You do not need to paste a giant text dump. You do not need to manually rewrite tab titles.

What comes back from AI

It should return a file shaped like:

{
  "type": "tab-organize.groups",
  "version": "1.0",
  "groups": [
    { "name": "Research", "color": "blue", "tabs": [1, 2, 3] }
  ]
}

What you click last

In the popup:

  • Choose Groups JSON
  • Apply Groups

Only this last step actually changes browser groups.

Why this is stronger than built-in AI grouping

The built-in browser AI grouping experience is often weak because:

  • it sees less structured context
  • it has shallow grouping heuristics
  • it is hard to iterate and improve

This extension is stronger because you can:

  • export full tab data
  • choose a frontier model yourself
  • re-run the workflow any time
  • keep the process transparent

Duplicate cleanup and noise cleanup

Before exporting, you can also use:

  • duplicate scan and cleanup
  • optional cleanup for Bilibili home tabs and new-tab pages

This helps produce a cleaner export before AI sees it.

Notes

  • Export/import works on the current window only.
  • tabs in the groups JSON are 1-based indices from the export file.
  • If you open, close, or reorder tabs after export, indices may no longer match.

License

MIT

About

Export Edge/Chrome tabs, classify with ChatGPT/Claude/Gemini or other frontier LLMs, then import grouped tabs back | 导出Edge/Chrome标签页,交给ChatGPT/Claude/Gemini等通用大模型分类,再导入分组结果

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors