A Chrome extension that adds ChatGPT to every text box on the internet! Use it to write tweets, revise emails, fix coding bugs, or whatever else you need, all without leaving the site you're on. Includes a plugin system for greater control over ChatGPT behavior and ability to interact with 3rd party APIs.
First clone this repo on your local machine
Then install dependencies
npm install
Run the server, so the extension can communicate with ChatGPT. This uses chatgpt-api and headless Chrome, but we can hopefully remove the need for this in the future.
node server.js
Add the extension
- Go to chrome://extensions in your Google Chrome browser
- Check the Developer mode checkbox in the top right-hand corner
- Click "Load Unpacked" to see a file-selection dialog
- Select your local
ask-chatgpt/extension
directory
You'll now see "Ask ChatGPT" if you right click in any text input or content editable area.
Plugins have the ability to inform ChatGPT of specific conversation rules and parse replies from ChatGPT before they are sent to the browser.
Default - Sets some default conversation rules 🧑🏫
Image - Tells ChatGPT to describe things visually when asked for an image and then replaces the description with a matching AI generated image from Lexica 📸
Your really cool plugin - Go make a plugin, do a pull-request and I'll add it the list 🤝
Huge thanks to Travis Fischer for creating chatgpt-api
MIT © Gabe Ragland (follow me on Twitter)