2023-02-09 02:51:19 -05:00
|
|
|
# ChatGPT Web Bot
|
2023-02-08 22:21:33 -05:00
|
|
|
|
2023-02-09 03:02:32 -05:00
|
|
|
English | [中文](./README.zh-CN.md)
|
|
|
|
|
|
|
|
ChartGPT demo page built with express and vue3
|
2023-02-09 02:48:27 -05:00
|
|
|
|
|
|
|
![cover](./docs/cover.png)
|
2023-02-09 02:57:39 -05:00
|
|
|
## Usage
|
|
|
|
> Make sure `node >= 18`
|
2023-02-09 02:48:27 -05:00
|
|
|
|
2023-02-09 03:48:21 -05:00
|
|
|
If pnpm is not installed
|
|
|
|
```shell
|
|
|
|
npm install pnpm -g
|
|
|
|
```
|
|
|
|
|
2023-02-09 02:57:39 -05:00
|
|
|
install node deps
|
|
|
|
```shell
|
|
|
|
pnpm install
|
|
|
|
```
|
|
|
|
|
|
|
|
Sign up for an [OpenAI API key](https://platform.openai.com/overview) and store it in your environment.
|
|
|
|
|
|
|
|
```
|
|
|
|
# .env
|
|
|
|
OPENAI_API_KEY="Your Key"
|
|
|
|
```
|
|
|
|
|
|
|
|
Run service
|
2023-02-09 02:48:27 -05:00
|
|
|
```shell
|
|
|
|
pnpm run service
|
2023-02-09 02:57:39 -05:00
|
|
|
```
|
2023-02-09 02:48:27 -05:00
|
|
|
|
2023-02-09 02:57:39 -05:00
|
|
|
Run web
|
|
|
|
```shell
|
2023-02-09 02:48:27 -05:00
|
|
|
pnpm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
MIT © [ChenZhaoYu](./license)
|