- Go 99.7%
- HTML 0.2%
|
Some checks failed
Build and Release / check-assets (push) Successful in 15s
Scheduled assets update / geodat (push) Successful in 11s
Scheduled assets update / wintun (push) Successful in 12s
Tests and Checkings / check-assets (push) Successful in 11s
Tests and Checkings / check-format (push) Successful in 39s
Build and Push Docker Image / build-and-push (release) Has been skipped
Build and Release / check-assets (release) Successful in 12s
Build and Release / build (mips64, linux) (release) Waiting to run
Build and Release / build (mips64le, linux) (release) Waiting to run
Build and Release / build (mipsle, linux) (release) Waiting to run
Build and Release / build (ppc64, linux) (release) Waiting to run
Build and Release / build (ppc64le, linux) (release) Waiting to run
Build and Release / build (riscv64, linux) (release) Waiting to run
Build and Release / build (s390x, linux) (release) Waiting to run
Tests and Checkings / check-proto (push) Successful in 6s
Build and Release / build (amd64, windows, win7-64, true) (release) Waiting to run
Build and Release / build (arm, 5, linux) (release) Waiting to run
Build and Release / build (arm, 6, linux) (release) Waiting to run
Build and Release / build (arm, 7, freebsd) (release) Waiting to run
Build and Release / build (arm, 7, linux) (release) Waiting to run
Build and Release / build (arm, 7, openbsd) (release) Waiting to run
Build and Release / build (arm64, android) (release) Waiting to run
Build and Release / build (arm64, darwin) (release) Waiting to run
Build and Release / build (arm64, freebsd) (release) Waiting to run
Build and Release / build (arm64, linux) (release) Waiting to run
Build and Release / build (arm64, openbsd) (release) Waiting to run
Build and Release / build (arm64, windows) (release) Waiting to run
Build and Release / build (loong64, linux) (release) Waiting to run
Build and Release / build (mips, linux) (release) Waiting to run
Build and Release / build (386, freebsd, ) (push) Successful in 6m41s
Build and Release / build (386, linux, ) (push) Successful in 6m15s
Build and Release / build (386, openbsd, ) (push) Successful in 6m16s
Build and Release / build (386, windows, ) (push) Successful in 6m21s
Build and Release / build (386, windows, win7-32, true) (push) Successful in 12m5s
Build and Release / build (amd64, android, android-amd64) (push) Successful in 10m3s
Build and Release / build (amd64, darwin, ) (push) Successful in 7m18s
Build and Release / build (amd64, freebsd, ) (push) Successful in 6m2s
Build and Release / build (amd64, linux, ) (push) Successful in 7m16s
Build and Release / build (amd64, openbsd, ) (push) Successful in 6m21s
Build and Release / build (amd64, windows, ) (push) Successful in 6m20s
Build and Release / build (amd64, windows, win7-64, true) (push) Successful in 6m58s
Build and Release / build (arm, 5, linux) (push) Successful in 7m35s
Build and Release / build (arm, 6, linux) (push) Successful in 7m15s
Build and Release / build (arm, 7, freebsd) (push) Successful in 6m43s
Build and Release / build (arm, 7, linux) (push) Successful in 7m11s
Build and Release / build (arm, 7, openbsd) (push) Successful in 7m57s
Build and Release / build (arm64, android) (push) Successful in 47m22s
Build and Release / build (arm64, darwin) (push) Successful in 12m14s
Build and Release / build (arm64, freebsd) (push) Successful in 10m55s
Build and Release / build (arm64, linux) (push) Successful in 9m0s
Build and Release / build (arm64, openbsd) (push) Successful in 9m29s
Build and Release / build (arm64, windows) (push) Successful in 8m12s
Build and Release / build (loong64, linux) (push) Successful in 7m39s
Build and Release / build (mips, linux) (push) Successful in 7m6s
Build and Release / build (mips64, linux) (push) Successful in 6m29s
Build and Release / build (mips64le, linux) (push) Successful in 7m49s
Build and Release / build (mipsle, linux) (push) Successful in 7m47s
Build and Release / build (ppc64, linux) (push) Successful in 7m45s
Build and Release / build (ppc64le, linux) (push) Successful in 7m10s
Build and Release / build (riscv64, linux) (push) Successful in 8m4s
Build and Release / build (s390x, linux) (push) Successful in 7m6s
Tests and Checkings / test (ubuntu-latest) (push) Successful in 7m57s
Build and Release / build (386, freebsd, ) (release) Failing after 4m2s
Build and Release / build (386, linux, ) (release) Failing after 3m34s
Build and Release / build (386, openbsd, ) (release) Failing after 3m54s
Build and Release / build (386, windows, ) (release) Failing after 3m39s
Build and Release / build (386, windows, win7-32, true) (release) Failing after 3m51s
Build and Release / build (amd64, android, android-amd64) (release) Failing after 7m6s
Build and Release / build (amd64, darwin, ) (release) Failing after 3m45s
Build and Release / build (amd64, freebsd, ) (release) Failing after 3m43s
Build and Release / build (amd64, linux, ) (release) Failing after 3m30s
Build and Release / build (amd64, openbsd, ) (release) Failing after 3m46s
Build and Release / build (amd64, windows, ) (release) Has started running
|
||
|---|---|---|
| .github | ||
| app | ||
| common | ||
| core | ||
| features | ||
| infra | ||
| main | ||
| proxy | ||
| testing | ||
| transport | ||
| vendor | ||
| .gitignore | ||
| CODE_OF_CONDUCT.md | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| SECURITY.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.
Sponsors
Donation & NFTs
Collect a Project X NFT to support the development of Project X!
- TRX(Tron)/USDT/USDC:
TNrDh5VSfwd4RPrwsohr6poyNTfFefNYan - TON:
UQApeV-u2gm43aC1uP76xAC1m6vCylstaN1gpfBmre_5IyTH - BTC:
1JpqcziZZuqv3QQJhZGNGBVdCBrGgkL6cT - XMR:
4ABHQZ3yJZkBnLoqiKvb3f8eqUnX4iMPb6wdant5ZLGQELctcerceSGEfJnoCk6nnyRZm73wrwSgvZ2WmjYLng6R7sR67nq - SOL/USDT/USDC:
3x5NuXHzB5APG6vRinPZcsUv5ukWUY1tBGRSJiEJWtZa - ETH/USDT/USDC:
0xDc3Fe44F0f25D13CACb1C4896CD0D321df3146Ee - Project X NFT: https://opensea.io/item/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1
- VLESS NFT: https://opensea.io/collection/vless
- REALITY NFT: https://opensea.io/item/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
- Related links: VLESS Post-Quantum Encryption, XHTTP: Beyond REALITY, Announcement of NFTs by Project X
License
Mozilla Public License Version 2.0
Documentation
Telegram
Project VLESS (Русский)
Project XHTTP (Persian)
Installation
- Linux Script
- XTLS/Xray-install (Official)
- tempest (supports
systemdand OpenRC; Linux-only)
- Docker
- Web Panel
- One Click
- Magisk
- Homebrew
brew install xray
Usage
- Example
- Xray-examples
- Tutorial
GUI Clients
- OpenWrt
- Asuswrt-Merlin
- Windows
- Android
- iOS & macOS arm64 & tvOS
- macOS arm64 & x64
- Linux
- HarmonyOS
Others that support VLESS, XTLS, REALITY, XUDP, PLUX...
- iOS & macOS arm64 & tvOS
- Xray Tools
- Xray Wrapper
- XrayR
- Cores
Contributing
Credits
- Xray-core v1.0.0 was forked from v2fly-core 9a03cc5, and we have made & accumulated a huge number of enhancements over time, check the release notes for each version.
- For third-party projects used in Xray-core, check your local or the latest go.mod.
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.
- Project: Wintun
- Copyright: Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
- Redistribution License: Prebuilt Binaries License (PBL) bundled with official precompiled and pre-signed binaries from wintun.net
- Component(s): wintun.dll
- Source: https://www.wintun.net/
- Included in:
- Windows x86 (windows-32, win7-32)
- Windows x86-64 (windows-64, win7-64)
- Windows AArch64 (windows-arm64)
- Notes: Wintun is an optional runtime-loaded component only used for TUN inbound functionality on supported Windows platforms.
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 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" -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" -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