Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acheong08/ChatGPT-Proxy
Forward requests and inject cloudflare cookies
https://github.com/acheong08/ChatGPT-Proxy
Last synced: 3 months ago
JSON representation
Forward requests and inject cloudflare cookies
- Host: GitHub
- URL: https://github.com/acheong08/ChatGPT-Proxy
- Owner: acheong08
- License: unlicense
- Archived: true
- Created: 2023-02-09T00:02:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-15T05:46:50.000Z (over 1 year ago)
- Last Synced: 2024-06-17T14:34:49.869Z (5 months ago)
- Language: Python
- Size: 87.4 MB
- Stars: 205
- Watchers: 7
- Forks: 70
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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. |