mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-01-19 00:41:47 +03:00
yuhan6665
496b2c02c5
Fix context api and document (#727)
* Fix Dial function crash instance when there is no instance context in the ctx * check ctx to fix. (#841) * Feat: core.ToContext(ctx, v) for ctx initialization (#852) * remove exported API: toContext * Remove unnecessary API * rework document for API * fix: make sure the ctx is propagated to connections by detached connection Co-authored-by: Shelikhoo <xiaokangwang@outlook.com> Co-authored-by: rurirei <72071920+rurirei@users.noreply.github.com>
Project X
Project X originates from XTLS protocol, provides a set of network tools such as Xray-core and Xray-flutter.
License
Mozilla Public License Version 2.0
Installation
- Linux Script
- Docker
- teddysun/xray
- Xray-docker
- One Click
- Magisk
- Homebrew
brew install xray
- (Tap) Repository 0
- (Tap) Repository 1
Contributing
Usage
Xray-examples / VLESS-TCP-XTLS-WHATEVER
GUI Clients
- OpenWrt
- Windows
- v2rayN
- Qv2ray (This project had been archived and currently inactive)
- Netch (NetFilter & TUN/TAP)
- Android
- iOS & macOS (with M1 chip)
- macOS (Intel chip & M1 chip)
- Qv2ray (This project had been archived and currently inactive)
Credits
This repo relies on the following third-party projects:
- Special thanks:
- In production:
- For testing only:
Compilation
Windows
go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main
Linux / macOS
go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main
Telegram
Stargazers over time
Languages
Go
99.6%
HTML
0.2%
Shell
0.1%