Commit Graph
100 Commits
Author SHA1 Message Date
Tindy X 54a17413bc Bug fix
Fix when exporting Quantumult (X) Node List, the first node will appear twice.
Optimize codes.
2020-02-16 15:14:21 +08:00
Tindy X e1a7eb3829 Bug fixes
Fix missing setting in pref.yml.
Optimize codes.
2020-02-16 12:23:27 +08:00
Tindy X 41b9f97d4c Fix a bug which will cause /getruleset for Surge unable to fetch data
Add descriptions in pref.ini.
2020-02-15 23:29:11 +08:00
Tindy X 16092f6946 Fix a bug that will cause Surge Node List unable to be generated 2020-02-15 21:33:14 +08:00
Tindy X c798918f40 Bug fixes
Fix line breaks not correctly processed in getruleset interface.
Fix missing initialization of managed_config_prefix in simpleToClashR interface.
Optimize codes.
2020-02-15 20:15:48 +08:00
Tindy X 700fbc5d8d Bump version to v0.3.1 2020-02-15 18:49:29 +08:00
Tindy X e8624a7d25 Optimize codes 2020-02-15 18:15:35 +08:00
Tindy X f6a09670be Enhancements
Fix when list option is set to true, the program will still try to load groups and rulesets.
Add an interface to provide local/remote rulesets for Surge/Quantumult X.
Add converting rulesets to Quantumult X format and adding as remote filters.
2020-02-15 18:00:59 +08:00
Tindy X 9c8a8d8268 Update local rulesets and example configs 2020-02-15 16:19:57 +08:00
Tindy X 78b4fec7d9 Bug fixes
Fix a potential random crash on non-Windows platforms.
Fix compatibility with some non-standard Shadowsocks and Shadowcsocks Android subscriptions.
Optimize codes.
2020-02-15 11:29:40 +08:00
Tindy X 794370004e Enhancements
Fix missing keys and sections in Mellow configs.
Fix Emoji matching rules.
Add token verification when using default_urls in API mode.
Optimize codes.
2020-02-13 18:28:00 +08:00
Tindy X f9bd9cc1ce Enhancements
Fix when a request without User-Agent was received, the program will crash.
Fix Emoji matching rules.
Add an interface to serve/convert local/remote rulesets.
2020-02-11 16:43:39 +08:00
Tindy X 7110146873 Fix empty lines in rulesets not being removed 2020-02-10 21:14:42 +08:00
Tindy X e14f7dd6bf Enhancements
Fix when processing duplicated node name for Surge, the program will crash.
Add an interface to directly convert Surge config to Clash config.
Add Netease Music IP ruleset.
Clean up codes.
Update build scripts.
2020-02-10 18:22:12 +08:00
Tindy X ac75c9513a Bug fixes
Fix Surge SSID groups not being correctly generated.
Fix snippet importing not filtering line break.
Add SSID group example.
2020-02-10 11:37:40 +08:00
Tindy X 6f64f27361 Fix a bug which may cause some comments in rulesets not being filtered 2020-02-09 16:53:22 +08:00
Tindy X 3eefeb740e Bug fix
Change default configuration file to pref.ini and try to look for pref.yml.
Update Dockerfile.
2020-02-09 14:15:36 +08:00
Tindy X 2a082fee37 Bug fix
Fix a bug when more than one import in a group, only the first one will be added.
Add more HTTP status code.
2020-02-07 19:03:19 +08:00
Tindy X 8998e646e7 Enhancements
Fix when generating configurations with external configuration file with rule generator disabled, generated rules will still be added.
Add support for configuration files in YAML format.
Optimize codes.
2020-02-07 00:11:35 +08:00
Tindy X 5b5ae714f7 Fix after generating a Clash Proxy Provider, the cached Clash base will be broken 2020-02-06 16:44:12 +08:00
Tindy X cb3ad69803 Add link to README-cn.md 2020-02-05 23:20:03 +08:00
Tindy X 879769d88a Update README-docker.md 2020-02-05 23:07:36 +08:00
Tindy X 84a1b73f45 Update README
Clean up files.
2020-02-05 23:06:28 +08:00
Tindy X 9c992ff2c3 Bug fixes
Fix logical error for customizing rulesets and groups.
Fix parsing error for some VMess subscriptions.
Optimize codes.
2020-02-05 22:27:41 +08:00
Tindy X 3945ba5afb Change default working directory to where pref.ini is in 2020-02-04 16:36:37 +08:00
Tindy X c05b7913af Fix codes for compiling with mbedTLS
Clean up codes. (+6 squashed commit)

