2023-11-09 12:56:07 +03:30
|
|
|
# v2-uri-parser
|
2025-07-27 17:28:51 +03:30
|
|
|
|
2023-11-09 12:56:07 +03:30
|
|
|
V2ray URI parser for xray core
|
|
|
|
|
|
2025-07-27 21:59:27 +03:30
|
|
|
Currently supports: `vless`, `vmess`, `shadowsocks`, `trojan` and `socks`
|
2023-11-09 12:56:07 +03:30
|
|
|
|
|
|
|
|
```
|
2025-07-27 16:27:11 +03:30
|
|
|
Parses V2ray URI and generates JSON config for xray
|
2023-11-09 12:56:07 +03:30
|
|
|
|
2025-07-27 16:27:11 +03:30
|
|
|
Usage: v2parser [OPTIONS] <uri>
|
2023-11-09 12:56:07 +03:30
|
|
|
|
|
|
|
|
Arguments:
|
2025-07-27 16:27:11 +03:30
|
|
|
<uri> V2ray URI to parse
|
2023-11-09 12:56:07 +03:30
|
|
|
|
|
|
|
|
Options:
|
2025-07-27 17:28:51 +03:30
|
|
|
--socksport <PORT> Optional SOCKS5 proxy port for inbound
|
2025-07-27 16:27:11 +03:30
|
|
|
--httpport <PORT> Optional HTTP proxy port for inbound
|
2025-07-28 18:10:22 +03:30
|
|
|
--get-metadata Only print config meta data
|
2025-11-29 01:16:28 +02:00
|
|
|
--run Run xray-core with the generated config
|
|
|
|
|
--xray-binary <PATH> Path to xray-core binary (default: xray from PATH)
|
2025-07-27 16:27:11 +03:30
|
|
|
-h, --help Print help
|
|
|
|
|
-V, --version Print version
|
2023-11-09 12:56:07 +03:30
|
|
|
```
|
2025-12-01 01:41:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
### Install as Windows Task to start automatically
|
|
|
|
|
Run this command via PowerShell
|
|
|
|
|
```
|
|
|
|
|
powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/house-of-vanity/v2-uri-parser/main/scripts/win-service-installer.ps1 -OutFile $env:TEMP\v2.ps1; & $env:TEMP\v2.ps1"
|
|
|
|
|
```
|