144 Commits

Author SHA1 Message Date
asdlokj1qpi23
e88f8fd485 Merge remote-tracking branch 'fork/master' into dev
# Conflicts:
#	.github/workflows/build.yml
#	.github/workflows/docker.yml
#	.gitignore
#	base/pref.example.toml
#	base/snippets/emoji.toml
#	base/snippets/emoji.txt
#	scripts/build.macos.release.sh
#	scripts/build.windows.release.sh
#	scripts/rules_config.conf
#	src/generator/config/subexport.cpp
#	src/handler/interfaces.cpp
#	src/handler/settings.cpp
#	src/parser/config/proxy.h
#	src/parser/subparser.cpp
#	src/parser/subparser.h
#	src/utils/map_extra.h
#	src/version.h
2025-03-25 14:08:43 +08:00
Fanx
05910ac5dd Update Flag category (#810) 2024-12-31 15:37:24 +08:00
Fanx
ad47d18a23 Update Flag category 2024-10-25 19:09:18 +08:00
ak1ra
3f2281e284 Add clash.external_controller option in config file (#772) 2024-08-27 17:33:17 +08:00
asdlokj1qpi23
e22f043213 Resolve the priority issue with SCV,UDP parameters.(#29) 2024-07-19 11:30:04 +08:00
TAKO
6974910734 Update Flag category (#744)
* Update emoji.toml

* Update emoji.txt
2024-04-18 15:47:39 +08:00
Tindy X
04ac98725c Add clash_api to default sing-box config base 2024-04-08 16:21:29 +08:00
Tindy X
4864a6b13c Support setting output style for proxy groups in Clash configs (#734) 2024-04-03 18:07:12 +08:00
moexiami
623ffbb23f Set most node_pref settings to indeterminate by default (#728)
Settings within node_pref should be established with a thorough understanding of the subscription sources' configurations.
Additionally, defaulting skip_cert_verify_flag to true exposes security risks.

Since pref.example.toml serves as the default configuration file, it is suggested to reset these settings. Also moving us toward Secure-by-Default.

Signed-off-by: moexiami <i@f2light.com>
2024-04-02 18:34:50 +08:00
asdlokj1qpi23
f4de5097a6 remove clash api 2023-12-22 09:48:22 +08:00
asdlokj1qpi23
cb36b431ce Update singbox.json for clash API 2023-12-22 09:47:04 +08:00
asdlokj1qpi23
0409830b3f Fix the issue of Clash subscription password being numeric-only 2023-12-18 17:57:56 +08:00
Tindy X
885a63b837 Enhancements
Fix a typo which cause the server to hang.
Add option to enable reload pref config on request.
Optimize codes.
2023-11-14 16:42:22 +08:00
Tindy X
51b65ec437 Enhancements
Fix base sing-box configuration.
Add support for adding Clash modes to sing-box configs.
Optimize codes.
2023-11-10 18:23:43 +08:00
Tindy X
bbcb6434e1 Enhancements
Add basic support for generating sing-box configs.
Use cpp-httplib as web server.
Optimize codes.
2023-11-07 22:12:01 +08:00
TAKO
25b25f669d Fix wrong flag identification When converting Nigeria node (#654)
* Update emoji.toml

* Update emoji.txt
2023-11-06 21:58:11 +08:00
Tindy X
ea01a414eb Bump version to v0.8.0 2023-10-09 17:29:02 +08:00
Tindy X
5de1a3fef0 Remove unused interface 2023-10-08 02:16:22 +08:00
reizhi
d47b8868e5 Add bingapis.com to MSServices (#545) 2022-09-26 13:58:46 +08:00
FeliiiciaWen
f6e77b7706 Update emoji rules (#493) 2022-07-10 14:04:13 +08:00
Tindy X
cf485873f9 Update Emoji rules (#452 #453 #456) 2022-04-03 02:05:46 +08:00
XYenon
63a05692c9 Fix clash dns in all_base.tpl (#459) 2022-04-03 01:45:48 +08:00
Jim Lee
be420f765b Update Emoji rules (#439)
- 向部分地域添加地域代码匹配规则。
- 使用 \b 定位符来全字匹配地域与接入点英文缩写,避免匹配错误。(emoji.toml 中使用 \\b 转义)
- 前置高频地域匹配规则,并后置CN规则,以尽可能避免匹配错误。
- 同步 emoji.toml 与 emoji.txt 规则内容与顺序。
- 优化 CHN、IND、DEU 的匹配规则。
2022-01-14 00:26:57 +08:00
Leilei Chui
217891f150 Update Emojis (#433)
* Update emoji.toml

Add emoji rules for Canada

* Update emoji.txt

Add emoji rules for Canada
2022-01-06 01:53:56 +08:00
zhongfly
ec0ef4c9c4 Update local rulesets and configs (#423) 2021-12-28 22:09:49 +08:00
TAMAKO
3fe9725553 Update Emoji (#396)
* change route.toml

Thanks to v1.mk

* Revert "change route.toml"

This reverts commit 3487792a0482d9da721c4eb0afbb3f22a9880916.

* change emoji.toml

Thanks to v1.mk

* Update emoji.toml

Co-authored-by: hypenekoR <20227709+SNSLogty@users.noreply.github.com>
2021-10-18 00:04:01 +08:00
Tindy X
a653e3a874 Bugs fix
Fix example preference file.
Fix error when template include path is not set.
Fix crash when adding SSID group to Loon configurations.
Clean up codes.
2021-10-04 23:48:51 +08:00
Tindy X
94696a5da5 Fix typo in default configuration 2021-10-01 04:14:13 +08:00
Tindy X
cea6d5fe88 Update local rulesets 2021-09-30 01:44:44 +08:00
TAMAKO
f3571e35f8 Update Flags (#376)
* Add New Country Flags Rule

瑞典 冰岛 马恩岛 新西兰 以色列

* new flags
2021-09-22 13:07:46 +08:00
Tindy X
4454ef94ae Fix typo in default profile 2021-09-22 00:06:37 +08:00
Tindy X
fc641444aa Fix failed to load external TOML config when surge_rule_base is set
Update example config.
2021-09-20 23:57:28 +08:00
Tindy X
9797197c85 Add support for using TOML as configuration file format
Add basic support for trojan-grpc nodes.
Refactor codes.
2021-09-20 17:02:13 +08:00
秦宇航
e140c24f3d Update Emojis (#334)
add `JP` for Japan and 'KR' for Korea node.
2021-04-09 17:13:57 +08:00
zhongfly
07ba0111a2 Update local rulesets and configs (#324) 2021-03-24 03:04:43 +08:00
Tindy X
60813e516a Add script_clean_context option example in preference files. 2021-03-23 18:09:51 +08:00
Tindy X
3d67406af6 Complete refactor of project file structure
Fix incorrect handing of default node parameters in SSD subscription.
Fix unable to parse some Clash rule-providers (#289).
Fix not filtering inline comments in some Surge rulesets. (#285)
Add Cron task options.
Add clean context option for persisting a JS context across the whole request.
Replace JS engine with QuickJS.
2021-03-23 18:09:00 +08:00
Tindy X
d46aa6133e Update flags 2020-11-26 21:50:55 -06:00
Tindy X
c0d079202a Update default exclude remarks 2020-11-27 00:36:12 +08:00
CuSO₄·5H₂O
a7f5f41b6e Modify Emoji matching rules (#273)
Co-authored-by: Tindy X <49061470+tindy2013@users.noreply.github.com>
2020-11-27 00:33:18 +08:00
Fxzx micah
929526a733 Update emoji.txt (#274)
Add some regional aliases
2020-11-27 00:25:17 +08:00
Tindy X
74d865ceb0 Enhancements
Fix not correctly handle SOCKS5 nodes in Clash subscriptions.
Add specifying filter script from URL arguments.
Add support for using matchers in include/exclude options.
Rename default configuration files for easier upgrade.
2020-11-08 18:34:26 +08:00
Tindy X
167adc457e Update local rulesets and configs
Remove ConnersHua rules repository and replace all examples with DivineEngine repository.
2020-09-19 23:47:27 +08:00
Tindy X
1b30e89f80 Add support for simple web server
Update Docker README.
2020-08-19 01:23:44 +08:00
Tindy X
a42f56aecd Update local rulesets and configs
Add DivineEngine local ruleset repository.
Remove Clash rule-providers from ACL4SSR repository.
2020-08-15 23:17:36 +08:00
Tindy X
97c89150a5 Breaking changes
Fix failed to download subscriptions, configs and rulesets due to bad implementation of download size checker.
Remove base pre-generation function.
Refactor code base.
2020-08-14 01:52:53 +08:00
Tindy X
f671230ce8 Add option to change style of proxies section in Clash subscriptions 2020-08-12 18:33:31 +08:00
Tindy X
41bc002cab Fix typo 2020-08-12 17:35:25 +08:00
Tindy X
c3da6911f7 Add support for specifying max allowed download size 2020-08-10 01:37:27 +08:00
Tindy X
5ca5990673 Update local rulesets 2020-07-29 19:08:44 +08:00