40 lines
503 B
Markdown
40 lines
503 B
Markdown
# ChatGPT Web Bot
|
|
|
|
[中文](./README.md) | English
|
|
|
|
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
|