This toolbox is designed to be pushed to a public or private Git repository without carrying machine secrets.
- real
config.yamlfor mihomo; - proxy node definitions;
- subscription URLs;
- API tokens;
- SSH private keys;
- cookies;
- cloud credentials;
- datasets, checkpoints, model weights, or experiment outputs.
Use tracked templates only:
network/mihomo/config.yaml.examplenetwork/mihomo/mihomo.env.example
Keep real config in user-local paths:
~/.config/mihomo/config.yaml~/.local/state/mihomo/
git status --short
git grep -nE 'token|secret|password|passwd|cookie|Authorization|Bearer|subscription|proxy-provider' -- .
git ls-files | grep -E 'config.yaml$|\.env$|cache.db|\.mmdb|\.dat|\.metadb' || trueThe grep can produce false positives in documentation. Investigate any match before pushing.