# p4gefau1t/trojan-go

Go实现的Trojan代理，支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件，多平台，无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/

Repository: https://github.com/p4gefau1t/trojan-go
Canonical: https://ross.abutalabs.com/products/trojan-go
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: gfw, trojan-gfw, anticensorship, proxy, golang, china, tunnel, privacy, transparent-proxy, network, go, trojan-go, tls
Last push: 2024-07-14T08:52:08+00:00

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

## Adoption (not part of the score)
Stars 8388, forks 1767 (observed 2026-08-28T04:10:20.813768+00:00)

## What it is
Trojan-Go is a full-featured Trojan proxy written in Go that disguises proxy traffic as normal TLS traffic to bypass censorship systems like the GFW. It supports multiplexing, WebSocket over TLS for CDN relay, Shadowsocks AEAD obfuscation plugins, transparent proxying, and routing rules, with no external dependencies.

## Use cases
- bypass the great firewall with a trojan proxy
- disguise proxy traffic as normal HTTPS TLS traffic
- relay proxy traffic through a CDN using websocket over TLS
- set up a transparent proxy for my whole network
- split domestic and international traffic with routing rules
- run a self-hosted proxy server with user traffic quotas
- evade TLS fingerprint-based censorship detection

## When to choose
- you need a censorship-resistant proxy compatible with the original Trojan protocol
- you want CDN traffic relay via WebSocket over TLS to hide from active probing
- you need a lightweight, dependency-free multi-platform proxy binary
- you want multiplexing and custom routing for lower latency and traffic splitting

## When to avoid
- you need a general-purpose VPN with full IP-layer tunneling rather than a proxy
- you require actively developed software with frequent updates and support
- you need a GUI-first client rather than a CLI core
- your threat model does not involve censorship and a simpler proxy like plain SOCKS suffices

## Facets
- artifact type: application
- maturity: maintenance
- function: proxy, networking, security, privacy, websocket
- domain: privacy, censorship-circumvention, networking, security, self-hosted
- platform: windows, cross-platform, self-hosted, go, cli
- tags: trojan-protocol, gfw-circumvention, tls, cdn-relay, transparent-proxy, socks5, multiplexing, shadowsocks-plugin, linux, macos, docker

## Member repositories
- p4gefau1t/trojan-go (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:20.813768+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-29T17:27:20.252964+00:00, confidence not recorded.
  - readme: https://github.com/p4gefau1t/trojan-go (fetched 2026-08-28T04:10:20.813768+00:00, sha 41efbf9d3a15)
- Data as of 2026-08-30T08:39:29.467469+00:00.
