|
преди 1 ден | |
---|---|---|
.github | преди 1 месец | |
app | преди 5 дни | |
common | преди 5 дни | |
core | преди 5 дни | |
features | преди 1 ден | |
infra | преди 5 дни | |
main | преди 2 седмици | |
proxy | преди 5 дни | |
testing | преди 1 месец | |
transport | преди 5 дни | |
.gitignore | преди 2 месеца | |
CODE_OF_CONDUCT.md | преди 4 години | |
LICENSE | преди 4 години | |
README.md | преди 5 дни | |
go.mod | преди 5 дни | |
go.sum | преди 5 дни |
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.
0xDc3Fe44F0f25D13CACb1C4896CD0D321df3146Ee
Mozilla Public License Version 2.0
Project VLESS (Русский)
Project XHTTP (Persian)
systemd
and OpenRC; Linux-only)brew install xray
$env:CGO_ENABLED=0
go build -o xray.exe -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main
CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main
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