feat: implement custom WebUI support with dynamic frontend replacement

- Add WebUI service and controller for managing custom frontend packages

- Allow overriding default static assets when custom WebUI is activated

- Add Make commands for packing custom WebUI distributions

- Update UI settings to support uploading, activating and deleting WebUIs

- Document WebUI feature in README and changelog
This commit is contained in:
duorameng
2026-05-29 11:49:01 +08:00
parent 41af3cf9e0
commit 323a58e041
19 changed files with 1004 additions and 35 deletions
+2
View File
@@ -6,6 +6,7 @@ import (
"github.com/engigu/baihu-panel/cmd/resetpwd"
"github.com/engigu/baihu-panel/cmd/restore"
"github.com/engigu/baihu-panel/cmd/task"
"github.com/engigu/baihu-panel/cmd/webui"
// "github.com/engigu/baihu-panel/cmd/migrate"
)
@@ -19,5 +20,6 @@ var Handlers = map[string]CommandHandler{
"restore": restore.Run,
"builtininstall": builtininstall.Run,
"task": task.Run,
"webui": webui.Run,
// "migrate": migrate.Run,
}