yaog6700-bit/Swell-Proxy
About
Windows WinUI3
Systems & InfrastructureWhat you can do
- Dual-Core Driver - Ships with the official sing-box core and supports one-click switching to the experimental lightweight Shoes (Rust) engine, with automatic fallback to sing-box for specialized transports
- Sub-5ms Zero-Drop Switching - Uses pre-warmed selector groups and urltest health probes to switch active outbounds in <5ms without restarting the core or dropping active TCP/QUIC streams; also supports raw sing-box JSON configurations
- Broad Transport Support - Supports standard outbound protocols including VLESS (TLS / Reality / Vision), VMess, Shadowsocks (including SS-2022), Trojan, Hysteria 2, TUIC, WireGuard, SOCKS5, HTTP, NaiveProxy, AnyTLS, and Snell
- Flexible Inbound Modes - Supports System Proxy, Layer-3 TUN virtual adapter (with automatic physical NIC binding and enterprise intranet NRPT split-DNS), dual-stack TUN + System Proxy, and local port-only mode—with proxy tamper detection and silent scheduled startup
Measured star growth
- in 24h
- -1
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalOverview
Swell Proxy is a native WinUI 3 desktop client for Windows built around sing-box. Designed for software developers, network engineers, and multi-environment workflows, it provides a lightweight Fluent 2 interface for outbound proxy management, policy-based split-tunneling, real-time socket observability, endpoint connectivity diagnostics, private mesh networking, and JavaScript lifecycle automation.
Key Capabilities
| Capability | Description |
|---|---|
| Dual-Core Driver | Ships with the official sing-box core and supports one-click switching to the experimental lightweight Shoes (Rust) engine, with automatic fallback to sing-box for specialized transports |
| Sub-5ms Zero-Drop Switching | Uses pre-warmed selector groups and urltest health probes to switch active outbounds in <5ms without restarting the core or dropping active TCP/QUIC streams; also supports raw sing-box JSON configurations |
| Broad Transport Support | Supports standard outbound protocols including VLESS (TLS / Reality / Vision), VMess, Shadowsocks (including SS-2022), Trojan, Hysteria 2, TUIC, WireGuard, SOCKS5, HTTP, NaiveProxy, AnyTLS, and Snell |
| Flexible Inbound Modes | Supports System Proxy, Layer-3 TUN virtual adapter (with automatic physical NIC binding and enterprise intranet NRPT split-DNS), dual-stack TUN + System Proxy, and local port-only mode—with proxy tamper detection and silent scheduled startup |
| Policy Routing & Hit Simulator | Offers Rule-based split routing, Global outbound, and Direct modes, complete with an interactive Route Hit Simulator, one-click per-process routing, and binary .srs rule-set filtering |
| Profile & Feed Management | Supports subscription URLs, single/batch URI import, end-to-end HTTP 204 latency benchmarking, and drag-and-drop ordering across Base64, sing-box JSON, and Clash / Mihomo YAML formats |
| Fluent 2 Tray & Live Telemetry | Includes a left-click Fluent 2 system tray quick panel, per-application bandwidth leaderboard, active socket table, Sankey flow topology, 30-day traffic charts, annual vector heatmap, and live core logs |
| Endpoint Diagnostics | Built-in reachability and exit-network ASN/ISP inspection for developer APIs and cloud endpoints (OpenAI, Anthropic, Google Cloud/Gemini) |
| Tailscale Endpoint | Integrates sing-box directly as a Tailscale or self-hosted Headscale mesh node without requiring a separate background client |
| JavaScript Plugin Runtime | Visual configuration for lightweight JavaScript extensions hooking into startup, feed sync, pre/post-core launch, and manual execution events |
| Low Resource Footprint | Native trimmed compilation paired with Windows EcoQoS background memory reclamation reduces idle system tray memory usage to approximately 5–10 MB |
Interface Preview

