# VLESS URL のフォーマット例
# vless://<UUID>@<CF_IP>:443?encryption=none&security=tls&sni=<WORKER_DOMAIN>&type=ws&host=<WORKER_DOMAIN>&path=%2F#<名前>

uuid = "04c808e2-0b59-47b0-a54b-32fc7ef1c902"
worker_domain = "your-worker.pages.dev"
cf_ip = "104.21.0.1"  # JP.txt から取得した IP

vless_url = (
    f"vless://{uuid}@{cf_ip}:443"
    f"?encryption=none&security=tls"
    f"&sni={worker_domain}&type=ws"
    f"&host={worker_domain}&path=%2F"
    f"#CF-JP-{cf_ip}"
)
print(vless_url)