Home

Awesome

English | 简体中文

XrayHelper

A unified helper for Android to control system proxy, some scripts in Xray4Magisk rewritten with golang, provide arm64 and amd64 binary.

Config

XrayHelper use yml format configuration file, default is /data/adb/xray/xrayhelper.yml, and you can customize the path with the -c option.
Example of xrayhelper config

Commands

Control Core Service

xrayhelper service start, start core service
xrayhelper service stop, stop core service
xrayhelper service restart, restart core service
xrayhelper service status, show core status

Control System Proxy

xrayhelper proxy enable, enable system proxy
xrayhelper proxy disable, disable system proxy
xrayhelper proxy refresh, refresh system proxy rule

Update Components

Switch Proxy Node

xray, sing-box, hysteria2

mihomo

notice: ${xrayHelper.clash.template} will overwrite(or inject) selected config above

License

Mozilla Public License Version 2.0 (MPL)

Credits