feat: add web admin panel for node management

Add Flask panel with login, add/delete nodes, and share link copy.
Generate sing-box config from SQLite; add uninstall script and clean install flow.
Panel served at https://DOMAIN:8444 via nginx.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-16 09:10:19 +08:00
parent e8631a0e10
commit bccf6cfdce
21 changed files with 1069 additions and 305 deletions
+6 -4
View File
@@ -4,7 +4,7 @@
# VPS 公网 IP
VPS_IP=47.76.87.111
# 域名(Hysteria2 证书
# 域名(Hysteria2 证书 + 管理面板
DOMAIN=66.hyf2.cc
# Let's Encrypt 申请证书邮箱
@@ -13,9 +13,11 @@ ACME_EMAIL=admin@hyf2.cc
# Reality 伪装目标(真实大站,不要用你自己的域名)
REALITY_SERVER_NAME=www.microsoft.com
# 以下由 scripts/generate-keys.sh 自动生成,也可手动填写
# UUID=
# 管理面板登录(安装完成后访问 https://域名:8444
PANEL_USERNAME=admin
# 以下由 scripts/generate-keys.sh 自动生成
# REALITY_PRIVATE_KEY=
# REALITY_PUBLIC_KEY=
# REALITY_SHORT_ID=
# HY2_PASSWORD=
# PANEL_PASSWORD=