Repolode
Fu021

Fu021/Clash-of-Rust

Cross-platform Clash proxy client written in Rust with a Slint native UI, running mihomo as its core on Windows, macOS, Linux and Android.

Open-source alternative to:Clash for WindowsClashX

Stars
122
Forks
7
Open issues
0
Last commit
7 hours ago

What is it?

Clash of Rust is a native proxy client built on mihomo, the Clash-compatible core. The interface is written with Rust and Slint and does not use a WebView, aiming for a lightweight desktop and Android app. Installers are provided for Windows x64 and ARM64, Debian/Ubuntu (amd64 and ARM64, Ubuntu 20.04+), macOS 14+ on Intel and Apple Silicon, and Android 8.0+ APKs for ARM64, ARMv7 and x86_64.

Beyond the GUI, a `cor` command-line tool runs the client without a window on Windows, Linux and macOS, which suits servers reached over SSH. The app bundles the mihomo kernel and Geo data, supports one-click Geo data updates, and includes a region-check tool that runs 183 probes covering exit IP, GitHub, AI services and streaming access. Other features include tray-based node switching, optional Fake-IP control under DNS override, and an in-app client updater with optional prerelease channels.

Key features

  • 01Native Rust and Slint interface without a WebView.
  • 02Command-line `cor` tool for running headless on Windows, Linux and macOS.
  • 03Bundled mihomo kernel and Geo data with one-click Geo updates.
  • 04183-item IP region check covering exit IP, GitHub, AI services and streaming.
  • 05Tray node switching, single-instance mode and start-at-login support.
  • 06Built-in client updater with stable and prerelease channels.

Use cases

  • Running a proxy client on a headless Linux server managed over SSH.
  • Using Clash-compatible subscriptions on Windows, macOS or Android from one codebase.
  • Checking which streaming or AI services are reachable from a given exit node.

Quick start

  1. 1

    Download the installer for your platform from GitHub Releases

  2. 2

    Install the .deb package on Debian/Ubuntu

    sudo apt install ./安装包文件名.deb
  3. 3

    Build from source: prepare resources

    python3 scripts/prepare-resources.py
  4. 4

    Build from source: compile the binaries

    cargo build -p clash-of-rust -p clash-desktop-ui -p clash-cli --bins --locked

Things to know

  • Supported platforms are Windows, Debian/Ubuntu 20.04+, macOS 14+ and Android 8.0+ only.
  • The main code is GPL-3.0-only, and the IP check module keeps AGPL-3.0-only terms.
  • Building from source needs native toolchains such as MSVC on Windows or Xcode Command Line Tools on macOS.

In collections

Topics

FAQ

What is Clash-of-Rust?
Cross-platform Clash proxy client written in Rust with a Slint native UI, running mihomo as its core on Windows, macOS, Linux and Android. Clash of Rust is a native proxy client built on mihomo, the Clash-compatible core. The interface is written with Rust and Slint and does not use a WebView, aiming for a lightweight desktop and Android app. Installers are provided for Windows x64 and ARM64, Debian/Ubuntu (amd64 and ARM64, Ubuntu 20.04+), macOS 14+ on Intel and Apple Silicon, and Android 8.0+ APKs for ARM64, ARMv7 and x86_64.
Is Clash-of-Rust free to use? What license does it have?
Clash-of-Rust is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
Is Clash-of-Rust still maintained?
Actively maintained. The last commit to Clash-of-Rust was on Nov 6, 2026.
What can I use Clash-of-Rust for?
Running a proxy client on a headless Linux server managed over SSH. Using Clash-compatible subscriptions on Windows, macOS or Android from one codebase. Checking which streaming or AI services are reachable from a given exit node.
How do I install Clash-of-Rust?
Download the installer for your platform from GitHub Releases Install the .deb package on Debian/Ubuntu: sudo apt install ./安装包文件名.deb Build from source: prepare resources: python3 scripts/prepare-resources.py Build from source: compile the binaries: cargo build -p clash-of-rust -p clash-desktop-ui -p clash-cli --bins --locked
Where can I get Clash-of-Rust?
The source code and installation instructions are on GitHub: https://github.com/Fu021/Clash-of-Rust

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects