chore: reorganize repository layout and optimize README

This commit is contained in:
袁震
2026-04-06 14:43:19 +08:00
parent a48cd45dbd
commit 5572828d15
9 changed files with 139 additions and 153 deletions
+24
View File
@@ -0,0 +1,24 @@
[gitea]
base_url = "https://gitea.example.com"
owner = "rules"
repo = "ios_rule_script"
ref = "main"
token_env = "GITEA_TOKEN"
[source]
# mode=gitea: read source via Gitea API
# mode=local: read source from local filesystem cache (recommended with sync script)
mode = "local"
local_root = "data/upstream"
# Usually this is where Surge source rules are stored.
root = "rule/Surge"
filename_pattern = "{name}.list"
include_categories = []
exclude_categories = []
[output]
dir = "dist"
# true: IP-CIDR/IP-CIDR6 in Clash payload include no-resolve
clash_no_resolve = false
# true: IP-CIDR/IP-CIDR6 in Mihomo payload include no-resolve
mihomo_no_resolve = false