- Install Go
go install github.com/ChatGPT-Hackers/ChatGPT-API-server@latest
git clone https://github.com/ChatGPT-Hackers/ChatGPT-API-server/
cd ChatGPT-API-server
go install .
ChatGPT-API-server <port> <API key>
Take note of your IP address or domain name. This could be localhost
or a remote IP address. The default port is 8080
Check out our firefox agent. More versions in the works.
$ curl "http://localhost:8080/api/ask" -X POST --header 'Authorization: <API_KEY>' -d '{"content": "Hello world", "conversation_id": "<optional>", "parent_id": "<optional>"}'