• Stars
    star
    2,812
  • Rank 15,537 (Top 0.4 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created about 1 month ago
  • Updated 16 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Utilize the unlimited free GPT-3.5-Turbo API service provided by the login-free ChatGPT Web.

Docker Pulls

Utilize the unlimited free GPT-3.5-Turbo API service provided by the login-free ChatGPT Web.

Please READ the following content carefully!

  • Please do not use the IP provided by proxy providers, otherwise you probably won't be able to use it. 请不要使用机场的 IP,不然你大概率无法使用。
  • Do not make frequent requests, such as using immersive translate. 不要频繁请求,例如使用沉浸式翻译。
  • Recommended to use US home broadband IP, you are very likely to succeed. 推荐使用美国家宽IP,你很大可能可以成功。
  • Don't share and abuse your API. 不要共享和滥用你的 API。

Deploy

Node

npm install
node app.js

Docker

docker run -p 3040:3040 ghcr.io/missuo/freegpt35
docker run -p 3040:3040 missuo/freegpt35

Docker Compose

Only FreeGPT35 Service

mkdir freegpt35 && cd freegpt35
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose/compose.yaml
docker compose up -d

FreeGPT35 Service with ChatGPT-Next-Web:

mkdir freegpt35 && cd freegpt35
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose/compose_with_next_chat.yaml
docker compose up -d

After deployment, you can directly access http://[IP]:3040/v1/chat/completions to use the API. Or use http://[IP]:3000 to directly use ChatGPT-Next-Web.

FreeGPT35 Service with lobe-chat:

mkdir freegpt35 && cd freegpt35
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose/compose_with_lobe_chat.yaml
docker compose up -d

After deployment, you can directly access http://[IP]:3040/v1/chat/completions to use the API. Or use http://[IP]:3210 to directly use lobe-chat.

Nginx Reverse Proxy

location ^~ / {
        proxy_pass http://127.0.0.1:3040; 
        proxy_set_header Host $host; 
        proxy_set_header X-Real-IP $remote_addr; 
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
        proxy_set_header REMOTE-HOST $remote_addr; 
        proxy_set_header Upgrade $http_upgrade; 
        proxy_set_header Connection "upgrade"; 
        proxy_http_version 1.1; 
        add_header Cache-Control no-cache; 
        proxy_cache off;
        proxy_buffering off;
        chunked_transfer_encoding on;
        tcp_nopush on;
        tcp_nodelay on;
        keepalive_timeout 300;
    }

Nginx Reverse Proxy with Load Balancer

upstream freegpt35 {
        server 1.1.1.1:3040;
        server 2.2.2.2:3040;
}

location ^~ / {
        proxy_pass http://freegpt35; 
        proxy_set_header Host $host; 
        proxy_set_header X-Real-IP $remote_addr; 
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
        proxy_set_header REMOTE-HOST $remote_addr; 
        proxy_set_header Upgrade $http_upgrade; 
        proxy_set_header Connection "upgrade"; 
        proxy_http_version 1.1; 
        add_header Cache-Control no-cache; 
        proxy_cache off;
        proxy_buffering off;
        chunked_transfer_encoding on;
        tcp_nopush on;
        tcp_nodelay on;
        keepalive_timeout 300;
    }

Request Example

You don't have to pass Authorization, of course, you can also pass any string randomly.

curl http://127.0.0.1:3040/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer any_string_you_like" \
  -d '{
    "model": "gpt-3.5-turbo",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "stream": true
    }'

Compatibility

You can use it in any app, such as OpenCat, Next-Chat, Lobe-Chat, Bob, etc. Feel free to fill in an API Key with any string, for example, gptyyds.

Bob

Bob

Credits

License

AGPL 3.0 License

More Repositories

1

OpenAI-Checker

Used to check if your IP can access OpenAI services.
Shell
759
star
2

XrayR-V2Board

XrayR One-Click Script for V2Board
Shell
358
star
3

