├── 48.png ├── LICENSE ├── README.md ├── background.js ├── manifest.json ├── popup.html └── popup.js /48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazuki-sf/ChatGPT_Extension/5031bcea4e4e18cf76de97d570e438fe3e8a73cd/48.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Kazuki Nakayashiki 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ChatGPT Extension 2 | 3 | ChatGPT Extension is a really simple Chrome Extension (manifest v3) that you can access OpenAI's [ChatGPT](https://chat.openai.com/chat) from anywhere on the web. Chrome Extension is available on [Chrome Web Store](https://chrome.google.com/webstore/detail/chatgpt-chrome-extension/cdjifpfganmhoojfclednjdnnpooaojb). 4 | 5 | ## How to Install 6 | 7 | To install ChatGPT Extension, follow these steps (or watch the tutorial video on [YouTube](https://www.youtube.com/watch?v=68e6evRUv8g)): 8 | 9 | 1. Download the code on GitHub. 10 | 2. Unzip the downloaded file. 11 | 3. In case of Google Chrome, open the Extensions page (chrome://extensions/). 12 | 4. Turn on Developer mode by clicking the toggle switch in the top right corner of the page. 13 | 5. Click the `Load unpacked` button and select the directory where you unzipped the extension files. 14 | 6. ChatGPT Extension should be installed and active! 15 | 16 | ## How to use it 17 | 18 | To use ChatGPT Extension, follow these steps: 19 | 20 | 1. Go to [ChatGPT](https://chat.openai.com/chat) and log in or sign up. 21 | 2. Click the browser extension icon on the top right corner in your browser. Pin the extension if you want. 22 | 3. Ask anything you want! 23 | 24 | ## Notes 25 | 26 | According to OpenAI, ChatGPT is experiencing exceptionally high demand. They work on scaling our systems but I can't guarantee that ChatGPT keeps free and is open forever. 27 | 28 | ## Credit 29 | 30 | All the credit goes to [OpenAI](http://openai.com/) and the teams behind ChatGPT! 31 | 32 | ## Feedback & Support 33 | 34 | If you have any questions or feedback about ChatGPT Extension, please reach out to me on [Twitter](https://twitter.com/kazuki_sf_). Also, I'm building Glasp, a social web annotation tool to build your own AI models to write, search, and summarize better. If you're interested, please check out [Glasp](https://glasp.co/ai-summary). 35 | -------------------------------------------------------------------------------- /background.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // On Chrome Install 4 | chrome.runtime.onInstalled.addListener(function (details) { 5 | if (details.reason === "install") { 6 | chrome.tabs.create({ url: "https://chat.openai.com/auth/login" }); 7 | } 8 | }); -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ChatGPT Extension", 3 | "version": "1.0.0", 4 | "manifest_version": 3, 5 | "description": "Use ChatGPT via Chrome Extension", 6 | "background": { 7 | "service_worker": "background.js" 8 | }, 9 | "action": { 10 | "default_popup": "popup.html" 11 | }, 12 | "content_scripts": [ 13 | { 14 | "matches": ["*://*/*"], 15 | "js": ["popup.js"] 16 | } 17 | ], 18 | "content_security_policy": { 19 | "extension_pages": "script-src 'self'; object-src 'self'" 20 | }, 21 | "icons": { 22 | "48": "48.png" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /popup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /popup.js: -------------------------------------------------------------------------------- 1 | "use strict"; --------------------------------------------------------------------------------