back to home

Watfaq / clash-rs

custom protocol network proxy

View on GitHub
1,594 stars
138 forks
46 issues
RustPythonShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Watfaq/clash-rs in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/Watfaq/clash-rs)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

ClashRS A custom protocol, rule based network proxy software. ✨ Features • 🌈 Flexible traffic routing rules based off source/destination IP/Domain/GeoIP etc. • 📦 Local anti spoofing DNS with support of UDP/TCP/DoH/DoT remote, and expose it as a local UDP/TCP/DoH/DoT server. • 🛡 Run as an HTTP/Socks5 proxy, or utun device as a home network gateway. • ⚙️ Hysteria2/Shadowquic/Shadowsocks/Socks5(TCP/UDP)/SSH/tor(onion)/Trojan/Tuic/VLess/Vmess/Wireguard(userspace) outbound support with different underlying transports(gRPC/TLS/H2/WebSocket/etc.). • 🌍 Dynamic remote rule/proxy loader. • 🎵 Tracing with Jaeger 🖥 Environment Support • Linux • macOS • Windows • You need to copy the wintun.dll file which matches your architecture to the same directory as your executable and run you program as administrator. • iOS • - TestFlight Access: TestFlight 💰 Sponsors • Fast Access Cloud 📦 Install Use With GUI https://github.com/LibNyanpasu/clash-nyanpasu Download Prebuilt Binary Can be found at https://github.com/Watfaq/clash-rs/releases Docker Image https://github.com/Watfaq/clash-rs/pkgs/container/clash-rs Local Build Dependencies • cmake (3.29 or newer) • libclang(LLVM) • nasm (Windows) • protoc(for geodata proto generation) • pre-commit • pre-commit for managing git hooks 🔨 Usage Example Config sample.yaml: Run Help FFI Compile for apple platforms To create a framework for iOS and macOS platforms This command will generate a file in the directory. 🔗 Links • Documentation • Config Reference • Roadmap 🤝 Contributing • CONTRIBUTING.md • Telegram User Group ❤️ Inspired By • Dreamacro/clash • eycorsican/leaf