diff --git a/README.md b/README.md index b045188..edcaf23 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,18 @@ A ChatGPT web client that supports multiple users, multiple database connections for persistent data storage, supports i18n. Provides Docker images and quick deployment scripts. +The server of this project:[https://github.com/WongSaang/chatgpt-ui-server](https://github.com/WongSaang/chatgpt-ui-server) + https://user-images.githubusercontent.com/46235412/227156264-ca17ab17-999b-414f-ab06-3f75b5235bfe.mp4 ## 📢Updates +
+2023-04-06 +The client is now deployed as server-side rendering (SSR), and the environment variables are now available, see docker-compose configuration below for available environment variables. Improved first screen loading speed and reduced white screen time. +
+
2023-03-27 🚀 Support gpt-4 model. You can select the model in the "Model Parameters" of the front-end. @@ -95,6 +102,9 @@ services: image: wongsaang/chatgpt-ui-client:latest environment: - SERVER_DOMAIN=http://backend-web-server + # - NUXT_PUBLIC_APP_NAME='ChatGPT UI' # The name of the application + # - NUXT_PUBLIC_TYPEWRITER=true # Whether to enable the typewriter effect, default false + # - NUXT_PUBLIC_TYPEWRITER_DELAY=50 # The delay time of the typewriter effect, default 50ms depends_on: - backend-web-server ports: diff --git a/docker-compose.yml b/docker-compose.yml index f6c893e..6dc791d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,9 @@ services: image: wongsaang/chatgpt-ui-client:latest environment: - SERVER_DOMAIN=http://backend-web-server +# - NUXT_PUBLIC_APP_NAME='ChatGPT UI' # The name of the application +# - NUXT_PUBLIC_TYPEWRITER=true # Whether to enable the typewriter effect, default false +# - NUXT_PUBLIC_TYPEWRITER_DELAY=50 # The delay time of the typewriter effect, default 50ms depends_on: - backend-web-server ports: diff --git a/docs/zh/README.md b/docs/zh/README.md index bff8a40..1432a83 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -6,11 +6,18 @@ ChatGPT Web 客户端,支持多用户,支持 Mysql、PostgreSQL 等多种数据库连接进行数据持久化存储,支持多语言。提供 Docker 镜像和快速部署脚本。 +本项目的服务端:[https://github.com/WongSaang/chatgpt-ui-server](https://github.com/WongSaang/chatgpt-ui-server) + https://user-images.githubusercontent.com/46235412/227156264-ca17ab17-999b-414f-ab06-3f75b5235bfe.mp4 ## 📢 更新 +
+2023-04-06 +客户端改成服务端渲染(SSR)的方式部署,现在可以使用环境变量了,可用环境变量请看下方 docker-compose 配置。提升了首屏加载速度,减少白屏时间。 +
+
2023-03-27 🚀 支持 gpt-4 模型。你可以在前端的“模型参数”中选择模型,gpt-4 模型需要通过 openai 的白名单才能使用。 @@ -91,6 +98,9 @@ services: image: wongsaang/chatgpt-ui-client:latest environment: - SERVER_DOMAIN=http://backend-web-server + # - NUXT_PUBLIC_APP_NAME='ChatGPT UI' # APP 名称 + # - NUXT_PUBLIC_TYPEWRITER=true # 是否开启 打字机 效果 + # - NUXT_PUBLIC_TYPEWRITER_DELAY=50 # 打字机效果的延迟时间,单位:毫秒,默认:50 depends_on: - backend-web-server ports: