Comments (9)
可能以后会考虑吧,现在暂时不会做这个
from clash.
我觉得这个功能还是挺有用的,每次更新配置的时候,全局的配置文件会被更新,个人规则就会被覆盖,起码个人规则是否可以单独放到一个文件?
如果需要的话,我可以提一个 pr 把个人规则单独放到一个文件中
from clash.
@zwpaper 规则和代理以及代理组实际上是强相关的,所以分开反而增加了心智负担
from clash.
有一种场景是服务器信息通过 api 更新,每次更新就会覆盖自定义规则
你说的强相关应该是规则里可以指定代理,可是大多数情况规则里一个 PROXY 指明走当前代理就足够了
个人规则中指定代理的情况貌似不好处理…服务器信息更新,无论一起还是分开,都需要更改服务器信息
总的来说,个人规则无论是否独立,服务器变更都会需要改动,除非不使用个人规则,全都由服务器生成,可是这不实际
以上,我只用过 Shadowsocks,可能也有考虑不周的地方,但是我还是认为个人规则有必要独立。
from clash.
因为最近正在试着用php合并规则,这个事挺麻烦的,毕竟各种维护的很不错的规则项目里代理和代理组也都是随个人习惯起名,有人叫auto有人叫url-test,有人叫PROXY,也有人叫proxy.... 肯定能调整好,毕竟就是来来回回改数组就是了,但是不太容易找到通用规律。
from clash.
会在实现 rule-set 的时候支持
from clash.
@Dreamacro 希望能早日支持。因为一般的配置文件由服务商提供。如果把个人想要自定义的规则写在里头。会导致下次更新配置文件时被覆盖。
希望支持的功能:也就是提供一个单独的用户 Rule 文件。这里的 Rule 规则优先级高于config.yml里面的 Rule 就行
from clash.
I'll leave further discussion to #272. This will be closed after the feature is implemented.
from clash.
https://github.com/Dreamacro/clash/releases/tag/premium 实现了部分规则集功能
from clash.
Related Issues (20)
- [Feature] XDG Base Directory Support
- [Bug] TUN模式下无法解析mDNS *.local 域名的节点
- [Bug] instagram安卓端首次访问正常,退出后再进入无法连接
- [Bug] 把clash设置成透明网关后其他网关指向此机器会出现无法访问 HOT 2
- [Feature] Provider 节点重名检查/自动重命名 HOT 1
- [Bug] 初始化provider下载文件时:lookup DOMAIN.TLD: i/o timeout
- [Bug] Clash DNS 请求没打mark吗? HOT 1
- [Feature] proxy-group能否让load-balance模式忽略url测试?
- [Feature] Providing a way to get credentials when integrating clash in go code HOT 1
- [Feature] 请问怎么在mac上启用tun模式 HOT 1
- [Bug] Tun模式DNS泄漏问题 HOT 42
- [Bug] <关于节点不支持UDP代理情况下的兜底路由方案> HOT 1
- [Feature] 建议在proxy-providers中增加header、user-agent配置项 HOT 2
- [Feature] <建议在yml可以定义变量和重用> HOT 2
- [Feature] SUBNET 支持
- [Feature] 提供一个内置的域名的 dashboard 服务
- [Bug] Config file parsing error HOT 2
- [Bug] TUN device does not accept IPv6 traffic, even if the routes are added manually. Willing to help. HOT 2
- [Feature] Trojan + TCP + http header
- [Feature] <能否支持,子规则> HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clash.