This project runs on users' browsers through the Tampermonkey script and converts the web version of ChatGPT operations into an API interface. You can use this API to do some interesting things, such as playing Auto-GPT.
2024-05-19: Support new version UI and gpt-4o.
- API no cost.
- If you have a chatgpt plus account, you can use gpt-4 api.
- Having unlimited context.
- Not easy to be banned and easier to handle errors.
- Automatically pauses new prompts when all models are unavailable until one becomes usable.
- Make sure your system has installed Node.js and npm.
- Clone this repository and run
npm install
in the project directory to install dependencies. - Run
npm run start
to start the Node.js server. - Alternatively, you can use Docker
docker-compose up
to start the Node.js server.
- Install Tampermonkey browser extension.
- Open Tampermonkey management panel and create a new script.
- Copy the contents of
tampermonkey-script.js
file into the newly created script and save it.
Download from here
If you see this in the upper right corner of the webpage, you have succeeded !
Execute the Node.js program to process all prompts:
npm start
The answers will be saved to answers.txt
and a chart of response times will be written to response-times.png
.