feat:添加mi-gpt-gui到列表#1836

This commit is contained in:
okxlin 2024-10-13 19:48:25 +08:00
parent 501aeba0ec
commit f51355468a
9 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,4 @@
CONTAINER_NAME="mi-gpt-gui"
LOGIN_PASSWORD="password"
LOGIN_USER="admin"
PANEL_APP_PORT_HTTP=40305

View File

@ -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

View File

@ -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

14
apps/mi-gpt-gui/README.md Normal file
View File

@ -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/)。

19
apps/mi-gpt-gui/data.yml Normal file
View File

@ -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

View File

@ -0,0 +1,4 @@
CONTAINER_NAME="mi-gpt-gui"
LOGIN_PASSWORD="password"
LOGIN_USER="admin"
PANEL_APP_PORT_HTTP=40305

View File

@ -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

View File

@ -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

BIN
apps/mi-gpt-gui/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB