This code is no longer working due to countermeasures that Open AI has introduced.
- UNOFFICIAL API. This project is not affiliated with OpenAI in anyway. It is not an official product. This is a personal project and to be used for development purpose only.
-
Make sure that python and virual environment is installed.
-
Create a new virtual environment
# one time
virtualenv -p $(which python3) pyenv
# everytime you want to run the server
source pyenv/bin/activate
- Now install the requirements
pip install -r requirements.txt
- Now run the server
python server.py
- The server runs at port
31337
. If you want to change, you can change it in server.py
- There is a single end point only. It is available at
/chat
curl -XGET http://localhost:31337/chat?q=Write%20a%20python%20program%20to%20reverse%20a%20list
- Original FauxAPI was inspired by Daniel Gross's whatsapp gpt
- OpenAI for creating the ChatGPT API
- FlorianREGAZ for the TLS Client
- rawandahmad698 for original CLI TLS ChatGPT Client