A configuration template for clash.
Using Proxy Provider and Rule Provider, with auto update enabled.
Separate frequently updated proxy nodes and rules from basic configuration, get rid of the stale rules and network outage.
Check here to learn about Proxy Provider and Rule Provider.
This configuration is only compatible with the closed source Clash Premium Core (no longer available) and third-party clash cores such as the open source Clash.Meta Core.
Clash Premium Core is integrated by CFA Premium version (no longer available) and CFW (no longer available) out of the box.
Clash.Meta Core is integrated by FlClash (multi-platform supported) and CMFA (Android) out of the box.
A free URL shortening service (like short.io or bitly) is highly recommended so that you can easily renew your subscriptions at any time without having to modify the configuration again.
Basic proxy-groups and rules are already included in the configuration. You need to simply fill in your subscription urls or shortened urls in the rule-providers field, if necessary, modify the proxy-groups and rules, then import into clash and just start enjoying surfing :)
If you are using a ShadowSocks (ss) type subscription, to get a proper yaml file rather than encoded sting, you may need to add this string &flag=clash
at the end of the url. Otherwise, clash may get errors while updating.