0
0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-08-30 10:25:31 +00:00
Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.
Go to file
2025-08-28 10:41:10 +00:00
.github Issues template: Refine requirements 2025-08-19 09:27:25 +00:00
app Test_parseResponse(t *testing.T): Use dns.google for IPv6 (#5060) 2025-08-27 09:37:13 +00:00
common VLESS protocol: Add lightweight, Post-Quantum ML-KEM-768-based PFS 1-RTT / anti-replay 0-RTT AEAD Encryption (#5067) 2025-08-28 10:40:48 +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 protocol: Add lightweight, Post-Quantum ML-KEM-768-based PFS 1-RTT / anti-replay 0-RTT AEAD Encryption (#5067) 2025-08-28 10:40:48 +00:00
main VLESS protocol: Add lightweight, Post-Quantum ML-KEM-768-based PFS 1-RTT / anti-replay 0-RTT AEAD Encryption (#5067) 2025-08-28 10:40:48 +00:00
proxy VLESS protocol: Add lightweight, Post-Quantum ML-KEM-768-based PFS 1-RTT / anti-replay 0-RTT AEAD Encryption (#5067) 2025-08-28 10:40:48 +00:00
testing Some refines related to direct/freedom and targetStrategy; More intelligent "useIP"/"ForceIP", enhance "origin" functionality (#5030) 2025-08-20 01:19:13 +03:30
transport Some refines related to direct/freedom and targetStrategy; More intelligent "useIP"/"ForceIP", enhance "origin" functionality (#5030) 2025-08-20 01:19:13 +03:30
.gitignore Chore: Optimize .gitignore (#5029) 2025-08-19 13:58:06 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#941) (#749) 2021-10-22 12:38:40 +08:00
go.mod Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#5061) 2025-08-25 12:37:44 +00:00
go.sum Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#5061) 2025-08-25 12:37:44 +00:00
LICENSE v1.0.0 2020-11-25 19:01:53 +08:00
README.md README.md: Update Donation & NFTs 2025-08-28 10:41:10 +00:00

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