0.2.1 • Published 1 year ago

v2ray-tools v0.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
1 year ago

V2Ray Tools

Installaction

npm -g install v2ray-tools

Usage

v2ray-tools [command]

Commands:
  v2ray-tools vmess2config  convert vmess url into v2ray config
  v2ray-tools vmesstest     test avaliability for server from url
  v2ray-tools config2vmess  convert v2ray config file into vmess url

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]
v2ray-tools vmess2config

convert vmess url into v2ray config

Options:
  --base     base v2ray config file path              [default: "src/base.json"]
  --url      vmess url                                                [required]
  --port     port for listen                           [number] [default: 10800]
  --listen   listen interface
v2ray-tools config2vmess

convert v2ray config file into vmess url

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]
  --path     the path for the v2ray config file                       [required]
v2ray-tools vmesstest

test avaliability for server from url

Options:
  --base        base v2ray config file path           [default: "src/base.json"]
  --url         vmess url                                     [array] [required]
  --port        base port for listen                   [number] [default: 10800]
  --listen      listen interface
  --test-url                                 [default: "https://www.google.com"]
  --v2ray-path                                                [default: "v2ray"]

Todo

  • parser vmess url
  • convert vmess url into v2ray config
  • convert v2ray config file into vmess url
  • avaliability test for server from vmess url
  • maxium speed test for server
  • read urls from file for test
  • Electron GUI