{"id":17437350,"url":"https://github.com/blixt/chromegpt","last_synced_at":"2025-12-30T04:08:20.522Z","repository":{"id":241357584,"uuid":"711977508","full_name":"blixt/ChromeGPT","owner":"blixt","description":"A Chrome extension that makes it easy to ask about any web page via a screenshot.","archived":false,"fork":false,"pushed_at":"2024-05-28T11:03:59.000Z","size":362,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T06:55:38.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blixt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-30T14:52:34.000Z","updated_at":"2024-06-24T03:49:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1df99a3-bd92-4d86-9a94-79e10da35e19","html_url":"https://github.com/blixt/ChromeGPT","commit_stats":null,"previous_names":["blixt/chromegpt"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2FChromeGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2FChromeGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2FChromeGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2FChromeGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blixt","download_url":"https://codeload.github.com/blixt/ChromeGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241360981,"owners_count":19950372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-17T11:48:21.655Z","updated_at":"2025-12-30T04:08:20.510Z","avatar_url":"https://github.com/blixt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChromeGPT\n\n## Installation\n\n1. Go to the latest release under [**Releases**](https://github.com/blixt/ChromeGPT/releases)\n2. Download **ChromeGPT.zip** and unzip it\n3. In Google Chrome:\n   1. Go to **Manage Extensions**\n   2. Enable **Developer Mode**\n   3. Click **Load Unpacked Extension**\n   4. Select the **ChromeGPT** folder that you unzipped\n4. The extension should now be available!\n\n\u003e [!NOTE]\n\u003e Installing an extension via Developer Mode bypasses review and security\n\u003e measures. I vouch for the code in this repository not doing anything\n\u003e malicious, but it’s always a good idea to carefully review the code before\n\u003e running it, since this extension is able to inject code into, and take\n\u003e screenshots of, all of your browser tabs. That said, a surprising number of\n\u003e extensions are able to do this, so always be careful!\n\n## How it works\n\nThis Chrome extension will be able to take a screenshot of any of your tabs, and\nthen send the screenshot to ChatGPT, optionally with an associated message (if\nyou don’t write anything, it defaults to “Describe this image”).\n\nTo open it, you can press \u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eC\u003c/kbd\u003e /\n\u003ckbd\u003eOption\u003c/kbd\u003e+\u003ckbd\u003eC\u003c/kbd\u003e. This is what it looks like:\n\n![Screenshot 2024-05-27 at 18 17 17](https://github.com/blixt/ChromeGPT/assets/158591/c3e2cf59-69ed-4d11-8436-dbbcd5df2876)\n\nTo send the query to ChatGPT, hit Enter. If you already have a ChatGPT tab open,\nyou can pick it in the dropdown. The extension will send the image off to\nwhichever ChatGPT tab you chose and switch to that tab, wait for the image to\nupload, then send your message:\n\n![Screenshot 2024-05-27 at 18 17 54](https://github.com/blixt/ChromeGPT/assets/158591/4f6c97d1-135f-4d11-97bc-873f2ea93e87)\n\n### For developers\n\nMore concretely, this extension injects a bit of JavaScript that finds a\n`\u003ctextarea\u003e`, sends it a fake `paste` event containing the image as a `File` and\nthen a fake `input` event with the text. Then it waits for up to one minute to\nsee if the button with `data-testid*=\"send-button\"` becomes enabled, and\nproceeds to click it when it does.\n\nFor the most part this has been stable, but I did recently notice that some\nversions of the ChatGPT UI have `data-testid=\"fruitjuice-send-button\"` while\nothers have `data-testid=\"send-button\"`. For this reason I’ve tried to make the\ncode flexible to renames like these.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fchromegpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblixt%2Fchromegpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fchromegpt/lists"}