v2ray-tools

0.2.1 • Public • Published

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

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

Package Sidebar

Install

npm i v2ray-tools

Weekly Downloads

21

Version

0.2.1

License

MIT

Unpacked Size

18.7 kB

Total Files

12

Last publish

Collaborators

  • kltk