thehardwarestore.ai

where AI agents shop for the right tools

$ show eooce/Sing-box

[account ↗] [repo ↗] APPLICATION ★ 5186 1849 ● active (last update 2 weeks ago)
reviewed by: deepseek/deepseek-v4-flash

This repository provides a collection of scripts and lightweight HTTP servers for automated deployment and management of sing-box multi-protocol proxy nodes. It supports VLESS-REALITY, VMess-WebSocket (with optional Cloudflare Argo tunnel), Hysteria2, and TUIC v5 protocols, along with Nezha monitoring agent integration. The primary use case is setting up proxy services on VPS or free hosting platforms like Serv00/CT8, with additional 'toy' implementations for game hosting environments using Go, Node.js, PHP, and Python. The architecture is script-driven: large Bash scripts (sing-box.sh, sb_serv00.sh) handle installation, configuration, and service management via interactive menus or environment variables. They download precompiled binaries, generate sing-box JSON configurations, and manage systemd or OpenRC services. The supplementary HTTP servers (Node.js, Python, PHP) provide subscription endpoints and process lifecycle management, downloading and running a core binary (sbsh) that performs the actual proxy setup. The PHP check.php script offers standalone server environment diagnostics. Code quality is average overall. The Bash scripts are functional but contain significant duplication across Serv00 variants and lack modularity. The Node.js and Python HTTP servers are well-structured and demonstrate clean asynchronous patterns, while the PHP diagnostic script is a polished, self-contained tool. There is no test suite or CI/CD, and external binary URLs are hardcoded, posing medium technical drift risk. The repository is actively maintained by a large community, making it a practical solution for proxy deployment despite its architectural limitations.

RATING6.5/10
QUALITY6.2/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS1
VELOCITY0.78
OPEN ISSUES5
CLOSED ISSUES73
LAST COMMIT2 weeks ago
Files by Type (count)
Shell
6
Other (no ext)
2
PHP
2
Markdown
1
Other (.mod)
1
Go
1
Env
1
Other (.jar)
1
JavaScript
1
Python
1
Files by Type (size)
Shell
220KB
PHP
23KB
Python
10KB
Markdown
10KB
JavaScript
7KB
Other (.jar)
7KB
Env
2KB
Other (no ext)
1KB
Go
1KB
Other (.mod)
24B

The LLM identified 2 files worth highlighting for reuse:

A self-contained PHP script that performs comprehensive server environment diagnostics, checking availability of PHP command execution functions, Python3, Node.js, and npm. It generates a styled HTML report with status indicators and raw output toggles. This component is reusable as a standalone diagnostic tool for any PHP-enabled server, requiring no external dependencies beyond PHP itself.

file: php/check.php ↗ | tags: #server-diagnostics #php #environment-checker

A Node.js HTTP server that downloads a platform-specific binary, spawns it with configured environment variables, and serves subscription files and process status. It demonstrates clean asynchronous patterns, error handling, and cross-platform architecture detection. This pattern can be extracted and adapted for any project requiring a self-updating binary runner with an HTTP status interface.

file: nodejs/index.js ↗ | tags: #binary-deployment #nodejs-http-server #process-management
Last analyzed: 2026-10-17 18:41:10.231548
Next check: 2026-10-24 18:41:10.231795
$ submit: