22
33在各种订阅格式之间进行转换的实用程序.
44
5- [ ![ Build Status] ( https://github.com/tindy2013 /subconverter/actions/workflows/build.yml/badge.svg )] ( https://github.com/tindy2013 /subconverter/actions )
6- [ ![ GitHub tag (latest SemVer)] ( https://img.shields.io/github/tag/tindy2013 /subconverter.svg )] ( https://github.com/tindy2013 /subconverter/tags )
7- [ ![ GitHub release] ( https://img.shields.io/github/release/tindy2013 /subconverter.svg )] ( https://github.com/tindy2013 /subconverter/releases )
8- [ ![ GitHub license] ( https://img.shields.io/github/license/tindy2013 /subconverter.svg )] ( https://github.com/tindy2013 /subconverter/blob/master/LICENSE )
5+ [ ![ Build Status] ( https://github.com/metacubex /subconverter/actions/workflows/build.yml/badge.svg )] ( https://github.com/metacubex /subconverter/actions )
6+ [ ![ GitHub tag (latest SemVer)] ( https://img.shields.io/github/tag/metacubex /subconverter.svg )] ( https://github.com/metacubex /subconverter/tags )
7+ [ ![ GitHub release] ( https://img.shields.io/github/release/metacubex /subconverter.svg )] ( https://github.com/metacubex /subconverter/releases )
8+ [ ![ GitHub license] ( https://img.shields.io/github/license/metacubex /subconverter.svg )] ( https://github.com/metacubex /subconverter/blob/master/LICENSE )
99
1010* * *
1111
150150
1511513 . 目标类型为 ` mixed ` 时,会输出所有支持的节点的单链接组成的普通订阅(Base64编码)
152152
153- 4 . 目标类型为 ` auto ` 时,会根据请求的 ` User-Agent ` 自动判断输出的目标类型,匹配规则可参见 [ 此处] ( https://github.com/tindy2013 /subconverter/blob/master/src/handler/interfaces.cpp#L121 ) (该链接有可能因为代码修改而不能准确指向相应的代码)
153+ 4 . 目标类型为 ` auto ` 时,会根据请求的 ` User-Agent ` 自动判断输出的目标类型,匹配规则可参见 [ 此处] ( https://github.com/metacubex /subconverter/blob/master/src/handler/interfaces.cpp#L121 ) (该链接有可能因为代码修改而不能准确指向相应的代码)
154154
155155* * *
156156
@@ -402,7 +402,7 @@ http://127.0.0.1:25500/getprofile?name=%NAME%&token=%TOKEN%
402402
403403应当注意的是,此处文件内的参数** 无需进行 URLEncode** ,且此处的 ` token ` 与 ` api_mode ` 的状态无关。
404404
405- 在程序目录内的任意位置创建一个新的文档文件(推荐保存至 ` profiles ` 文件夹内,以使整洁目录及便于后续维护),如 ` formyairport.ini ` ,并仿照 [ 示例文档] ( https://github.com/tindy2013 /subconverter/blob/master/base/profiles/example_profile.ini ) 根据配置好的参数填写进去即可。
405+ 在程序目录内的任意位置创建一个新的文档文件(推荐保存至 ` profiles ` 文件夹内,以使整洁目录及便于后续维护),如 ` formyairport.ini ` ,并仿照 [ 示例文档] ( https://github.com/metacubex /subconverter/blob/master/base/profiles/example_profile.ini ) 根据配置好的参数填写进去即可。
406406
407407<details >
408408<summary >举个例子:</summary >
@@ -428,7 +428,7 @@ exclude=(流量|官网)
428428
429429> 关于 subconverter 主程序目录中 ` pref.ini ` 文件的解释,其余格式的配置文件不再赘述,与之相仿。
430430
431- 注:本部分内容以本程序中的 [ ` pref.example.ini ` ] ( https://github.com/tindy2013 /subconverter/blob/master/base/pref.example.ini ) 或 [ ` pref.example.yml ` ] ( https://github.com/tindy2013 /subconverter/blob/master/base/pref.example.yml ) 或 [ ` pref.example.toml ` ] ( https://github.com/tindy2013 /subconverter/blob/master/base/pref.example.toml ) 为准,本文档可能由于更新不及时,内容不适用于新版本。
431+ 注:本部分内容以本程序中的 [ ` pref.example.ini ` ] ( https://github.com/metacubex /subconverter/blob/master/base/pref.example.ini ) 或 [ ` pref.example.yml ` ] ( https://github.com/metacubex /subconverter/blob/master/base/pref.example.yml ) 或 [ ` pref.example.toml ` ] ( https://github.com/metacubex /subconverter/blob/master/base/pref.example.toml ) 为准,本文档可能由于更新不及时,内容不适用于新版本。
432432
433433加载配置文件时会按照` pref.toml ` 、` pref.yml ` 、` pref.ini ` 的优先级顺序加载优先级高的配置文件
434434
@@ -1155,7 +1155,7 @@ custom_proxy_group=节点选择`select`(^(?!.*(美国|日本)).*)
11551155
11561156> 本部分用于 链接参数 **`&config =`**
11571157
1158- 注:本部分内容以本程序中的 [`/config/example_external_config.ini`](https://github.com/tindy2013 /subconverter/blob/master/base/config/example_external_config.ini) 或 [`/config/example_external_config.yml`](https://github.com/tindy2013 /subconverter/blob/master/base/config/example_external_config.yml) 或 [`/config/example_external_config.toml`](https://github.com/tindy2013 /subconverter/blob/master/base/config/example_external_config.toml) 为准,本文档可能由于更新不及时,内容不适用于新版本。
1158+ 注:本部分内容以本程序中的 [`/config/example_external_config.ini`](https://github.com/metacubex /subconverter/blob/master/base/config/example_external_config.ini) 或 [`/config/example_external_config.yml`](https://github.com/metacubex /subconverter/blob/master/base/config/example_external_config.yml) 或 [`/config/example_external_config.toml`](https://github.com/metacubex /subconverter/blob/master/base/config/example_external_config.toml) 为准,本文档可能由于更新不及时,内容不适用于新版本。
11591159
11601160将文件按照以下格式写好,上传至 Github Gist 或者 其他**可访问**网络位置
11611161经过 [URLEncode](https://www.urlencoder.org/) 处理后,添加至 `&config =` 即可调用
@@ -1387,7 +1387,7 @@ http://127.0.0.1:25500/render?path=xxx&额外的调试或控制参数
13871387
13881388> 启动程序后,在本地生成对应的配置文件文本
13891389
1390- 在程序目录内的 [ generate.ini] ( https://github.com/tindy2013 /subconverter/blob/master/base/generate.ini ) 中设定文件块(` [xxx] ` ),生成的文件名(path=xxx)以及其所需要包含的参数,例如:
1390+ 在程序目录内的 [ generate.ini] ( https://github.com/metacubex /subconverter/blob/master/base/generate.ini ) 中设定文件块(` [xxx] ` ),生成的文件名(path=xxx)以及其所需要包含的参数,例如:
13911391
13921392``` ini
13931393[test]
@@ -1409,7 +1409,7 @@ profile=profiles/example_profile.ini
14091409
14101410> 自动上传 gist ,可以用于 Clash For Android / Surge 等进行远程订阅
14111411
1412- 在程序目录内的 [ gistconf.ini] ( https://github.com/tindy2013 /subconverter/blob/master/base/gistconf.ini ) 中添加 ` Personal Access Token ` ([ 在此创建] ( https://github.com/settings/tokens/new?scopes=gist&description=Subconverter ) )例如:
1412+ 在程序目录内的 [ gistconf.ini] ( https://github.com/metacubex /subconverter/blob/master/base/gistconf.ini ) 中添加 ` Personal Access Token ` ([ 在此创建] ( https://github.com/settings/tokens/new?scopes=gist&description=Subconverter ) )例如:
14131413
14141414``` ini
14151415[common]
0 commit comments