gitmyhub

XPlex

Go ★ 60 updated 22d ago

Xray multiplexer for definite 0 packet loss

A Go tool that keeps your internet connection alive by sending traffic through several VPN-style tunnels at once, so if one path drops the others continue without any interruption to your application.

GoxraySOCKS5ChaCha20-Poly1305setup: hardcomplexity 3/5

XPlex is a tool that keeps your internet connection alive by routing your traffic through multiple VPN-style tunnels at the same time. Instead of relying on a single connection, it sends every piece of data across several parallel paths simultaneously. Whichever path delivers the data first wins; the duplicates are discarded. If one path goes down mid-session, the others keep flowing without your application ever noticing a drop.

The tool is built on top of xray, an existing proxy software used for tunneling internet traffic. XPlex sits in front of xray and manages a pool of xray connections, then exposes a single local SOCKS5 proxy port that any application can connect to. You point your browser, mining software, or trading app at that local port, and XPlex handles the multi-path routing transparently.

The trade-off is bandwidth: because every byte is duplicated across N tunnels, you consume roughly two to three times as much data as you would with a single connection. The README lists crypto mining, video calls, trading, and remote work as the target use cases, specifically situations where a dropped connection has a real cost. To reduce waste when connections are stable, XPlex has an adaptive controller that can downgrade slower tunnels to a receive-only mode, cutting duplication until conditions change.

All traffic between the XPlex client and server is encrypted with ChaCha20-Poly1305, a modern encryption scheme. This means xray tunnel operators cannot read or alter your data. Setting it up requires running an XPlex server on a VPS you control, placing your xray share links in a text file on the client side, and generating a shared secret key. Pre-built binaries are available for Linux, Windows, macOS, FreeBSD, and OpenBSD across a wide range of processor types. The license is MIT.

Where it fits