# fossabot/clash

A rule based proxy in Go.

Repository: https://github.com/fossabot/clash
Canonical: https://ross.abutalabs.com/products/fossabot-clash
Language: Go
License: MIT
License Family: permissive
Last push: 2024-07-26T17:19:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2984, "days_push": 768, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2117, forks 6816 (observed 2026-08-28T04:06:16.280187+00:00)

## What it is
Clash is a rule-based network proxy written in Go that supports HTTP/HTTPS and SOCKS proxies with Surge-like configuration and GeoIP rule routing. It runs as a daemon with a RESTful API for control and supports proxy groups with automatic speed-based selection.

## Use cases
- route traffic through proxies based on domain and GeoIP rules
- run a local HTTP and SOCKS5 proxy server
- block ads by rejecting domains via proxy rules
- automatically pick the fastest proxy server with url-test groups
- bypass censorship by chaining shadowsocks proxies

## When to choose
- you want Surge-style rule-based proxying on Linux, macOS, or Windows
- you need GeoIP-based direct vs proxy routing
- you prefer a lightweight Go binary with a RESTful control API

## When to avoid
- you need a GUI client - Clash core is configuration-file driven
- you need protocols beyond what go-shadowsocks2 ciphers support
- you want a project with frequent updates - development activity is limited

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: proxy, networking, http-server, security
- domain: networking, privacy, security, censorship-circumvention
- platform: windows, go, cli, cross-platform
- tags: rule-based-proxy, socks-proxy, geoip-routing, shadowsocks, surge-compatible, command-line, linux, macos, docker

## Member repositories
- fossabot/clash (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.280187+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:53:13.483435+00:00, confidence not recorded.
  - readme: https://github.com/fossabot/clash (fetched 2026-08-28T04:06:16.280187+00:00, sha 3779ad55c016)
- Data as of 2026-08-30T08:39:29.467469+00:00.
