TabGPT is a browser extension (tested on Chrome and Firefox) that allows you to use natural language to close tabs you no longer need. Here'a video of TabGPT in action:
tabgpt-streaming2.mov
TabGPT is currently an experiment and not available in the Chrome Web Store. It's quite expensive to run due to the nature of the prompt. Contributions are welcome!
- Keep the script running even when popup is closed
- Make it work even with lots of tabs
- Add voice control
You will need to get an OpenAI API Key to use this extension.
To load the extension, follow the instructions for your browser:
- In the URL bar, enter
chrome://extensions
and enable Developer Mode. - Click on "Load unpacked" and select the
build/chrome-mv3-prod
folder. - Click on the puzzle piece icon on the Chrome toolbar, and click on TabGPT.
- You can pin the extension to the toolbar for easy access.
- In the URL bar, enter
about:debugging#/runtime/this-firefox
and click on "Load Temporary Add-on". - Select the
build/firefox-mv3-prod/manifest.json
file. - Click on the puzzle piece icon on the Firefox toolbar, and click on TabGPT.
- You can pin the extension to the toolbar for easy access.
This is a Plasmo extension.
To run the development server:
pnpm dev
# or
npm run dev
Open your browser and load the appropriate development build. For example, if you are developing for the chrome browser, using manifest v3, use: build/chrome-mv3-dev
.
For further guidance, visit Plasmo's Documentation.
Thanks to Promptable.ai and the gpt3-chrome-starter for the openai streaming and completion code.
Also thanks to the myriad of open source projects that made this possible.