You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
466 B
Markdown
36 lines
466 B
Markdown
2 years ago
|
# ChatGPT Web Bot
|
||
|
|
||
|
[English](./README.md) | 中文
|
||
|
|
||
|
使用 express 和 vue3 搭建的 ChartGPT 演示网页
|
||
|
|
||
|
![cover](./docs/cover.png)
|
||
|
|
||
|
## 使用
|
||
|
> Make sure `node >= 18`
|
||
|
|
||
|
安装依赖
|
||
|
```shell
|
||
|
pnpm install
|
||
|
```
|
||
|
|
||
|
获取 [OpenAI API key](https://platform.openai.com/overview) 到本地环境变量
|
||
|
|
||
|
```
|
||
|
# .env
|
||
|
OPENAI_API_KEY="Your Key"
|
||
|
```
|
||
|
|
||
|
运行服务
|
||
|
```shell
|
||
|
pnpm run service
|
||
|
```
|
||
|
|
||
|
运行网页
|
||
|
```shell
|
||
|
pnpm run dev
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
MIT © [ChenZhaoYu](./license)
|