Automatically pick and run the fastest, most stable proxy config from a list of candidates.
Keep a local SOCKS5 proxy running that other apps on your network can point at.
Track how reliable each proxy config has been over time using saved history data.
Test a subscription URL full of configs without manually trying each one.
| hrostami/sni-balancer | alibaba/omnidoc-tokenbench | arccalc/dwmfix | |
|---|---|---|---|
| Stars | 43 | 43 | 43 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 3/5 | 2/5 |
| Audience | developer | researcher | general |
Figures from each repo's GitHub metadata at analysis time.
Requires an external SNI-spoofing binary (Rust or Go) which the tool can auto-download if missing.
SNI-Balancer is a Python tool that automatically picks the best proxy connection out of a list of candidates and keeps it running for you. It is built around Xray, a proxy engine, and works with VLESS and Trojan style server configs, which are common formats for setting up encrypted proxy connections. Instead of you manually testing servers and switching between them, this tool does that job continuously in the background. The way it works is straightforward. You give it a list of configs in a text file, either as direct links or as a subscription URL that returns many configs at once. The balancer then starts short-lived, isolated test instances of Xray for each config and measures three things: whether the server responds at all, how fast it actually downloads real data through the proxy, and how low its latency is. It combines these into a weighted score, favoring speed most heavily, then stability and latency, and keeps track of each config's performance history across runs. The single best-scoring config is then launched as a real, ongoing local SOCKS5 proxy that other apps on your network can connect to. The tool keeps re-testing on a set interval and will only switch to a different config if the improvement clears a minimum threshold, so it will not swap back and forth over tiny differences. Configs that repeatedly fail get skipped more and more over time rather than retried constantly. The project also manages the underlying Xray binary and an SNI-spoofing helper program for you, downloading and updating them automatically if they are missing, and it can display a live dashboard of current status while running. It works on Linux, Windows, and macOS, requires Python 3.9 or newer plus curl, and is run from the command line with options to change the test interval, listening port, or test size. The README describes it as intended for educational and research purposes and asks users to follow local laws.
A Python tool that continuously tests a list of proxy server configs for speed and reliability, then automatically runs the best one as a local SOCKS5 proxy.
Mainly Python. The stack also includes Python, Xray, SOCKS5.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.