Go to file
风扇滑翔翼 573300bc22
Issues template: Refine requirements
2025-08-19 09:27:25 +00:00
.github Issues template: Refine requirements 2025-08-19 09:27:25 +00:00
app VLESS practice: Use user-sent VLESS UUID's last byte as `vlessRoute` for `routing` `rules` 2025-08-17 13:55:18 +00:00
common VLESS practice: Use user-sent VLESS UUID's 7th<<8 | 8th bytes as `vlessRoute` instead 2025-08-18 08:50:43 +00:00
core v25.8.3 2025-08-03 11:09:00 +00:00
features VLESS practice: Use user-sent VLESS UUID's 7th<<8 | 8th bytes as `vlessRoute` instead 2025-08-18 08:50:43 +00:00
infra VLESS practice: Use user-sent VLESS UUID's last byte as `vlessRoute` for `routing` `rules` 2025-08-17 13:55:18 +00:00
main Direct/Freedom config: Add `targetStrategy` as an alias of `domainStrategy`; Routing config: Remove `domainMatcher`, "linear" and `type` (#5027) 2025-08-16 14:54:10 +00:00
proxy VLESS practice: Use user-sent VLESS UUID's 7th<<8 | 8th bytes as `vlessRoute` instead 2025-08-18 08:50:43 +00:00
testing Tests: Real fix for TestCommanderListHandlers (#4792) 2025-06-08 04:47:04 +00:00
transport Outbound: Add `targetStrategy`; Fix mux does not close `link.Reader`; Fix `origin` does not work on UDP; Add logs (#5006) 2025-08-15 20:51:36 +00:00
.gitignore Chore: Optimize .gitignore (#4564) 2025-03-29 13:46:26 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#941) (#749) 2021-10-22 12:38:40 +08:00
LICENSE v1.0.0 2020-11-25 19:01:53 +08:00
README.md Build: Use more aggressive inlining for higher efficiency (#5026) 2025-08-16 11:11:00 +00:00
go.mod Chore: Migrate to Go 1.25 (#5024) 2025-08-15 14:50:35 +00:00
go.sum Bump golang.org/x/net from 0.42.0 to 0.43.0 (#5002) 2025-08-08 00:37:51 +00:00

README.md

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