Skip to content

Lightweight, TLS-Based ChatGPT API that doesn't require a browser or access token.

License

Notifications You must be signed in to change notification settings

martinbowling/chatgpt-api-tls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dec 14th

This code is no longer working due to countermeasures that Open AI has introduced.

Disclaimer

  • 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.

How to install

  • 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

Api Documentation

  • 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

Credit

About

Lightweight, TLS-Based ChatGPT API that doesn't require a browser or access token.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages