Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

v2ray-tools

kltk143MIT0.2.1

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

v2ray, vmess, tools, utils, config, test

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
  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

  • <input checked="" disabled="" type="checkbox"> parser vmess url
  • <input checked="" disabled="" type="checkbox"> convert vmess url into v2ray config
  • <input checked="" disabled="" type="checkbox"> convert v2ray config file into vmess url
  • <input checked="" disabled="" type="checkbox"> avaliability test for server from vmess url
  • <input disabled="" type="checkbox"> maxium speed test for server
  • <input disabled="" type="checkbox"> read urls from file for test
  • <input disabled="" type="checkbox"> Electron GUI

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.2.1 (2023-04-16)

0.2.0 (2022-11-15)

Features

  • adding config.json file as possible entry files (1ee01c8)
  • adding config2vmess cli command and option (ee3a590)
  • adding config2vmess file to parse v2ray config files into vmess url (7dcd984)

Bug Fixes

  • reading header type from value instead of hard code assignment (3877ce7)