A rule-based tunnel in Go.
Go to file
Dreamacro e4cd3e5306 Chore: remove darwin code on test because orbstack can run it 2023-08-27 00:35:45 +08:00
.github Chore: added a new test CI to run unit test and build test for Pull Requests (#2883) 2023-08-16 22:29:36 +08:00
adapter Feature: add basic support for the VLESS protocol (#2891) 2023-08-24 13:24:45 +08:00
common Fix: vmess http method may empty 2023-08-03 22:51:26 +08:00
component Migration: go1.21 2023-08-13 21:44:16 +08:00
config Fix: typo (#2859) 2023-08-04 21:27:48 +08:00
constant Feature: add basic support for the VLESS protocol (#2891) 2023-08-24 13:24:45 +08:00
context Chore: update uuid to v5 2023-03-14 21:18:09 +08:00
dns Fix: DNS NCACHE TTL and OPT RRs (#2900) 2023-08-24 23:28:04 +08:00
docs Fix: vitepress build 2023-08-17 23:03:58 +08:00
hub Fix: typo (#2859) 2023-08-04 21:27:48 +08:00
listener Chore: unify log text in listener (#2884) 2023-08-18 13:39:26 +08:00
log Refactor(constant): added rule string enums in configs as RuleConfig for better outside integrations (#2878) 2023-08-16 11:06:30 +08:00
rule Chore: added a new test CI to run unit test and build test for Pull Requests (#2883) 2023-08-16 22:29:36 +08:00
test Chore: remove darwin code on test because orbstack can run it 2023-08-27 00:35:45 +08:00
transport Feature: add basic support for the VLESS protocol (#2891) 2023-08-24 13:24:45 +08:00
tunnel Refactor(constant): added rule string enums in configs as RuleConfig for better outside integrations (#2878) 2023-08-16 11:06:30 +08:00
.gitignore Docs: new documentation site (#2723) 2023-05-15 21:47:01 +08:00
.golangci.yaml Refactor(constant): added rule string enums in configs as RuleConfig for better outside integrations (#2878) 2023-08-16 11:06:30 +08:00
Dockerfile Refactor: improve Dockerfile (#2246) 2022-09-21 21:09:11 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
Makefile Chore: added a new test CI to run unit test and build test for Pull Requests (#2883) 2023-08-16 22:29:36 +08:00
README.md Docs: fix logo url and update README (#2747) 2023-05-17 21:07:23 +08:00
go.mod Chore: update dependencies 2023-08-17 22:44:34 +08:00
go.sum Chore: update dependencies 2023-08-17 22:44:34 +08:00
main.go Migration: go 1.18 2022-03-16 12:10:13 +08:00

README.md

Clash
Clash

A rule-based tunnel in Go.

Github Actions

Features

This is a general overview of the features that comes with Clash.

  • Inbound: HTTP, HTTPS, SOCKS5 server, TUN device
  • Outbound: Shadowsocks(R), VMess, Trojan, Snell, SOCKS5, HTTP(S), Wireguard
  • Rule-based Routing: dynamic scripting, domain, IP addresses, process name and more
  • Fake-IP DNS: minimises impact on DNS pollution and improves network performance
  • Transparent Proxy: Redirect TCP and TProxy TCP/UDP with automatic route table/rule management
  • Proxy Groups: automatic fallback, load balancing or latency testing
  • Remote Providers: load remote proxy lists dynamically
  • RESTful API: update configuration in-place via a comprehensive API

Some of the features may only be available in the Premium core.

Documentation

You can find the latest documentation at https://dreamacro.github.io/clash/.

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status