|
|
há 1 mês atrás | |
|---|---|---|
| .github | há 2 meses atrás | |
| app | há 1 mês atrás | |
| common | há 1 mês atrás | |
| core | há 1 mês atrás | |
| features | há 2 meses atrás | |
| infra | há 1 mês atrás | |
| main | há 3 meses atrás | |
| proxy | há 1 mês atrás | |
| testing | há 4 meses atrás | |
| transport | há 1 mês atrás | |
| .gitignore | há 5 meses atrás | |
| CODE_OF_CONDUCT.md | há 4 anos atrás | |
| LICENSE | há 5 anos atrás | |
| README.md | há 2 meses atrás | |
| go.mod | há 1 mês atrás | |
| go.sum | há 1 mês atrás |
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.
TNrDh5VSfwd4RPrwsohr6poyNTfFefNYanUQApeV-u2gm43aC1uP76xAC1m6vCylstaN1gpfBmre_5IyTH1JpqcziZZuqv3QQJhZGNGBVdCBrGgkL6cT4ABHQZ3yJZkBnLoqiKvb3f8eqUnX4iMPb6wdant5ZLGQELctcerceSGEfJnoCk6nnyRZm73wrwSgvZ2WmjYLng6R7sR67nq3x5NuXHzB5APG6vRinPZcsUv5ukWUY1tBGRSJiEJWtZa0xDc3Fe44F0f25D13CACb1C4896CD0D321df3146EeMozilla 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