feat: use sdcpp-webui as embedded webui (#1408)

This commit is contained in:
leejet 2026-04-11 18:33:11 +08:00 committed by GitHub
parent 7ade90e478
commit fd3504760f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 4 deletions

View File

@ -21,6 +21,7 @@ on:
"**/*.c", "**/*.c",
"**/*.cpp", "**/*.cpp",
"**/*.cu", "**/*.cu",
"examples/server/frontend",
"examples/server/frontend/**", "examples/server/frontend/**",
] ]
pull_request: pull_request:
@ -35,6 +36,7 @@ on:
"**/*.c", "**/*.c",
"**/*.cpp", "**/*.cpp",
"**/*.cu", "**/*.cu",
"examples/server/frontend",
"examples/server/frontend/**", "examples/server/frontend/**",
] ]

2
.gitmodules vendored
View File

@ -3,7 +3,7 @@
url = https://github.com/ggml-org/ggml.git url = https://github.com/ggml-org/ggml.git
[submodule "examples/server/frontend"] [submodule "examples/server/frontend"]
path = examples/server/frontend path = examples/server/frontend
url = https://github.com/leejet/stable-ui.git url = https://github.com/leejet/sdcpp-webui.git
[submodule "thirdparty/libwebp"] [submodule "thirdparty/libwebp"]
path = thirdparty/libwebp path = thirdparty/libwebp
url = https://github.com/webmproject/libwebp.git url = https://github.com/webmproject/libwebp.git

View File

@ -8,7 +8,7 @@ The server can optionally build the web frontend and embed it into the binary as
Install the following tools: Install the following tools:
* **Node.js** ≥ 22.18 * **Node.js** ≥ 20
https://nodejs.org/ https://nodejs.org/
* **pnpm** ≥ 10 * **pnpm** ≥ 10
@ -54,7 +54,7 @@ and embed the generated frontend into the server binary.
## Frontend Repository ## Frontend Repository
The web frontend is maintained in a **separate repository**, https://github.com/leejet/stable-ui. The web frontend is maintained in a **separate repository**, https://github.com/leejet/sdcpp-webui.
If you want to modify the UI or frontend logic, please submit pull requests to the **frontend repository**. If you want to modify the UI or frontend logic, please submit pull requests to the **frontend repository**.

@ -1 +1 @@
Subproject commit 1a34176cd6d39ad3a226b2b69047e71f6797f6bc Subproject commit 740475a7a6794dc07fb23e8ec5dc56e7e80aa8c1