polaris-arch/Polaris
About
基于 sing-box 内核以及Tauri框架的现代网络代理工具,专注于简化代理控制与连接管理。
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -2
- 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.en.md
OriginalPolaris
Polaris is a cross-platform proxy client powered by sing-box-polaris. Manage nodes and subscriptions, route traffic by rule, and inspect connections, egress, and live traffic.
Releases and downloads · Build for desktop or Android · Sign your own iOS / iPadOS build · Troubleshooting
Get Polaris
Download installers from GitHub Releases when available. Use the assets listed for the chosen release, or follow the build guide if the package you need is not available.
| Platform | How to get it |
|---|---|
| macOS | DMG for Apple Silicon or Intel |
| Windows | x64 installer or portable package |
| Linux | amd64 DEB or AppImage |
| Android | ARM64, ARMv7, or universal APK (both ARM architectures, no x86) |
| iOS / iPadOS | Build and sign from source; no public IPA |
Interface preview
Desktop

More desktop screens

Mobile
Android portrait
iPhone Duo unfolded layout (simulated)

Screenshots use the Polaris frontend with sample data. The Duo preview uses simulated window geometry and omits iOS system controls.
Features
- Capture and routing: TUN, desktop system proxy and local ports, smart/global/direct modes, and custom rules.
- Nodes and private networks: Manage subscriptions, self-hosted nodes, and private-network connections; measure node latency.
- Connection diagnostics: Inspect topology, rule hits, and live logs; check availability of streaming and AI services on demand.
- DNS and configuration: FakeIP, DoH / DoT, and configuration backup and restore.
Full capabilities and protocols
| Area | Capabilities |
|---|---|
| Traffic capture | TUN · System proxy / Local port (desktop) |
| Routing | Smart / Global / Direct · Custom rules · Per-app routing · Region routing (Smart mode, incl. back-to-China) |
| Proxy protocols | VLESS · VMess · Trojan · Hysteria 2 / 1 · TUIC · Shadowsocks · AnyTLS · Naive · Snell · SOCKS · HTTP · SSH · Tor1 |
| Mesh connections2 | WireGuard · Tailscale · WARP (WireGuard) · OpenConnect · OpenVPN · MASQUE3 |
| DNS | FakeIP · DoH / DoT · Node-domain resolver racing |
| Network controls | IPv6 toggle · Browser DoH blocking · WebRTC policy (TUN only) |
| Diagnostics | Connection topology · Live logs · Node speed tests with progress · Rule-hit display · Streaming and AI unlock detection |
| Operations | Subscription management · Config backup and restore with confirmation · Privacy lock · Desktop tray residency |
| App updates | Stable / Testing channels · Re-download the current version · Installer digest verification and missing-digest warnings |
| Desktop memory optimization | With automatic lightweight mode enabled, releases the main WebView after the main window stays hidden or minimized for 10 minutes; stats, connections, and logs subscribe on demand |
- Tor requires an available Tor executable and the necessary runtime conditions on the platform.
- OpenConnect, OpenVPN, and MASQUE are added through Mesh. Internal-network routing also depends on configured internal subnets (meshRoutes); the entry category alone does not establish that routing capability.
- MASQUE uses sing-box’s own implementation and does not support Cloudflare’s official MASQUE access, including WARP over MASQUE. This limitation applies specifically to that access method.
Install
Verify the download against SHA256SUMS if provided. On Windows, install the official Microsoft WebView2 Runtime if it is missing.
First install on macOS
macOS may report that the app is "damaged" or that the developer cannot be verified. Unsigned or unnotarized builds may be blocked, but these warnings do not establish safety; damage or malicious changes are also possible.
Before installing, confirm that the DMG came from the project's official Release and matches the intended platform and version. Check the publisher's checksum if provided; a match does not prove the absence of malware. For your own build, verify the source and build process first. Stop if provenance or integrity is uncertain, or a checksum differs. Do not bypass the warning.
After verification, drag Polaris into the Applications folder on the right, then try opening it normally.
If only developer verification blocks it and you trust the verified build, use macOS System Settings → Privacy & Security → Open Anyway if available. Read and confirm the system prompts. The interface may vary by macOS version.
If macOS reports damage or malware, or opening still fails, stop. Obtain and verify a fresh copy from the official source or ask the project maintainers for help. Do not clear quarantine attributes or disable system security protections to force it open. Verify the file again after each manual replacement.
README First.txt · Apple Support
First install on Windows
When SmartScreen appears, choose More info → Run anyway.
Build
See desktop and Android builds, iOS / iPadOS builds, and the mobile core and toolchain for dependencies and packaging. Self-signing for iOS requires an Apple Developer Program account with Network Extension capability and matching signing profiles; a free Personal Team does not suffice.
Architecture
ui/ React + Zustand + Vite + Tailwind
src-tauri/ Tauri 2 main process
crates/ domain crates (config-engine / core-supervisor / helper / updater / …)
resources/ sing-box core + libcronet (fetched at build time, not committed)
On desktop (Windows / macOS / Linux), the core runs as a sidecar child process and is managed over a gRPC control plane. Privileged work — starting the core for TUN and system takeover — is delegated to the Rust helpers on all three platforms; the System Proxy path, which needs no helper, is managed directly by the app-side system-integration crate, which also owns the rollback.
Android loads libbox into the application process and uses mobile VPN integration rather than the desktop sidecar/helper path described above.
Documentation
| File | Contents |
|---|---|
| docs/architecture.md | Current layering, runtime transactions, DNS / routing, privilege boundaries, and the criteria for splitting large files (Chinese only) |
| docs/build-and-package.en.md | Build, CI, packaging invariants, updater package-selection contract |
| docs/troubleshooting.en.md | MASQUE compatibility limits, unsigned-build notes, white screen / corrupted rendering / GPU crash triage |
Upstream
| Project | Role |
|---|---|
| sing-box-polaris (active fork) | Core fork used by Polaris; frozen source, version, and sing-box-polaris assets follow the selected build manifest |
| sing-box (original upstream) | Original upstream project and technical foundation; acknowledged here |
| Tauri 2 | Desktop runtime |
| cronet-go | libcronet for NaiveProxy |
| sing-box-dashboard | Built-in dashboard |
| meta-rules-dat | Rule sets and geo data (.srs) |
Each component remains under its author's copyright. Components integrated as subprocesses or binaries are listed in NOTICE; source-level dependencies linked into the artifacts (Tauri / React / several hundred Rust crates) are itemized in THIRD-PARTY-LICENSES.md.
Scope and Disclaimer
Polaris is a general-purpose network proxy client and diagnostic tool. It does not provide, sell, or operate proxy nodes, subscriptions, or network services. Use it only where you comply with the laws and regulations of your jurisdiction, applicable terms of service, and the policies of the network you are on, and where you hold the necessary authorization. It must not be used for unauthorized access, for infringing on others' rights, or for any other unlawful abuse. Users are responsible for assessing the trustworthiness of their configurations, nodes, and third-party resources, and for their own conduct and its consequences.
This software is provided "as is", with no promise of network availability, anonymity, security, access to any particular service, or data integrity. TUN, system proxy, DNS, and routing changes may temporarily disrupt network connectivity; back up your configuration before any important operation. Except where mandated by applicable law, the maintainers and contributors are not liable for any direct or indirect loss arising from the use of, or inability to use, this software. This notice is not legal or other professional advice.
License
Polaris's own source is MIT (see LICENSE). The terms a built artifact ships under differ by platform:
- Desktop (Windows / macOS / Linux): MIT. sing-box (GPLv3) is integrated as a sidecar child process, which under the mere-aggregation position leaves this project's license unaffected. That position is untested in court — see
NOTICE. - Android: GPLv3 as a whole. There, sing-box can only run as libbox loaded into the application process (the tun descriptor is reachable only through an in-process interface), so mere aggregation does not apply; the Kotlin layer is additionally ported from the GPLv3 sing-box-for-android. Taking the APK gives you GPLv3; taking this repository's MIT source files alone still gives you MIT.
Third-party components and the full reasoning are in NOTICE.
Star History
Explore related projects
Loading…