Commit Graph
707 Commits
Author SHA1 Message Date
Tindy X 05959b09b4 Url-decode file name before adding as Clash rule provider (#815) 2025-01-16 17:11:45 +08:00
Tindy X 3f5ed82672 Add CORS header to httplib webserver 2024-12-31 15:38:56 +08:00
Fanx 05910ac5dd Update Flag category (#810) 2024-12-31 15:37:24 +08:00
Tindy X 1d56f44696 Add TCP Fast Open option to Clash configs 2024-12-08 22:27:01 +08:00
Lai ZnandTindy X c207bfc1f0 Add Hysteria & Hysteria 2 support (#731)
* feat: add hysteria & hysteria 2 support

* Fix build error

* Remove deleted rules repository

---------

Co-authored-by: Tindy X <49061470+tindy2013@users.noreply.github.com>
2024-11-29 01:00:26 +08:00
star 79a7e888b1 Add underlying-proxy, smart policy group support for surge and renaming surge wireguard section (#747)
* Use short hash of wireguard name for surge section name
Add underlying-proxy support for clash parser and surge exporter

* Add surge smart group support

* Allow clash to fallback to url-test in smart proxygroup

* Fix duplicate break statement in binding.h
2024-09-30 06:39:23 +08:00
TioaChan 644b9040b9 Add timezone env to Docker image (#776) 2024-08-27 17:34:01 +08:00
ak1ra 3f2281e284 Add clash.external_controller option in config file (#772) 2024-08-27 17:33:17 +08:00
SpadeLushenandSpade Lushen 0c11565cc9 Use Proxy.Host as alternative tls.server_name in sing-box to support Trojan's sni (#777)
Co-authored-by: Spade Lushen <7971040+SpadeLushen@users.noreply.github.com>
2024-08-27 17:33:02 +08:00
TAKO 6974910734 Update Flag category (#744)
* Update emoji.toml

* Update emoji.txt
2024-04-18 15:47:39 +08:00
Tindy X 0c8574755a Enhancements
Fix not properly handling data from multipart-form POST (#739).
Fix not cleaning up request parameters when generating profiles (#741).
2024-04-09 01:11:29 +08:00
Tindy X b9ad0c2ee2 Bump version to v0.9.0 2024-04-08 16:31:25 +08:00
Tindy X 04ac98725c Add clash_api to default sing-box config base 2024-04-08 16:21:29 +08:00
Tindy X 6af2c56fc8 Do not add check-interval and tolerance to SSID groups in QuanX configs 2024-04-06 21:30:10 +08:00
Tindy X fb6a830d7b Add lhie1 rules to auto update config 2024-04-06 19:21:00 +08:00
Tindy X b82d49200d Fix update_rules checkout branch 2024-04-06 19:04:51 +08:00
Tindy X 40ba3fd970 Update rules updater script 2024-04-06 18:56:52 +08:00
Tindy X 1f57413025 Fix Linux self-hosted build 2024-04-05 21:48:03 +08:00
Tindy X b228255d3b Update build script 2024-04-05 21:46:04 +08:00
Tindy X 55e765e7f9 Fix broken string split (#736 #737 #738) 2024-04-05 14:55:24 +08:00
Tindy X 535d1d01e1 Fix "Profile not found" when generating artifact (#719) 2024-04-03 19:55:38 +08:00
Tindy X 7fdba81f2c Fix implementation of getting random string (#726) 2024-04-03 19:43:33 +08:00
Tindy X 6c38710312 Add missing libraries 2024-04-03 19:16:13 +08:00
Tindy X eeffa0f544 Use brew provided path for libraries on macOS 2024-04-03 19:13:12 +08:00
Tindy X 73da1a87ad Run with sudo when building for macOS 2024-04-03 18:57:30 +08:00
Tindy X 670544cfb1 Add macOS ARM build 2024-04-03 18:50:35 +08:00
Tindy X 4864a6b13c Support setting output style for proxy groups in Clash configs (#734) 2024-04-03 18:07:12 +08:00
Chi Zhang cb15d568c0 Fix missing classical rulesets when exporting Clash configs with expand=false (#715)
* 尝试修正缺少RULE-SET问题
2024-04-03 17:15:35 +08:00
Tindy X 0f2cefd537 Enhancements
Read template_args from root in TOML preferences (#717).
Make max_workers work for httplib.
Fix implementation of str_icase_map for HTTP headers.
2024-04-03 17:09:21 +08:00
Tindy X 9e66b07251 Force delete 2024-04-03 16:45:05 +08:00
Tindy X 624f5cd120 Clean up digests before creating new image digest 2024-04-03 16:40:41 +08:00
Tindy X c711f1ad05 Update Docker build workflow 2024-04-03 16:24:31 +08:00
Tindy X 88635b6ed8 Fix build error 2024-04-03 16:08:19 +08:00
Tindy X 0cb4053f8d Fix build error 2024-04-03 16:01:59 +08:00
Tindy X fb2aca3237 * Fix Docker build 2024-04-03 15:51:20 +08:00
SummonHIM 37c4e13071 Add UA of Clash Verge to auto target (#713) 2024-04-02 18:37:09 +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
aylz10andTindy X be2de49360 Fix bug of request header forwarding (#709)
* Fix bug of request header forwarding

* Replace insert(make_pair()) with emplace()

---------

Co-authored-by: Tindy X <49061470+tindy2013@users.noreply.github.com>
2024-04-02 18:34:33 +08:00
Tindy X eef5328506 Enhancements
Refine libcurl logs.
Do not retry web request on API mode.
Optimize codes.
2023-12-22 14:46:52 +08:00
Tindy X 13623d6bcd Enhancements
Fix request parameters are url-decoded twice.
Fix post form request not handled correctly.
2023-12-06 15:54:05 +08:00
Tindy X 043c1fdcb9 Enhancements
Fix rule generation in Surge configs.
Refactor log output for curl verbose logs.
Optimize codes.
2023-12-06 15:25:53 +08:00
Tindy X a0e25158f5 Enhancements
Add no-resolve to generated Clash rule-set if exists (#679).
Do not set CURLOPT_USERAGENT if User-Agent header is provided.
Print curl verbose logs with standard format.
Change thread id in logs to thread name.
Optimize generation of rule contents.
2023-12-05 18:37:14 +08:00
菜姬 adaef88501 Add Shadowsocks-2022 ciphers (#564) 2023-12-04 17:10:19 +08:00
Tindy X 2f820b81c4 Enhancements
Fix request arguments to alias are not passed to redirect location (#681).
Fix crash if name argument is missing in getProfile interface.
Fix bad webGet retry logic.
2023-12-04 11:49:07 +08:00
Tindy X d9ff11146d Fix proxy type missing when append_proxy_type is enabled for Quantumult X configs 2023-12-02 22:50:33 +08:00
Tindy X 40b4a94478 Update .gitignore [skip ci] 2023-11-27 00:55:43 +08:00
Tindy X 38fd0da1ba Enhancements
Add support for parsing authentication info in SOCKS5 links. (#652)
Optimize codes.
2023-11-27 00:52:00 +08:00
RuyeNet fdf983bc1b Use Host as SNI field if exists in Surge configs (#674) 2023-11-27 00:14:47 +08:00
Tindy X 05a542c4f1 Enhancements
Fix bad conversion of DOMAIN-SUFFIX rules when generating Surge DOMAIN-SET. (#667)
Optimize codes.
2023-11-27 00:09:25 +08:00
Tindy X c3524d04d7 Add support for exporting node list in sing-box format 2023-11-20 20:48:29 +08:00