8000 GitHub - swartz-k/chatgpt-app: ChatGPT with Golang api & wechat app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 13, 2022. It is now read-only.

swartz-k/chatgpt-app

Repository files navigation

ChatGPT app

ChatGPT 后端 + 小程序端

使用指南

Golang 实现 session 的方式接入 ChatGPT 服务,详细逻辑可以参考 pkg/chat 部分

session 来源

登陆后,打开调试,复制名为 __Secure-next-auth.session-token 的Cookie 的值即可 image

服务端

  1. 复制并修改配置文件,主要是获取 session
    cp config.json.example config.json

  2. 启动服务
    make local-run

小程序端

  1. 启动服务
    yarn && yarn dev:weapp

  2. 发布版本,需要修改 app/config/prod.js,指定 env.URL

也可以扫码体验 image

About

ChatGPT with Golang api & wechat app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0