Telegraph-Image-Hosting

Build a free image hosting with Telegraph
HTML
294
star
4

CloudflareWarp

Cloudflare Warp One Click Script
Shell
231
star
5

bob-plugin-deeplx

**Free DeepL Plugin for Bob**
JavaScript
204
star
6

MTProxy

MTProxy(MTPROTO) v2 One-Click Installation
Shell
151
star
7

Hysteria2

Hysteria 2 One-Click Installation Script
Shell
114
star
8

ASN-China

ASN and IP List in China (Daily Update)
Python
99
star
9

DouyinParsing

TikTok China(Douyin) No Watermark Video & Background Music Parser
Python
94
star
10

Inject-IPA

Inject dylib into ipa
Shell
59
star
11

openai-translate

Build your own OpenAI translation API
Go
56
star
12

FuckSheepGame

羊了个羊刷通关助手 支持QuanX和HTTP Catcher
Python
55
star
13

claude2openai

Convert the Claude API to OpenAI compatible API.
Go
52
star
14

cohere2openai

Convert the Cohere API to OpenAI compatible API.
Go
50
star
15

bob-plugin-copilot

Copilot AI translation plugin for Bob
JavaScript
35
star
16

EasyEhco

Ehco Tunnel One Click Script
Shell
32
star
17

XrayR

XrayR Backup
Go
29
star
18

bob-plugin-cohere

Cohere (Command R+) AI translation plugin for Bob.
JavaScript
23
star
19

discord-image

Powerful Discord image hosting, file sharing
Go
20
star
20

GmailValidChecker

Gmail validity checker
Python
13
star
21

ClaudeProxy

Proxy for Anthropic Claude implemented in Go
Go
7
star
22

aaPanelEnhanced

aaPanel Enhanced
JavaScript
7
star
23

SimpleNetflix

Netflix检测精简版
Shell
6
star
24

EasyWebDav

Quick and easy to set up WebDav server on Linux Server
Shell
5
star
25

ImageHosting

阿里图床、京东图床、腾讯图床、网易图床、头条图床收录
HTML
4
star
26

deepl

DeepL Free API
Python
4
star
27

SubsNetflixCheck

subscription Netflix unlock check tool
Python
4
star
28

NeteaseCloudMusic

网易云音乐外链提取和下载
Python
2
star
29

bob-plugin-universal

Universal translation plugin for Bob.
JavaScript
2
star
30

USVisaWaitTimes

A tool for checking US Visa wait times
Go
2
star
31

AppStorePrice

Crawl in-app purchase prices on the App Store
Go
2
star
32

DouyinLiveStream

Convert Douyin live room share link to live stream link
JavaScript
1
star
33

MidtermExam

MidtermExam
Python
1
star
34

Sync-Weibo-Twitter

Sync Weibo to Twitter
Python
1
star
35

MSOffice-Language-Modify

Modify MSOffice language on macOS
Shell
1
star
36

ShortenURL

About Simple bash script to shorten URLs with CPP.LI
Shell
1
star
37

missuo

A repository in GitHub for testing to display a box at main page of Profile.
1
star
38

IDCard-Verify

China's second-generation ID card verification and analysis
PHP
1
star
39

VolcengineTranslate

Volcengine Translation API written by Flask
Python
1
star
40

missuo.github.io

A repository for writing blogs
HTML
1
star
41

BaiduAPI-OCR

通过百度API来实现OCR文字识别
Python
1
star
42

Pypi-Mirror

Another pypi mirror site
1
star
43

Arduino-Timer

Bluetooth App to control Arduino Timer
Java
1
star
44

GoogleDDNS

Google DDNS update client for GoogleDomains
Python
1
star
45

DouyinParser

Douyin video parser
Python
1
star
46

AmazonPriceTracker

Amazon Price Tracker
Go
1
star
47

ANSI-UTF8

ANSI编码文件转换为UTF-8
Python
1
star