XTLS/Xray-core

▲ 27 stars today★ 42,938⑂ 6,152

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

About XTLS/Xray-core

XTLS/Xray-core is an open-source project on GitHub, mainly written in Go. Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses. It currently holds 42,938 stars and 6,152 forks with 90 open issues, and was last pushed on 2026-11-16 (repository created 2020-11-09).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #87 with 27 new stars today.

GitHub Repository Details

Repository XTLS/Xray-core · default branch main · size 32778 KB · watchers 421 · source: GitHub REST API and repository README

README

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.

Sponsors

Remnawave

Happ

BlancVPN

Sponsor Xray-core

Donation & NFTs

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

https://github.com/XTLS/Xray-core/blob/HEAD/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

Bundled Third-Party Components Redistribution

Certain optional features dynamically load third-party components. These optional components are separate works distributed under their own licenses, and are bundled into the ZIP package for ease of use. Users may replace these components under the licenses from these components.

These components include:

Wintun

This distribution contains unmodified official precompiled and pre-signed Wintun binaries.

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

For Windows (x86-64 and AArch64, not win7):

GOOS=windows GOARCH=amd64 GOAMD64=v2 CGO_ENABLED=0 go build -o xray.exe -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
GOOS=windows GOARCH=arm64 GOARM64=v8.2 CGO_ENABLED=0 go build -o xray.exe -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main

For macOS:

GOOS=darwin GOARCH=amd64 GOAMD64=v2 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
GOOS=darwin GOARCH=arm64 GOARM64=v8.4 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

For Android:

GOOS=android GOARCH=arm64 CGO_ENABLED=1 CC=/path/to/aarch64-linux-android24-clang go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid= -checklinkname=0 -extldflags=-Wl,--pack-dyn-relocs=android" -v ./main
GOOS=android GOARCH=amd64 CGO_ENABLED=1 CC=/path/to/x86_64-linux-android24-clang go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid= -checklinkname=0 -extldflags=-Wl,--pack-dyn-relocs=android" -v ./main

For Linux (MIPS32 and MIPS32LE):

GOOS=linux GOARCH=mips GOMIPS=hardfloat CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
GOOS=linux GOARCH=mips GOMIPS=softfloat CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
GOOS=linux GOARCH=mipsle GOMIPS=hardfloat CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
GOOS=linux GOARCH=mipsle GOMIPS=softfloat CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main

Stargazers over time

Stargazers over time

GitHub Stars & Activity

42,938Stars
6,152Forks
90Open issues
GoLanguage

GitHub Popularity

GitHub stars42,938
Forks6,152
Open issues90
Primary languageGo
LicenseMPL-2.0
Stars gained today27
Created2020-11-09
Last pushed2026-11-16

Trending History

Daily boardrank #87 · ▲ 27 stars

Related GitHub Projects

1

alibaba / open-code-review

Go★ 52,588⑂ 4,224▲ 691 stars
→
2

google / ax

Go★ 14,731⑂ 794▲ 31 stars
→
3

getlago / lago

Go★ 10,886⑂ 797▲ 25 stars
→
4

tailscale / tailcat

Go★ 9,968⑂ 461▲ 238 stars
→
5

Tencent / LoopForge

Go★ 2,110⑂ 331▲ 423 stars
→
6

HuskerMinion / techo5

Go★ 709⑂ 119▲ 22 stars
→
7

jackfrued / Python-100-Days

Jupyter Notebook★ 187,858⑂ 55,713▲ 23 stars
→
8

microsoft / generative-ai-for-beginners

Jupyter Notebook★ 123,650⑂ 66,506▲ 99 stars
→

More Trending Repositories