/OpenGPT-Business

chatgpt商业应用!79E/ChatGpt-Web 的1.3.9最新!本人破解,无需授权!

Primary LanguageTypeScriptApache License 2.0Apache-2.0

OpenGPT-Business

About

Official Demo: Click Here

https://github.com/79E/ChatGpt-Web ' front+backend code

商业版GPT源码, Business GPT src

Full open source, can be secondary development

Install

Frontend

Do this in terminal (dic=/<site>)

yarn install && yarn build

Backend

Edit server/config/index.js

Do this in terminal (dic=/<site>)

cd server
pm2 start index.js --name chatweb --watch

Web Access

Set site running dictionary to dist folder.

Add this to site config:

location / {
  try_files $uri $uri/ @router;
  index index.html;
}

location @router {
  rewrite ^.*$ /index.html last;
}

Add Reverse proxy, set like this

Access URl = /api
Proxy URl = http://127.0.0.1:3200/api
Catch = 1min