Enhancements

Fix compatibility with some non-standard ShadowsocksR subscription.
Add local rulesets from ConnersHua, lhie1 and NobyDa.
Add support for conversion of some nodes between Shadowsocks and ShadowsocksR format.
Add some build scripts.
Optimize default groups and rulesets.
Optimize Gist uploader.
Optimize codes and performance.
This commit is contained in:
Tindy X committed 2019-11-19 21:37:18 +08:00
1 parent 5347540475
commit abada4ec8b
101 files changed
+23754 -130

No files matched your search

+4 -3
View File
@@ -6,12 +6,13 @@
struct ruleset_content
{
std::string rule_group;
std::string rule_path;
std::string rule_content;
};
std::string netchToClash(std::vector<nodeInfo> &nodes, std::string &baseConf, std::vector<ruleset_content> &ruleset_content_array, string_array &extra_proxy_group, bool clashR);
std::string netchToSurge(std::vector<nodeInfo> &nodes, std::string &base_conf, string_array &ruleset_array, string_array &extra_proxy_group, int surge_ver);
std::string netchToClash(std::vector<nodeInfo> &nodes, std::string &base_conf, std::vector<ruleset_content> &ruleset_content_array, string_array &extra_proxy_group, bool clashR);
std::string netchToSurge(std::vector<nodeInfo> &nodes, std::string &base_conf, std::vector<ruleset_content> &ruleset_content_array, string_array &extra_proxy_group, int surge_ver);
std::string netchToSS(std::vector<nodeInfo> &nodes);
std::string netchToSSR(std::vector<nodeInfo> &nodes);
std::string netchToVMess(std::vector<nodeInfo> &nodes);
@@ -19,6 +20,6 @@ std::string netchToQuanX(std::vector<nodeInfo> &nodes);
std::string netchToQuan(std::vector<nodeInfo> &nodes);
std::string netchToSSD(std::vector<nodeInfo> &nodes, std::string &group);
std::string buildGistData(std::string name, std::string content);
int uploadGist(std::string path, std::string content, bool writeManageURL);
int uploadGist(std::string name, std::string path, std::string content, bool writeManageURL);
#endif // SUBEXPORT_H_INCLUDED