XTLS

    XTLS/Xray-core

    #174 this week

    Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.

    networking
    cryptography
    anticensorship
    dns
    network
    proxy
    reality
    Go
    MPL-2.0
    38.1K stars
    5.3K forks
    38.1K GitHub watchers
    Updated 6/25/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • Provides an open platform for advanced network proxying and anti-censorship using protocols like VLESS, XTLS, and REALITY.
    • Delivers enhanced security and flexibility with support for multiple tunneling protocols and post-quantum encryption features.
    • Use for building secure, censorship-resistant VPN and proxy services to bypass network restrictions.
    • Use for integrating advanced TLS and UDP tunneling protocols in custom network applications requiring obfuscation.
    • Use for deploying cross-platform proxy solutions with extensive client support on Windows, Linux, macOS, Android, and iOS.

    About Xray-core

    Project X

    Project X originates from XTLS protocol, providing a set of network tools such as Xray-core and REALITY.

    README is open, so feel free to submit your project here.

    Donation & NFTs

    Collect a Project X NFT to support the development of Project X!

    Project X NFT

    License

    Mozilla Public License Version 2.0

    Documentation

    Project X Official Website

    Telegram

    Project X

    Project X Channel

    Project VLESS (Русский)

    Project XHTTP (Persian)

    Installation

    Usage

    GUI Clients

    Others that support VLESS, XTLS, REALITY, XUDP, PLUX...

    Contributing

    Code of Conduct

    Ask DeepWiki

    Credits

    One-line Compilation

    Windows (PowerShell)

    $env:CGO_ENABLED=0
    go build -o xray.exe -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main
    

    Linux / macOS

    CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main
    

    Reproducible Releases

    Make sure that you are using the same Go version, and remember to set the git commit id (7 bytes):

    CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
    

    If you are compiling a 32-bit MIPS/MIPSLE target, use this command instead:

    CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
    

    Stargazers over time

    Stargazers over time

    Discover Repositories

    Search across tracked repositories by name or description