Chatgpt-api-single is a simple, easy-to-use API server that comes with a queueing capability to prevent large-scale failures due to excessive access. It has a simple encapsulation and comes with a Dockerfile, so all you need to do is modify the environment variables to get started. 👍
docker run -d --name chatgpt-api-single -p 4000:4000 -v /home/ubuntu/chatapi-single/data:/app/data -e EMAIL=<YourOpenAIAccount> -e PASSWORD=<YourOpenAIAccountPassword> ghcr.io/bytemate/chatapi-single:maincp .env.example .envModify the environment variables in .env
# RequireEMAIL=<Your Email># RequirePASSWORD=<Your Password>IS_PRO_ACCOUNT=falseMARKDOWN=falseDEBUG=falseIS_GOOGLE_LOGIN=falseIS_MICROSOFT_LOGIN=falseMINIMIZE=falseCAPTCHA_TOKEN=NOPECHA_KEY=EXECUTABLE_PATH=PROXY_SERVER=USER_DATA_DIR=npm inpm run startcurl -X "POST""http://localhost:4000/message" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{ "message": "Hello"}'curl -X "POST""http://localhost:4000/message/holegots" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{ "message": "Hello"}'👤 Holeogts
- Twitter: @fuergaosi
- Github: @fuergaosi233
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator