explaingit

chatgptbox-dev/chatgptbox

10,739JavaScriptAudience · generalComplexity · 2/5Setup · easy

TLDR

ChatGPT Box is a browser extension that adds an AI chat panel to any webpage, get AI answers alongside search results, summarize YouTube videos, or use text tools on anything you select.

Mindmap

mindmap
  root((ChatGPT Box))
    What it does
      AI panel any page
      Text selection tools
      Search integration
    Supported browsers
      Chrome Edge Firefox
      Safari Android
    AI backends
      ChatGPT free web
      OpenAI API
      Claude Bing Ollama
    Features
      Branching chats
      Site-specific tools
      Privacy no tracking
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Get AI-generated answers displayed alongside your results on Google, Bing, or DuckDuckGo.

USE CASE 2

Select any text on a webpage and use the floating toolbar to translate, rewrite, or summarize it instantly.

USE CASE 3

Summarize a YouTube video or get a quick explanation of a GitHub repo without leaving the page.

USE CASE 4

Connect the extension to a self-hosted Ollama model instead of the OpenAI API for fully local AI.

Tech stack

JavaScript

Getting it running

Difficulty · easy Time to first run · 5min

Works without an API key by connecting to the free ChatGPT web interface, no server setup required.

In plain English

ChatGPT Box is a browser extension that adds a ChatGPT chat panel to any web page you visit. It works in Chrome, Edge, Firefox, and Safari, and also supports Android browsers. Once installed, you can open a chat window on any page with a keyboard shortcut, ask questions about what you are reading, or trigger various text tools by selecting text on the page. The extension integrates directly with popular sites. On search engines, it shows AI answers alongside your search results. On YouTube, it can summarize video content. On Reddit, GitHub, GitLab, StackOverflow, and other sites, it adds specific tools suited to that kind of content. You can also highlight any text on any page and use a floating toolbar to translate it, rewrite it, analyze its tone, break it into paragraphs, or ask the AI to explain it. The extension connects to multiple AI backends. You can use the free ChatGPT web interface without an API key, or connect directly to the OpenAI API with GPT-3.5 or GPT-4. It also supports Claude, Bing, and self-hosted models through tools like Ollama or any service that follows the OpenAI API format. A custom API address field lets you point it at your own server or a proxy. Conversations can branch in multiple directions, letting you explore different follow-up questions from the same point in a chat. Chat records can be saved or copied. The extension renders code with syntax highlighting and handles mathematical formulas correctly. The project does not collect user data. Requests to AI services only happen when you explicitly click a button or trigger a tool, not automatically as you browse. Individual site integrations and selection tools can each be turned on or off in the settings, so you can keep only the features you actually want.

Copy-paste prompts

Prompt 1
I want to use ChatGPT Box with my local Ollama server instead of the OpenAI API. How do I set the custom API address in the extension settings?
Prompt 2
How do I turn off all ChatGPT Box features except the Google search integration?
Prompt 3
What AI backends does ChatGPT Box support, and how do I switch from the free ChatGPT web interface to the paid API?
Prompt 4
Explain how branching conversations work in ChatGPT Box and how I can explore two different follow-up paths from the same message.
Open on GitHub → Explain another repo

← chatgptbox-dev on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.