40 lines
539 B
Markdown
40 lines
539 B
Markdown
# ChatGPT Web Bot
|
|
|
|
English | [中文](./README.zh-CN.md)
|
|
|
|
ChartGPT demo page built with express and vue3
|
|
|
|
![cover](./docs/cover.png)
|
|
## Usage
|
|
> Make sure `node >= 18`
|
|
|
|
If pnpm is not installed
|
|
```shell
|
|
npm install pnpm -g
|
|
```
|
|
|
|
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
|
|
```shell
|
|
pnpm run service
|
|
```
|
|
|
|
Run web
|
|
```shell
|
|
pnpm run dev
|
|
```
|
|
|
|
## License
|
|
MIT © [ChenZhaoYu](./license)
|