sing-box Hy2 stays on 8443+; port 443 VLESS uses Xray which pairs reliably with v2rayN/Xray-core clients.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add empty short_id, SpiderX in share links, and post-keygen render reminder so server config stays in sync with .env.
Co-authored-by: Cursor <cursoragent@cursor.com>
Force nginx to pass the domain as Host, add PANEL_DOMAIN fallback in Flask,
and document that the admin panel must be accessed over HTTP not HTTPS.
Co-authored-by: Cursor <cursoragent@cursor.com>
Official sing-box binaries lack v2ray_api, so drop that config and grpcio
and track per-node traffic from Clash connection stats instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
Enable sing-box Clash/V2Ray APIs for per-user metrics, persist cumulative
traffic in SQLite, and refresh the dashboard every five seconds.
Co-authored-by: Cursor <cursoragent@cursor.com>
Route the panel through a secret subpath on port 80, remove the separate
8444 listener, and document common troubleshooting in docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use stdlib pbkdf2 for admin passwords so init_db works reliably.
Remove .env from git to avoid pull conflicts on VPS.
Verify flask install before database init.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use venv interpreter so werkzeug is available; sync admin user from .env on init.
Set default panel username to dekun.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
Move install-cert after systemd unit creation so reloadcmd succeeds.
Add finish-install.sh to recover partial deployments when cert exists.
Co-authored-by: Cursor <cursoragent@cursor.com>