From d8873603b1f3c96b7482d50789eb073f7a90887b Mon Sep 17 00:00:00 2001 From: leejet Date: Sat, 11 Apr 2026 18:16:25 +0800 Subject: [PATCH 1/2] feat: use sdcpp-webui as embedded webui --- .gitmodules | 2 +- examples/server/README.md | 4 ++-- examples/server/frontend | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 1807eb85f..5ccdc3824 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = https://github.com/ggml-org/ggml.git [submodule "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"] path = thirdparty/libwebp url = https://github.com/webmproject/libwebp.git diff --git a/examples/server/README.md b/examples/server/README.md index 620586d2e..e813a2f16 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -8,7 +8,7 @@ The server can optionally build the web frontend and embed it into the binary as Install the following tools: -* **Node.js** ≥ 22.18 +* **Node.js** ≥ 20 https://nodejs.org/ * **pnpm** ≥ 10 @@ -54,7 +54,7 @@ and embed the generated frontend into the server binary. ## 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**. diff --git a/examples/server/frontend b/examples/server/frontend index 1a34176cd..740475a7a 160000 --- a/examples/server/frontend +++ b/examples/server/frontend @@ -1 +1 @@ -Subproject commit 1a34176cd6d39ad3a226b2b69047e71f6797f6bc +Subproject commit 740475a7a6794dc07fb23e8ec5dc56e7e80aa8c1 From 542e8e4a6c4c9329a23f9be8cf1ba719e16fabb5 Mon Sep 17 00:00:00 2001 From: leejet Date: Sat, 11 Apr 2026 18:22:53 +0800 Subject: [PATCH 2/2] ci: trigger workflows on frontend submodule updates --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b42f8941..b173ebed7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ on: "**/*.c", "**/*.cpp", "**/*.cu", + "examples/server/frontend", "examples/server/frontend/**", ] pull_request: @@ -35,6 +36,7 @@ on: "**/*.c", "**/*.cpp", "**/*.cu", + "examples/server/frontend", "examples/server/frontend/**", ]