1
0
Fork
You've already forked ChatGPT-Proxy
0
No description
  • Python 79.5%
  • Shell 13.4%
  • Dockerfile 7.1%
2023年02月15日 13:46:50 +08:00
.github/workflows 💚 Add Docker Image CI support ( #17 ) 2023年02月13日 01:05:16 +08:00
scripts Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
.gitignore Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
.pre-commit-config.yaml Format 2023年02月09日 08:55:51 +08:00
docker-compose.yml Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
Dockerfile Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
launch.sh Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
LICENSE Revert "Big updates" 2023年02月12日 00:02:31 +08:00
Pipfile Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
proxy.py Update docker ( #18 ) 2023年02月13日 19:49:21 +08:00
README.md Update README.md 2023年02月15日 13:46:50 +08:00
requirements.txt Fix the latest commit 2023年02月12日 08:46:02 +08:00

ChatGPT-Proxy

Forward requests and inject CloudFlare cookies

> Unmaintained

Installation

One-click scripts

  • With Docker: curl https://raw.githubusercontent.com/acheong08/ChatGPT-Proxy/main/scripts/run-with-docker.sh | sh

Simple steps

  1. Clone the repository
  2. Check if Pipenv is installed. If not, run pip install pipenv -U.
  3. Then, run pipenv update -d in this directory, to automatically install the requirements of the proxy.
  4. Run pipenv run proxy in the base directory, and enjoy it! Uvicorn will provide a high-performance HTTP server for the API service.

Options

These options can be configured by setting environment variables using -e KEY="VALUE" in the docker run command.

Env Default Example Description
GPT_PROXY - socks5://127.0.0.1:1080 The proxy of your server.
GPT_HOST 0.0.0.0 127.0.0.1 The hostname of your server.
GPT_PORT 5000 8080 The port of your server.