Forward requests and inject CloudFlare cookies
- With Docker:
curl https://raw.githubusercontent.com/acheong08/ChatGPT-Proxy/main/scripts/run-with-docker.sh | sh
- Clone the repository
- Check if Pipenv is installed. If not, run
pip install pipenv -U
. - Then, run
pipenv update -d
in this directory, to automatically install the requirements of the proxy. - Copy the
config.example.json
toconfig.json
, and edit theproxy
. If the script is being ran on your VPS, please enable thevirtualdisplay
option. - Run
pipenv run proxy
in the base directory, and enjoy it! Uvicorn will provide a high-performance HTTP server for the API service.