p4gefau1t

    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/

    8.4K stars
    1.8K forks
    125 GitHub watchers
    Updated Nov 7, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 17 contributors on GitHub.

    Use Cases & Benefits

    • Implements a Trojan proxy in Go supporting multiplexing, routing, CDN relay, and Shadowsocks obfuscation without external dependencies.
    • Offers high concurrency and low latency through multiplexing and flexible routing with full cross-platform support and easy deployment.
    • Use for bypassing internet censorship and GFW with an unidentifiable TLS-based proxy mechanism.
    • Use for deploying transparent proxy solutions on routers or servers with TCP/UDP support and custom routing rules.
    • Use for integrating Trojan protocol traffic over WebSocket with CDN relay and AEAD secondary encryption for enhanced privacy.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    GPL 3.0

    Copyleft: distributing software that includes it generally requires releasing your source under the same license.

    Community files

    • README: present

    Watch-outs

    • GPL-style copyleft: including it in distributed software generally requires releasing your source under the same license.
    • Warning: No commits in over a year (last push Jul 2024).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    使用 Go 实现的完整 Trojan 代理,兼容原版 Trojan 协议及配置文件格式。安全、高效、轻巧、易用。

    Trojan-Go 支持多路复用提升并发性能;使用路由模块实现国内外分流;支持 CDN 流量中转(基于 WebSocket over TLS);支持使用 AEAD 对 Trojan 流量进行二次加密(基于 Shadowsocks AEAD);支持可插拔的传输层插件,允许替换 TLS,使用其他加密隧道传输 Trojan 协议流量。

    预编译二进制可执行文件可在 Release 页面下载。解压后即可直接运行,无其他组件依赖。

    如遇到配置和使用问题、发现 bug,或是有更好的想法,欢迎加入 Telegram 交流反馈群。

    完整介绍和配置教程,参见 Trojan-Go 文档。

    Excerpt from the p4gefau1t/trojan-go README on GitHub (GPL-3.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.8K-12

    Open issues

    153+0

    Compared with peers in Networking

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    p4gefau1t/trojan-go compared with Networking repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    MHSanaei/3x-ui49.6K+44852137 days ago
    GyulyVGC/sniffnet42.3K+42275111 days ago
    tailscale/tailscale38.9K+31175today
    netbirdio/netbird30.9K+26775today
    fosrl/pangolin23.6K+218756 days ago
    p4gefau1t/trojan-go8.4K—15—
    Category median38.9K+31175—

    Discover Repositories

    Search across tracked repositories by name or description