feat: add 3x-ui Xray rule synchronizer

This commit is contained in:
2026-09-18 21:19:47 +03:00
commit ca150de0f8
8 changed files with 605 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
servers:
- name: eu-1
url: https://eu-1.example.com
# Choose one authentication method:
# token: paste-the-3x-ui-API-token-here
tokenEnv: THREE_X_UI_EU_1_TOKEN
rules:
- name: google
# disabled: true # writes enabled: false in the Xray rule
match:
domain: [geosite:google]
inboundTag: [vless-in]
outbound:
tagRegex: "^proxy-google-"
strategy: leastPing
sync:
# Omit interval for a one-off run, or pass -once to override it.
interval: 5m
# Managed rules go after manually maintained rules by default.
position: last