A Chrome extension uses chatgpt API with both the frontend (chrome extension) and backend (expressjs server).



First clone this repo on your local machine
Then install dependencies with nodejs v18.15
npm install
Copy .env-example
into a new file named .env
and add your ChatGPT API Key.
Run the server so the extension can communicate with ChatGPT.
node server.js
Add the extension
Get a demo directly from chrome web store! Published extension on chrome store