How a-zuro/secret-sing-box works
Secret Sing-Box automates deployment and management of a Sing-Box proxy server fronted by NGINX or HAProxy. The primary workflow starts with a root administrator running the installer, which sets up the server and produces client configuration links; users then import configurations into Sing-Box-compatible clients. Separate documented capabilities include server management, client-template synchronization, Cloudflare IP selection, routing rules, and subscription delivery. The README describes these capabilities, but no source excerpts were provided, so internal calls and undocumented integrations are not asserted.
Main entry points: install-server.sh Server installer · sb-manager.sh Server settings menu · config.json Server config template · client.json Client config template
Components 19
Server deployment
- Server installer
Scripts/install-server.sh - Sing-Box server
- NGINX / HAProxy
- TLS certificates
- Host security
- WARP setup
- HAProxy Lua auth
Scripts/auth.lua
Configuration management
- Server settings menu
Scripts/sb-manager.sh - Server updates
Scripts/update-server.sh - Ruleset updates
Scripts/ruleset-update.sh - Server config template
Config-Templates/config.json
Client access
- Client config template
Config-Templates/client.json - Cloudflare IP selection
.github/cf-scan-ip-ru.md - Client setup guidance
.github/GUI-clients-ru.md - No-GUI client guidance
.github/NoGUI-clients-ru.md - Linux client setup
Scripts/sb-pc-linux.sh - Sing-Box client
Subscription delivery
- Subscription page
Subscription-Page/sub.html
Other components
- Root administrator
Connections 11
- Root administrator → Server installer: runs
- Server installer → Sing-Box server: sets up
- Server installer → NGINX / HAProxy: configures
- Server installer → TLS certificates: obtains
- Server installer → Host security: optionally configures
- Server installer → WARP setup: configures
- Server settings menu → Client config template: syncs settings
- Server settings menu → Server config template: syncs settings
- Server settings menu → Sing-Box client: updates configs
- Root administrator → Server settings menu: opens menu
- Sing-Box client → Subscription page: gets subscriptions