Skip to content

Instantly share code, notes, and snippets.

View graythze's full-sized avatar
☹️
I may be slow to respond.

graythze graythze

☹️
I may be slow to respond.
  • Sverdlovsk, RU
  • 01:00 (UTC +05:00)
View GitHub Profile
@graythze
graythze / xray_convert.py
Last active October 26, 2025 11:46
AmneziaVPN XRay to XRay Native
import json
import urllib.parse
import os
def convert_json_to_vless(json_file, custom_name):
# Читаем JSON-файл
with open(json_file, 'r') as f:
config = json.load(f)
# Извлекаем необходимые данные