• This repository has been archived on 17/Jun/2024
  • Stars
    star
    3,329
  • Rank 13,465 (Top 0.3 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created 8 months ago
  • Updated 7 months 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
768
star
2

XrayR-V2Board

XrayR One-Click Script for V2Board
Shell
361
star
3

Telegraph-Image-Hosting

Build a free image hosting with Telegraph
HTML
306
star
4

bob-plugin-deeplx

**Free DeepL Plugin for Bob**
JavaScript
249
star
5

CloudflareWarp

Cloudflare Warp One Click Script
Shell
228
star
6

FreeDuckDuckGo

Use DuckDuckGo for free with GPT-3.5-Turbo.
Go
215
star
7

MTProxy

MTProxy(MTPROTO) v2 One-Click Installation
Shell
162
star
8

ASN-China

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

discord-image

Powerful Discord image hosting, file sharing
Go
142
star
10

Hysteria2

Hysteria 2 One-Click Installation Script
Shell
136
star
11

DouyinParsing

TikTok China(Douyin) No Watermark Video & Background Music Parser
Python
95
star
12

cohere2openai

Convert the Cohere API to OpenAI compatible API.
Go
76
star
13

claude2openai

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

Inject-IPA

Inject dylib into ipa
Shell
62
star
15

openai-translate

Build your own OpenAI translation API
Go
59
star
16

FuckSheepGame

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

bob-plugin-cohere

Cohere (Command R+) AI translation plugin for Bob.
JavaScript
41
star
18

bob-plugin-copilot

Copilot AI translation plugin for Bob
JavaScript
34
star
19

EasyEhco

Ehco Tunnel One Click Script
Shell
31
star
20

XrayR

XrayR Backup
Go
28
star
21

follow-claim

Follow Claim is a simple tool that uses a cron job to claim daily rewards from the Follow app
Go
23
star
22

GmailValidChecker

Gmail validity checker
Python
12
star
23

ClaudeProxy

Proxy for Anthropic Claude implemented in Go
Go
10
star
24

aaPanelEnhanced

aaPanel Enhanced
JavaScript
10
star
25

SimpleNetflix

Netflix检测精简版
Shell
6
star
26

EasyWebDav

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

ImageHosting

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

deepl

DeepL Free API
Python
4
star
29

SubsNetflixCheck

subscription Netflix unlock check tool
Python
4
star
30

AmazonPriceTracker

Amazon Price Tracker
Go
3
star
31

AppStorePrice

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

DouyinLiveStream

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

NeteaseCloudMusic

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

IDCard-Verify

China's second-generation ID card verification and analysis
PHP
2
star
35

bob-plugin-universal

Universal translation plugin for Bob.
JavaScript
2
star
36

USVisaWaitTimes

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

awesome-stars

2
star
38

MidtermExam

MidtermExam
Python
1
star
39

ShortenURL

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

MSOffice-Language-Modify

Modify MSOffice language on macOS
Shell
1
star
41

Sync-Weibo-Twitter

Sync Weibo to Twitter
Python
1
star
42

missuo

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

VolcengineTranslate

Volcengine Translation API written by Flask
Python
1
star
44

missuo.github.io

A repository for writing blogs
HTML
1
star
45

BaiduAPI-OCR

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

Pypi-Mirror

Another pypi mirror site
1
star
47

Arduino-Timer

Bluetooth App to control Arduino Timer
Java
1
star
48

GoogleDDNS

Google DDNS update client for GoogleDomains
Python
1
star
49

DouyinParser

Douyin video parser
Python
1
star
50

ExchangeRate

A free RMB exchange rate API written in Flask
Python
1
star
51

ANSI-UTF8

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

unifi-cloudflare-ddns

Cloudflare DDNS for UniFi OS
Go
1
star