diff --git a/apps/mi-gpt-gui/1.12.0/.env.sample b/apps/mi-gpt-gui/1.12.0/.env.sample new file mode 100644 index 00000000..ce3a5f71 --- /dev/null +++ b/apps/mi-gpt-gui/1.12.0/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="mi-gpt-gui" +LOGIN_PASSWORD="password" +LOGIN_USER="admin" +PANEL_APP_PORT_HTTP=40305 diff --git a/apps/mi-gpt-gui/1.12.0/data.yml b/apps/mi-gpt-gui/1.12.0/data.yml new file mode 100644 index 00000000..08825f20 --- /dev/null +++ b/apps/mi-gpt-gui/1.12.0/data.yml @@ -0,0 +1,28 @@ +additionalProperties: + formFields: + - default: "40305" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "admin" + edit: true + envKey: LOGIN_USER + labelEn: Username + labelZh: 用户名 + random: true + required: true + rule: paramCommon + type: text + - default: "password" + edit: true + envKey: LOGIN_PASSWORD + labelEn: Password + labelZh: 密码 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/mi-gpt-gui/1.12.0/docker-compose.yml b/apps/mi-gpt-gui/1.12.0/docker-compose.yml new file mode 100644 index 00000000..dc341420 --- /dev/null +++ b/apps/mi-gpt-gui/1.12.0/docker-compose.yml @@ -0,0 +1,17 @@ +services: + mi-gpt-gui: + image: "lmk123/migpt-server:1.12.0" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:36592" + command: --user ${LOGIN_USER} --pwd ${LOGIN_PASSWORD} + labels: + createdBy: "Apps" + + +networks: + 1panel-network: + external: true diff --git a/apps/mi-gpt-gui/README.md b/apps/mi-gpt-gui/README.md new file mode 100644 index 00000000..6b8d6f24 --- /dev/null +++ b/apps/mi-gpt-gui/README.md @@ -0,0 +1,14 @@ +# MiGPT GUI + +为 [MiGPT](https://github.com/idootop/mi-gpt/) 提供图形化操作界面。 + +特点: + +- 使用图形化界面的方式编辑配置并控制(比如启动 / 停止 / 重置)MiGPT +- 内置 [MiGPT TTS](https://github.com/idootop/mi-gpt-tts),所以无需你自己额外部署 +- 提供在公网运行所需的安全功能: + - 提供登录认证功能,你可以设置账号密码,确保只有你自己能够控制你的 MiGPT + - 内置的 MiGPT TTS 始终启用了[秘密路径](https://github.com/idootop/mi-gpt-tts/blob/main/docs/mi-gpt.md#2-%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F),且会自动下发给 MiGPT,对你是无感知的,你也不需要知道这个概念 + - 可以修改运行的端口号,避免被精准扫描 + +具体使用方式见 [https://migptgui.com](https://migptgui.com/)。 \ No newline at end of file diff --git a/apps/mi-gpt-gui/data.yml b/apps/mi-gpt-gui/data.yml new file mode 100644 index 00000000..ff13535d --- /dev/null +++ b/apps/mi-gpt-gui/data.yml @@ -0,0 +1,19 @@ +name: MiGPT GUI +tags: + - AI / 大模型 +title: 安全、快速的给你的小爱音箱接入人工智能 +description: 安全、快速的给你的小爱音箱接入人工智能 +additionalProperties: + key: mi-gpt-gui + name: MiGPT GUI + tags: + - AI + shortDescZh: 安全、快速的给你的小爱音箱接入人工智能 + shortDescEn: Securely and Quickly Access Artificial Intelligence for Xiaomi Speaker + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://migptgui.com + github: https://github.com/lmk123/migpt-cli + document: https://migptgui.com diff --git a/apps/mi-gpt-gui/latest/.env.sample b/apps/mi-gpt-gui/latest/.env.sample new file mode 100644 index 00000000..ce3a5f71 --- /dev/null +++ b/apps/mi-gpt-gui/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="mi-gpt-gui" +LOGIN_PASSWORD="password" +LOGIN_USER="admin" +PANEL_APP_PORT_HTTP=40305 diff --git a/apps/mi-gpt-gui/latest/data.yml b/apps/mi-gpt-gui/latest/data.yml new file mode 100644 index 00000000..08825f20 --- /dev/null +++ b/apps/mi-gpt-gui/latest/data.yml @@ -0,0 +1,28 @@ +additionalProperties: + formFields: + - default: "40305" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "admin" + edit: true + envKey: LOGIN_USER + labelEn: Username + labelZh: 用户名 + random: true + required: true + rule: paramCommon + type: text + - default: "password" + edit: true + envKey: LOGIN_PASSWORD + labelEn: Password + labelZh: 密码 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/mi-gpt-gui/latest/docker-compose.yml b/apps/mi-gpt-gui/latest/docker-compose.yml new file mode 100644 index 00000000..1de794f5 --- /dev/null +++ b/apps/mi-gpt-gui/latest/docker-compose.yml @@ -0,0 +1,17 @@ +services: + mi-gpt-gui: + image: "lmk123/migpt-server:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:36592" + command: --user ${LOGIN_USER} --pwd ${LOGIN_PASSWORD} + labels: + createdBy: "Apps" + + +networks: + 1panel-network: + external: true diff --git a/apps/mi-gpt-gui/logo.png b/apps/mi-gpt-gui/logo.png new file mode 100644 index 00000000..9cec3e62 Binary files /dev/null and b/apps/mi-gpt-gui/logo.png differ