explaingit

233boy/sing-box

3,765ShellAudience · ops devopsComplexity · 3/5Setup · moderate

TLDR

A one-command install and management script for sing-box that sets up multiple proxy protocols on a Linux server, handling TLS certificates automatically and letting you switch settings through simple shell commands.

Mindmap

mindmap
  root((sing-box script))
    Protocols
      VLESS-REALITY
      Hysteria2
      Trojan
      Shadowsocks
    Features
      Auto TLS setup
      BBR support
      Multi-config
    Management
      Add config
      Edit params
      View logs
    Tech Stack
      Shell
      sing-box
      Linux
    Audience
      Server admins
      Network ops
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Install and configure a VLESS-REALITY or Hysteria2 proxy on a Linux VPS with a single command.

USE CASE 2

Manage multiple proxy configurations on one server without editing JSON config files by hand.

USE CASE 3

Automatically set up TLS certificates for a proxy server without manual certificate management.

USE CASE 4

Switch between different tunneling protocols to find the best performance for a given network.

Tech stack

Shellsing-boxLinux

Getting it running

Difficulty · moderate Time to first run · 30min

Requires a Linux server, TLS certificates are configured automatically by the script.

No license information was mentioned in the explanation.

In plain English

This repository contains a one-command install and management script for sing-box, an open-source proxy platform that supports multiple tunneling protocols. The script is written in Shell and runs on Linux servers. The README is written in Chinese. Sing-box itself is a proxy tool that can run several different protocols: VLESS-REALITY, TUIC, Trojan, Hysteria2, AnyTLS, Shadowsocks 2022, and several VMess variants using different transports like WebSocket, HTTP/2, and QUIC. Each protocol has different characteristics in terms of speed, obfuscation, and how it handles network restrictions. This management script wraps sing-box so you can add, change, view, and delete proxy configurations through short commands without editing configuration files by hand. Adding a new configuration takes a single command and completes almost instantly. The script handles TLS certificate setup automatically, meaning HTTPS encryption is configured for you without manual certificate management. It also includes a one-command option to enable BBR, a Linux kernel congestion control algorithm that can improve throughput on some networks. The design goal described in the README is to run multiple configurations at the same time with minimal effort. You can change individual parameters of a running configuration, such as port, UUID, password, domain, encryption method, or the camouflage website that hides the proxy traffic, all through single commands. Existing v2ray or sing-box configuration files can also be imported. The script includes commands for checking service status, viewing logs, testing a configuration before going live, and updating sing-box or the script itself. Full documentation is hosted at the author's website at 233boy.com.

Copy-paste prompts

Prompt 1
Using the 233boy sing-box script, show me the exact commands to install sing-box and create a new VLESS-REALITY configuration.
Prompt 2
How do I change the port and domain of an existing sing-box configuration using this management script?
Prompt 3
Walk me through importing an existing v2ray config file into the 233boy sing-box script.
Prompt 4
How do I enable BBR congestion control on my Linux server using the sing-box management script?
Prompt 5
Show me the commands to view logs and test a sing-box configuration before making it live.
Open on GitHub → Explain another repo

← 233boy on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.