MCPcopy Index your code
hub / github.com/ClashDotNetFramework/experimental-clash

github.com/ClashDotNetFramework/experimental-clash @v1.7.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.7.6 ↗ · + Follow
1,632 symbols 5,089 edges 237 files 329 documented · 20%

Browse by type

Functions 1,333 Types & classes 299
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Experimental-Clash Experimental-Clash

A rule-based tunnel in Go with experimental features.

Github Actions

Features

  • Local HTTP/HTTPS/SOCKS server with authentication support
  • VMess, Shadowsocks, Trojan, Snell protocol support for remote connections
  • Built-in DNS server that aims to minimize DNS pollution attack impact, supports DoH/DoT upstream and fake IP.
  • Rules based off domains, GEOIP, IP CIDR or ports to forward packets to different nodes
  • Remote groups allow users to implement powerful rules. Supports automatic fallback, load balancing or auto select node based off latency
  • Remote providers, allowing users to get node lists remotely instead of hardcoding in config
  • Netfilter TCP redirecting. Deploy Clash on your Internet gateway with iptables.
  • Comprehensive HTTP RESTful API controller
  • Rule Provider

Getting Started

Documentations are now moved to GitHub Wiki.

Development

If you want to build an application that uses clash as a library, check out the the GitHub Wiki

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status

TODO

  • [x] Complementing the necessary rule operators
  • [x] Redir proxy
  • [x] UDP support
  • [x] Connection manager

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 707
Function 626
Struct 239
Interface 27
TypeAlias 18
FuncType 15

Languages

Go100%

Modules by API surface

constant/adapters.go33 symbols
rule/provider/provider.go30 symbols
adapter/provider/provider.go27 symbols
constant/provider/interface.go25 symbols
transport/vmess/websocket.go24 symbols
config/config.go24 symbols
dns/resolver.go23 symbols
component/fakeip/pool.go21 symbols
adapter/outbound/reject.go21 symbols
adapter/outbound/base.go21 symbols
tunnel/tunnel.go20 symbols
transport/ssr/protocol/auth_aes128_sha1.go19 symbols

For agents

$ claude mcp add experimental-clash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page