Download & Installation
Download the latest portable archive from the Releases page:
| Architecture | Target Devices | Package |
|---|---|---|
| x64 | Mainstream Intel / AMD Windows PCs | Swell-win-x64.zip |
| ARM64 | Snapdragon X / Copilot+ ARM64 Windows PCs | Swell-win-arm64.zip |
Setup Steps
- Download the archive matching your system architecture.
- Extract it to any writable directory (for example,
D:\Apps\SwellProxy). - Launch
Swell Proxy.exe. - If using the Layer-3 TUN virtual adapter, run as Administrator when prompted so Windows can provision the network interface and routing entries.
System Requirements: Windows 10 version 1809 (Build 17763) or later; Windows 11 recommended.
Runtime Prerequisites
Swell Proxy is a portable standalone build that relies on two standard Microsoft runtimes. If the application fails to open on a clean or stripped Windows installation, verify that both components are installed:
| Component | Notes | Download |
|---|---|---|
| Microsoft Visual C++ Redistributable | Required by the WinUI 3 native runtime; pre-installed on most systems | vc_redist.x64.exe |
| Microsoft Edge WebView2 Runtime | Built into Windows 11 22H2+; may require manual installation on Windows 10 or Windows 11 21H2 | WebView2 Evergreen Installer |
Quick Start
- Open the Servers tab and import a profile feed URL, URI share link, or custom
sing-boxJSON configuration. - Run a latency check and select an active outbound endpoint.
- Choose your preferred inbound mode (System Proxy, TUN, Local Only, or TUN + System Proxy).
- Select a routing strategy (Rule, Global, or Direct).
- Inspect real-time socket behavior and bandwidth metrics under Connections, Traffic, and Logs.
JavaScript Plugin System
Swell Proxy includes an embedded JavaScript plugin runtime suited for automated profile organization, endpoint health checks, configuration pre-processing, and custom notifications.
Supported lifecycle hooks:
| Hook | Trigger Timing |
|---|---|
OnStartup |
Fired after the client finishes initialization |
OnShutdown |
Fired before the application exits |
OnBeforeCoreStart |
Fired prior to launching sing-box; can inspect or mutate the generated JSON config |
OnCoreStarted |
Fired once the core engine is up and listening |
OnBeforeCoreStop |
Fired before stopping or restarting the core |
OnCoreStopped |
Fired after the core process terminates |
OnSubscribe |
Fired after parsing a profile feed; can filter, rename, or sort endpoints |
OnManual |
Fired when invoked manually from the Plugins tab |
Sample scripts are located in Assets/plugins/. Refer to the Plugin Guide for API details.
Local Data Layout
User configuration and runtime state are stored locally under:
%LOCALAPPDATA%\SwellProxy\
├─ nodes_config.json # Endpoints, subscription feeds, and profile metadata
├─ local_settings.json # UI preferences, theme, and window placement
├─ singbox_config.json # Generated runtime configuration for sing-box
├─ *.srs # Compiled binary routing and ad-filtering rule-sets
└─ Updates\ # Temporary staging folder cleaned automatically on launch
Troubleshooting & FAQ
The executable does nothing or exits immediately on launch.
- Install the Visual C++ Redistributable (x64).
- Install the Microsoft Edge WebView2 Runtime.
- Reboot Windows and launch
Swell Proxy.exeagain. - If the issue persists, check Event Viewer (
eventvwr.msc→Windows Logs→Application) and open an Issue with the crash details.
TUN mode fails to start.
Ensure the application has Administrator privileges and verify that third-party firewall or endpoint security software is not blocking the WinTun virtual adapter driver.
System Proxy is enabled, but browser traffic does not pass through the client.
Restart the browser or check Settings to confirm that the local mixed port is not occupied by another local service, and ensure no browser proxy extension is overriding system settings.
Are Clash / Mihomo YAML configurations supported?
Yes. The parser imports endpoints from the proxies list in Clash / Clash Meta (mihomo) YAML files. Top-level proxy-groups, rules, rule-providers, and dns sections are ignored in favor of Swell Proxy's native routing policy engine. Legacy plugin-wrapped Shadowsocks (obfs / v2ray-plugin / restls), SSR, Hysteria v1, Mieru, SSH, token-only TUIC v4, TLS-wrapped SOCKS5, and proxy-providers-only files are skipped. Hysteria 2 port-hopping ranges are normalized to a single port.
Compliance & Intended Use
Swell Proxy is an open-source, general-purpose graphical user interface for local network routing, debugging, and protocol testing. It does not bundle, host, or sell any remote servers, subscriptions, or network transit services. Users are solely responsible for ensuring that their configurations and usage comply with all applicable local laws, workplace policies, and service terms.
Acknowledgments
- SagerNet/sing-box — Universal proxy platform
- microsoft/microsoft-ui-xaml — WinUI 3 native UI framework
- CommunityToolkit/Windows — Windows Community Toolkit
- SagerNet/sing-geosite & SagerNet/sing-geoip — Rule-set compilation formats
- PhoenixNil/XrayUI-dev, dododook/FlowZ, & NodePassProject/Anywhere — UI and architectural inspiration
License
Please refer to the license file in this repository for licensing terms.
Explore related projects
Loading…