igniter icon indicating copy to clipboard operation
igniter copied to clipboard

editable Clash rules

Open jiashooter opened this issue 6 years ago • 7 comments

How to change rules of Clash when I want to make some non-mainland of China addresses connected directly?

jiashooter avatar Mar 11 '20 03:03 jiashooter

如果有root权限的话, 可以编辑/data/data/io.github.trojan_gfw.igniter/files/config.yaml

ghost avatar Mar 27 '20 00:03 ghost

If someone wants to edit clash rules by himself, he must know how clash, go-tun2socks cooperates, since some rules will NOT take effect.

wongsyrone avatar Mar 27 '20 00:03 wongsyrone

BTW, I recommend when implementing this feature, we expose the rules part only. Simply copy & paste the whole config file won't work for this scenario.

wongsyrone avatar Mar 27 '20 00:03 wongsyrone

I will change how Clash works in the future, may or may not follow upstream changes, just cherry-pick some critical bugfixes. As far as I can tell, we only need SOCKS5 redirecting and rule matching, user rules may or may not function well. We have to educate users about what they should put in the file and how they write rules. It could mess up when users do something wrong they didn't expect and complain in the Issues

wongsyrone avatar Mar 27 '20 00:03 wongsyrone

https://github.com/v2ray/domain-list-community

oasiscifr avatar Apr 10 '20 09:04 oasiscifr

@jiashooter

You request is enabled with commit: https://github.com/low-api-support-trojan/igniter/commit/e70b5fb79ff8cf69de78718053d9d7e7d25d1f19

@wongsyrone

if it is possible, please add me to the team. I have a lot changes made, I will integrate things into master when all functions are ready and tested.

calidion avatar Sep 19 '22 07:09 calidion

https://github.com/low-api-support-trojan/igniter/releases/tag/las-v0.2.1

released with clash file editing support.

calidion avatar Sep 29 '22 10:09 calidion