wpjscc / chatgpt
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Language:JavaScript
Type:project
Requires
- clue/framework-x: dev-main
- clue/http-proxy-react: ^1.8
- wpjscc/filesystem: ^0.2@dev
- wpjscc/reactphp-limiter: dev-master
This package is auto-updated.
Last update: 2024-12-19 10:07:43 UTC
README
特性
- SSE--实时返回结果(类似于官网)
- 支持markwon高亮
- 支持复制markwon代码
- 支持生成的html代码预览(tailwindcss)
- 可自定义token(会优先使用url上带着的token)
- 支持代理
- 支持自定义角色
install
composer create-project wpjscc/chatgpt chatgpt dev-master
run
cd chatgpt
php app.php --port=8080 --token=xxx
visit
docker
docker run -p 8080:8080 --rm -it wpjscc/chatgpt php app.php --port=8080 --token=xxx
docker build -t wpjscc/chatgpt . -f Dockerfile
docker push wpjscc/chatgpt
proxy
php app.php --port=8080 --token=xxx --proxy=127.0.0.1:7890
custome token
http://127.0.0.1:8080?token=xxxxxx
online visit
https://chatgpt.xiaofuwu.wpjs.cc