v2ray-tools

v2ray tools, convert vmess url into v2ray config, vmess url test

Usage no npm install needed!

<script type="module">
  import v2rayTools from 'https://cdn.skypack.dev/v2ray-tools';
</script>

README

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

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 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
  • avaliability test for server from vmess url
  • maxium speed test for server
  • read urls from file for test
  • Electron GUI