Squashed commit:

[4126d9e] Update build scripts

[2ee5027] Update CMake module

[71da951] Update build scripts

[dea8d3f] Update CMake script

[92113ba] Clean up codes and update build script
2020-02-03 18:10:52 +08:00
Tindy X 00976c9eeb Enhancements
Fix when subscription download timeout before complete, the parser will still try to parse downloaded content.
Change default regex library to PCRE2.
Change Quantumult X "url-test" equivalent to "available".
Optimize codes.
Update build scripts.
2020-02-02 23:18:20 +08:00
Tindy X fd5a74ec93 Fix a bug 2020-02-02 00:37:02 -06:00
Tindy X e78bb6df47 Add support for importing snippets
Clean up file structure.
2020-02-02 13:56:14 +08:00
Tindy X 5634df6a7f Add duplicate node name check for Quantumult(X) configuration files 2020-02-01 11:57:20 +08:00
Tindy X cc35c6f8a6 Add support for extracting UserInfo from SSD subscriptions 2020-02-01 01:16:05 +08:00
Tindy X 8eb5e1e5e3 Update build script 2020-01-31 20:20:42 +08:00
Tindy X daca90abe7 Bump version to v0.3.0 2020-01-31 19:50:28 +08:00
Tindy X 9c91a8cd0a Update local rulesets 2020-01-31 19:47:56 +08:00
Tindy X b085c0d0c1 Add support for exporting complete Quantumult configuration file
Fix incorrect generation of Quantumult X configuratios.
Fix broken group name option.
Add external configuration support for customize Quantumult(X) base.
Update Travis CI build script.
Tweak Emoji match rules.
Clean up codes.
2020-01-31 19:30:04 +08:00
Tindy X c5fa786500 Add support for exporting complete Quantumult X configuration file 2020-01-31 00:50:09 +08:00
Tindy X 52b5a2636c Add missing header 2020-01-30 17:18:17 +08:00
Tindy X 4492fcd806 Enhancements
Add Subscription-UserInfo header to exporter, supports extracting from original headers and from info nodes.
Optimize codes.
2020-01-30 17:14:00 +08:00
Tindy X 7c546e9606 Fix a potential loop request bug which may cause server to overload 2020-01-30 11:10:19 +08:00
Tindy X 2073d0ef25 Fix URL argument parsing error 2020-01-27 20:40:50 +08:00
Tindy X e2ecedff43 Update local rulesets 2020-01-27 17:41:45 +08:00
Tindy X a387b67b93 Fix typo 2020-01-27 15:16:39 +08:00
Tindy X 66cebab7f8 Update local rulesets and example configuration files 2020-01-27 15:02:40 +08:00
Tindy X 1514727573 Bug fixes
Fix issue [#44](https://github.com/tindy2013/subconverter/issues/44).
Fix host setting missing for VMess TCP+TLS nodes.
Fix logical error in loading external configuration file.
Fix a potential multi-thread resource conflict.
Add rename and emoji option in external configuration file.
2020-01-27 14:56:49 +08:00
Tindy X 1a54f7c500 Bump version to v0.2.7 2020-01-26 23:38:22 +08:00
Tindy X 7d03374016 Bug fixes
Fix incorrect format for exporting Quantumult VMess subscriptions.
Fix parser not recognize over-tls obfs in Quantumult X VMess subscriptions.
Fix potential compatibility issue for non-standard VMess subscriptions.
Add basic support for acquiring headers during subscription download.
2020-01-21 00:37:45 +08:00
Tindy X 0c76741a25 Enhancements
Add more HTTP status code with detailed error info.
Improve error handling with broken links.
Add basic support for extra response headers.
2020-01-20 00:22:41 +08:00
Tindy X d13788e1d1 Enhancements
Improve compatibility with complex rule when directly adding rule with surge_ruleset.
Improve compatibility with incorrect format of single links.
Optimize codes.
2020-01-19 16:32:26 +08:00
Tindy X 3a09c87081 Update Microsoft Service list 2020-01-17 23:14:07 +08:00
Tindy X 62de1f320b Add more example config files
Add Microsoft Services ruleset.
Clean up file structure.
2020-01-17 16:19:24 +08:00
Tindy X 66dde82c85 Fix bugs
Fix when no custom ruleset is set in external config file, no rules will be generated.
Fix ws-path parsing for Quantumult X VMess subscription.
Add README for Docker.
Optimize codes.
2020-01-16 21:50:27 +08:00
Tindy X 21c4871ac0 Add Linux x86 build 2020-01-16 00:24:52 +08:00
Tindy X 6a0aff4330 Update Dockerfile 2020-01-14 21:59:32 +08:00
Tindy X 882c42e1eb Update Dockerfile to decrease docker image size 2020-01-14 21:34:01 +08:00
Tindy X 987c582859 Bump version to v0.2.6 2020-01-14 14:48:41 +08:00
Tindy X 2d3875543d Move China Emoji rule to last position 2020-01-14 14:46:49 +08:00
Tindy X 8a5615f4ac Update local rulesets 2020-01-14 14:43:45 +08:00
Tindy X 66c7f3a070 Optimize codes 2020-01-14 14:12:29 +08:00
Tindy X b186d805f3 Enhancements
Fix support for Quantumult X style VMess subscription.
Fix plugin support for Shadowsocks Android clients.
Add support for exporting Shadowsocks Android subscription.
Add regular expression blacklist to prevent high CPU usage.
Move "rename_node" options to "[node_pref]" section.
Optimize codes.
2020-01-14 13:18:43 +08:00
Tindy X 764b0e68d4 Update README-cn.md 2020-01-13 17:52:18 +08:00
Tindy X 4374a3e8bd Fix support for some non-standard subscription
Add Dockerfile for image auto update.
2020-01-13 15:08:08 +08:00
Tindy X 3a39977253 Tweak filter_deprecated_nodes option 2020-01-11 16:21:59 +08:00
Tindy X d24a95168f Fix a bug 2020-01-09 23:05:49 +08:00
Tindy X 5ff9018539 Bug fixes
Fix support for parsing some non-standard subscriptions.
Change cURL User-Agent to subconverter/latest.
Optimize codes.
2020-01-09 23:02:40 +08:00
Tindy X 5eb54b4a46 Fix build script 2020-01-08 00:40:07 +08:00
Tindy X 8af22aceb1 Bump version to v0.2.5 2020-01-08 00:23:32 +08:00
Tindy X 3f4d764e42 Update build script 2020-01-07 23:36:21 +08:00
Tindy X e6a5e55a69 Update build scripts 2020-01-07 23:30:34 +08:00
Tindy X f2e12f1e4b Fix build error 2020-01-07 15:57:15 +08:00
Tindy X bebefd9511 Fix build error on some platform 2020-01-07 15:48:39 +08:00
Tindy X b94dce44ed Fix support for parsing some Shadowsocks/R subscriptions 2020-01-07 15:39:06 +08:00
Tindy X d1bf8a13f2 Enhancements
Fix dependency bug for compiling on some platforms.
Add specifying port via environment variable.
Add BacktoCN.list extracted from ConnersHua's original BakctoCN configuration.
2020-01-07 11:39:18 +08:00
Tindy X 6a61f29cf2 Update local rulesets 2020-01-07 10:17:26 +08:00
Tindy X 46a58f4394 Bump version to v0.2.4 2020-01-05 20:37:58 +08:00
Tindy X 2f44a216b5 Add ARM64 build to Travis CI script 2020-01-05 18:58:37 +08:00
Tindy X 15fab8f324 Add filter_deprecated_nodes flag to filter out nodes that are no longer supported by latest clients 2020-01-05 18:54:00 +08:00
Tindy X 5870ab2386 Enhancements
Add skip-cert-verify flag for HTTPS / Socks 5 nodes in Clash / Surge subscriptions.
Tweaked keys order in Clash subscriptions.
Optimize codes.
2020-01-04 17:29:44 +08:00
Tindy X 215c467f2a Enhancements
Add auto filtering for nodes that are not supported by Clash/R core.
Add skip_cert_verify for Surge, Quantumult and Quantumult X subscription.
Add "separate links" option for exporting SIP002 subscriptions.
Optimize codes.
2020-01-04 15:22:12 +08:00
Tindy X a775c69121 Enhancements
Fix crash when parsing HTTP nodes in Surge subscriptions.
Fix section order problem for various subscriptions.
Add more custom settings in external configuration file.
Add no-resolve to LAN rules.
Update README-cn.md.
2020-01-03 14:29:40 +08:00
Tindy X 9094270b65 Bug fixes
Fix incorrect parameters for simple interface.
Fix group generation support for Surge.
Change default skip_cert_verify flag to false.
Optimize codes.
2020-01-03 00:15:34 +08:00
Tindy X 3077a7ca40 Revert Travis CI script 2020-01-01 22:39:16 +08:00
Tindy X 144725213f Add support for adding skip-cert-verify flag to Clash/R subscription 2020-01-01 22:38:21 +08:00
Tindy X d95990b094 Bump version to v0.2.3 2020-01-01 20:53:20 +08:00
Tindy X e2c5e2bad1 Update Travis CI scripts to append version number 2020-01-01 20:44:31 +08:00
Tindy X dd3389afe5 Update local rulesets 2020-01-01 20:21:04 +08:00
Tindy X 9196387fe6 Enhancements
Add loading external custom configuration from URL.
Optimize codes.
2020-01-01 14:30:41 +08:00
Tindy X 09c14e0222 Add error handling for loading base configurations and preference settings 2020-01-01 13:25:44 +08:00
Tindy X b1f373ee58 Add placeholders to keep correct order of proxies, groups and rules 2019-12-31 23:57:44 +08:00
Tindy X 6d6d25417b Fix a bug that when update_ruleset_on_request is set to true, rules will be missing in exported Clash/R and Mellow configurations 2019-12-31 23:50:16 +08:00
Tindy X f7a7a4a15e Fix default preferences
Fix a regular expression which may filter out some normal nodes.
Update flag rules.
2019-12-31 15:59:50 +08:00
Tindy X 68aa61fbef Bump version to v0.2.2 2019-12-31 15:51:26 +08:00
Tindy X 3b4ad47dae Bug fixes
Fix support for exporting SSD-Android compatible SSD subscriptions.
Fix format error in exporting SIP002 subscriptions.
2019-12-31 15:46:28 +08:00
Tindy X c38c1b4cf5 Bug fixes
Fix when rulesets and groups are provided in request URLs, new rules will not be used.
Fix cached rule base not updating after calling "/readconf", "/refreshrules" or "/updateconf".
2019-12-29 19:31:17 +08:00
Tindy X 914c8e9fbb Optimize codes 2019-12-28 18:40:08 +08:00
Tindy X 326db89e8c Add example for double condition filtering 2019-12-28 17:57:22 +08:00
Tindy X 1003f2fefa Bump version to v0.2.1 2019-12-28 17:52:49 +08:00
Tindy X 704a364dc2 Enhancements
Add double condition for node filtering in group generator.
Optimize codes.
2019-12-28 17:22:11 +08:00
Tindy X 579b30bfc3 Fix parser error for some Surge and Quantumult subscription 2019-12-28 15:59:45 +08:00
Tindy X 519207ae9a Add support for parsing some Shadowrocket links 2019-12-28 15:51:30 +08:00
Tindy X 2c4fedc33d Update local rulesets 2019-12-28 15:37:25 +08:00