Am-Delta / v2ray-to-json

Convert Vmess, Vless, Trojan URI to JSON file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

  1. Download v2tj.py file
from v2tj import convert_uri_json

uri = "vless://..."
file = convert_uri_json(uri=uri)

#or Custom address & port:
#file = convert_uri_json(host="127.0.0.1", port=4142, socksport=4143, uri=uri)
# or file = convert_uri_json("127.0.0.1", 4142, 4143, uri)

# File saved at /configs

Supported Porotocls

  • VLESS+GRPC
  • VLESS+GRPC+TLS
  • VLESS+TCP
  • VLESS+TCP+HTTP
  • VLESS+TCP+TLS
  • VLESS+TCP+TLS+HTTP
  • VLESS+TCP+REALITY
  • VLESS+GRPC+REALITY
  • VMESS+GRPC
  • VMESS+GRPC+TLS
  • VMESS+TCP
  • VMESS+TCP+HTTP
  • VMESS+TCP+TLS
  • VMESS+TCP+TLS+HTTP
  • TROJAN+TCP
  • TROJAN+TCP+HTTP
  • TROJAN+TCP+TLS
  • TROJAN+TCP+TLS+HTTP
  • TROJAN+TCP+REALITY
  • TROJAN+GRPC+REALITY
  • TROJAN+GRPC+TLS

About

Convert Vmess, Vless, Trojan URI to JSON file

License:The Unlicense


Languages

Language:Python 100.0%