libXray
libXray copied to clipboard
 miui14,偶然发现手机发烫变卡,看进程发现libxray.so把cpu吃满了,重启后恢复正常
This library is great. But to run it on Android, it should be optimized. For example, when we want to use commands like **share.go**, the strings must be written in...
I have some question about it, the thing is you write about the files and the usage, i am a android & ios developer, leave aside the development side, i...
This commit fixes the CGO build for tvOS and adds module.modulemap for correct library linking in the project.
This is not an issue, just want to ask you a question. Can you point me to go docs why this line https://github.com/XTLS/libXray/blob/c1d867b9cb805f75414940a8e0d55e47b7926456/xray/xray.go#L10 is crucial to include transitive dependencies of...
```golang package main import ( "encoding/json" "fmt" share "github.com/xtls/libxray/share" ) func main() { shareURL := `vless://[email protected]:443?encryption=none&security=reality&sni=example.com&fp=chrome&pbk=xxx&pqv=xxx&type=xhttp&host=example.com&path=%2Fpath&mode=auto#test` xrayJson, err := share.ConvertShareLinksToXrayJson(string(shareURL)) b, _ := json.Marshal(xrayJson) fmt.Println(string(b)) fmt.Println(err) } go run .\main.go...
Both in Happ with xray-core 25.9 and V2BOX with xray-core 25.7 in iOS 18.7, I noticed that the memory used was gradually increasing from around 12M initially to finally 50M...
Hello I used xray-core v25.6.8, libXray commit from 06.04.2025 vless examle: `vless://[email protected]:12345?encryption=none&type=tcp#my-vless ` The json output generated by the method CGoConvertShareLinksToXrayJson (.xcframework) is as follows: ``` { "api" : null,...
When connected using Xray with socket tun in iOS in that case facing no internet connection issue for Egypt country