mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 06:57:52 +00:00
24 lines
673 B
Markdown
24 lines
673 B
Markdown
# v2-uri-parser
|
|
|
|
V2ray URI parser for xray core
|
|
|
|
Currently supports: `vless`, `vmess`, `shadowsocks`, `trojan` and `socks`
|
|
|
|
```
|
|
Parses V2ray URI and generates JSON config for xray
|
|
|
|
Usage: v2parser [OPTIONS] <uri>
|
|
|
|
Arguments:
|
|
<uri> V2ray URI to parse
|
|
|
|
Options:
|
|
--socksport <PORT> Optional SOCKS5 proxy port for inbound
|
|
--httpport <PORT> Optional HTTP proxy port for inbound
|
|
--get-metadata Only print config meta data
|
|
--run Run xray-core with the generated config
|
|
--xray-binary <PATH> Path to xray-core binary (default: xray from PATH)
|
|
-h, --help Print help
|
|
-V, --version Print version
|
|
```
|