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.
练亮斌
63af4a8e97
部分输入法支持中英文混输,输入过程中按空格选择中文,按回车把当前的英文直接上屏。 至少在Chrome浏览器中,会把输入法选英文词的回车作为keyup事件,导致未输入完成的句子被提交。改成监听keypress事件就没问题了。 其他浏览器未测试。 |
2 years ago | |
---|---|---|
.vscode | 2 years ago | |
docs | 2 years ago | |
public | 2 years ago | |
service | 2 years ago | |
src | 2 years ago | |
.editorconfig | 2 years ago | |
.env | 2 years ago | |
.eslintignore | 2 years ago | |
.eslintrc.cjs | 2 years ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
.prettierrc.json | 2 years ago | |
CHANGELOG.md | 2 years ago | |
README.md | 2 years ago | |
README.zh-CN.md | 2 years ago | |
index.html | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
pnpm-lock.yaml | 2 years ago | |
postcss.config.js | 2 years ago | |
tailwind.config.js | 2 years ago | |
tsconfig.json | 2 years ago | |
vite.config.ts | 2 years ago |
README.md
ChatGPT Web Bot
English | 中文
ChartGPT demo page built with express and vue3
Usage
Make sure
node >= 18
If pnpm is not installed
npm install pnpm -g
install node deps
pnpm install
Sign up for an OpenAI API key and store it in your environment.
# .env
OPENAI_API_KEY="Your Key"
Run service
pnpm run service
Run web
pnpm run dev
License
MIT © ChenZhaoYu