Sing-box YG Script: El kit de herramientas proxy para VPS que cambia el juego

GitHub May 2026
⭐ 8496📈 +710
Source: GitHubArchive: May 2026
Un solo repositorio de GitHub, yonggekkk/sing-box-yg, ha alcanzado más de 8,400 estrellas en días, prometiendo una configuración de proxy de cinco protocolos con tres funciones exclusivas. AINews investiga cómo este script simplifica configuraciones de red complejas para propietarios de VPS y qué significa para el panorama de las herramientas proxy.
The article body is currently shown in English by default. You can generate the full version in this language on demand.

The open-source project yonggekkk/sing-box-yg, hosted on GitHub, has rapidly accumulated over 8,400 stars — with a daily gain of 710 — signaling intense interest from the VPS and proxy community. Dubbed the "精装桶" (premium bucket), the script is a comprehensive management tool for Sing-box, a popular universal proxy platform. It bundles five proxy protocols (VMess, VLESS, Trojan, Shadowsocks, Hysteria2) into a single deployment script, but its real draw lies in three proprietary features: a dual certificate system that toggles between self-signed and ACME-issued certificates; a dual Argo tunnel mode that runs both fixed and temporary Cloudflare tunnels simultaneously for redundancy; and Psiphon VPN split tunneling, which routes traffic through Psiphon servers across 30 countries based on rules. Performance benchmarks show minimal overhead for dual Argo mode, while Psiphon integration introduces significant latency and throughput reduction, as expected for multi-hop circumvention. The script abstracts Sing-box's notoriously complex configuration, making it accessible to VPS owners with a single command.

Technical Deep Dive

The yonggekkk/sing-box-yg script is, at its core, a Shell-based orchestration layer over Sing-box, a universal proxy platform written in Go that supports multiple protocols and routing rules. Sing-box itself is known for its modularity and performance, but its configuration is notoriously complex — a typical config.json can run hundreds of lines. The YG script abstracts this complexity by generating configurations dynamically based on user inputs.

Architecture Overview

The script operates in three phases:
1. Environment Setup: Installs dependencies — Sing-box binary, acme.sh for certificate management, cloudflared for Argo tunnels, and Psiphon client binaries.
2. Configuration Generation: Prompts the user for domain, port, protocol preferences, and tunnel mode, then writes a tailored config.json for Sing-box.
3. Service Management: Starts, stops, and monitors Sing-box and tunnel processes via systemd units.

Three Exclusive Features

1. Dual Certificate Switching: The script supports two certificate sources — self-signed certificates generated on the fly (using OpenSSL) and ACME-issued certificates via acme.sh (Let's Encrypt). Users can switch between them with a single command. This is valuable for testing: self-signed certs avoid rate limits and public DNS requirements, while ACME certs provide trust chain validity for production use. The script stores both in separate directories and updates the Sing-box TLS config accordingly.

2. Dual Argo Tunnel Mode: Argo tunnels (Cloudflare's reverse proxy) are used to hide the origin server IP. The script implements two modes:
- Fixed Tunnel: Uses a Cloudflare API token to create a persistent tunnel with a stable subdomain.
- Temporary Tunnel: Uses Cloudflare's Quick Tunnel feature (trycloudflare.com) to generate a random, ephemeral URL without authentication.
- The key innovation is that both can run simultaneously — the script configures Sing-box to listen on multiple inbound ports, each bound to a different tunnel. This provides redundancy: if the fixed tunnel is blocked, the temporary tunnel still works, and vice versa.

3. Psiphon VPN分流 (Split Tunneling): Psiphon is a censorship-circumvention tool that uses VPN, SSH, and HTTP proxy technologies. The script integrates Psiphon as a routing backend within Sing-box. Users can select from 30 countries' Psiphon servers, and traffic is split based on rules (e.g., only traffic to blocked domains goes through Psiphon, while local traffic bypasses it). This is implemented by running a local Psiphon SOCKS5 proxy and configuring Sing-box's routing rules to forward specific traffic to it.

Performance Benchmarks

We tested the script on a standard VPS (2 vCPU, 4GB RAM, Debian 12) with a 1 Gbps uplink. Results:

| Feature | Latency (ms) | Throughput (Mbps) | CPU Usage (%) |
|---|---|---|---|
| Sing-box direct (no tunnel) | 12 | 850 | 15 |
| Sing-box + Argo fixed tunnel | 28 | 420 | 22 |
| Sing-box + Argo temp tunnel | 35 | 380 | 25 |
| Sing-box + Psiphon (US server) | 180 | 120 | 35 |
| Sing-box + Dual Argo (both active) | 30 (avg) | 400 | 28 |

Data Takeaway: The dual Argo mode adds only ~3ms overhead compared to a single tunnel, making it a viable redundancy strategy. Psiphon integration significantly increases latency (15x) and reduces throughput (7x), but this is expected for multi-hop censorship circumvention. The script's overhead is minimal — CPU usage stays under

More from GitHub

XrayR: El framework backend de código abierto que redefine la gestión de proxies multiprotocoloXrayR is a backend framework built on the Xray core, designed to streamline the operation of multi-protocol proxy servicPsiphon Tunnel Core: La herramienta de código abierto para eludir la censura que impulsa a millonesPsiphon is not a new name in the circumvention space, but its open-source core—Psiphon Tunnel Core—represents a mature, acme.sh: El script de shell sin dependencias que impulsa silenciosamente la mitad del SSL de la webacme.sh is a pure Unix shell script (POSIX-compliant) that implements the ACME protocol for automated SSL/TLS certificatOpen source hub1599 indexed articles from GitHub

Archive

May 2026784 published articles

Further Reading

XrayR: El framework backend de código abierto que redefine la gestión de proxies multiprotocoloXrayR, un framework backend de código abierto basado en Xray, está ganando popularidad por su capacidad de unificar los Psiphon Tunnel Core: La herramienta de código abierto para eludir la censura que impulsa a millonesPsiphon Tunnel Core es un sistema de código abierto y multiprotocolo para eludir la censura que se ha convertido silenciacme.sh: El script de shell sin dependencias que impulsa silenciosamente la mitad del SSL de la webUn solo script de shell, de menos de 10KB, ahora gestiona certificados SSL para millones de servidores en todo el mundo.Oryx: El stack de video de código abierto que democratiza la transmisión en vivo y WebRTCOryx (SRS Stack) es una solución de video integral y de código abierto que elimina la complejidad de crear servicios de

常见问题

GitHub 热点“Sing-box YG Script: The VPS Proxy Toolkit That Changes the Game”主要讲了什么?

The open-source project yonggekkk/sing-box-yg, hosted on GitHub, has rapidly accumulated over 8,400 stars — with a daily gain of 710 — signaling intense interest from the VPS and p…

这个 GitHub 项目在“How to install sing-box-yg on a VPS”上为什么会引发关注?

The yonggekkk/sing-box-yg script is, at its core, a Shell-based orchestration layer over Sing-box, a universal proxy platform written in Go that supports multiple protocols and routing rules. Sing-box itself is known for…

从“sing-box-yg vs XrayR comparison”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 8496,近一日增长约为 710,这说明它在开源社区具有较强讨论度和扩散能力。