(Free GPT-3.5 with UI) Supports the use of GPT-3.5 through access calls.
Access http://your-server-ip:8080/web and fill in the server's http://your-server-ip:8080 on the web settings page.
Note: Only users in IP regions that support login-free use of ChatGpt can use this (it's also possible to bypass restrictions by customizing Baseurl).
Since Vercel does not support streaming, if deploying on Vercel, please fill in False in STREAM_MODE. It does not support any default streaming client but supports immersive translation.
Choose United States as the region.
Go in and change the image name to aurora plus any letter or number.
git clone https://github.com/aurora-develop/aurora
cd aurora
go build -o aurora
chmod +x ./aurora
./aurora
You need to install Docker and Docker Compose.
docker run -d \
--name aurora \
-p 8080:8080 \
ghcr.io/aurora-develop/aurora:latest
Create a new directory, for example, aurora-app, and enter that directory:
mkdir aurora
cd aurora
In this directory, download the docker-compose.yml file from the repository:
docker-compose up -d
curl --location 'http://your-server-ip:8080/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"stream": true
}'
Default settings do not need to be changed unless you have specific needs.
BASE_URL="https://auroraxf.glitch.me/api" Proxy gateway.
Authorization=your_authorization User authentication key.
TLS_CERT=path_to_your_tls_cert Path to your TLS (Transport Layer Security) certificate.
TLS_KEY=path_to_your_tls_key Path to your TLS (Transport Layer Security) key.
PROXY_URL=your_proxy_url Add a proxy pool.
Thanks to all the great developers for their PR support, thank you.
https://github.com/xqdoo00o/ChatGPT-to-API
MIT License