Skip to main content
Only write the fields that need to be modified, do not copy the entire subscription.

生成一个符合 YumeBox 语法的 YAML 覆写

Execution process

1

Read original configuration

First resolve the subscription or local configuration. Raw YAML errors will stop this compilation.
2

Read overwrite chain

Read the .yaml and .yml files in binding order. Empty files are skipped and a prompt is logged.
3

Apply current file

Parse key name modifiers and then perform replacement, append, merge, or force override based on field type.
4

Generate run configuration

After the user overwrite is completed, YumeBox will supplement the DNS, Tun, listener and Provider path settings required for runtime.

Modifier quick check

Explicit -start, -end, -merge, -force take precedence over +key and key+. For example, <rules+> eventually writes the real key name rules+.

Minimal example

修改端口.yaml
添加规则.yaml
替换 DNS.yaml
Last modified on August 13, 2026