Skip to content

Commit 662c433

Browse files
committed
chore: 链接
1 parent ae531d0 commit 662c433

7 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/ISSUE_TEMPLATE/问题反馈.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
value: |
88
**先读我**
99
10-
[排查方法](https://t.me/zhetengsha/218)
10+
[排查方法](https://telegram.me/zhetengsha/218)
1111
- type: checkboxes
1212
id: read-troubleshooting
1313
attributes:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Sub-Store also supports a configurable browser CORS allowlist for the backend AP
6767

6868
### Supported Input Formats
6969

70-
[本地节点怎么写/How To Write A Local Node](https://t.me/zhetengsha/824)
70+
[本地节点怎么写/How To Write A Local Node](https://telegram.me/zhetengsha/824)
7171

7272
> ⚠️ Do not use `Shadowrocket` or `NekoBox` to export URI and then import it as input. The URIs exported in this way may not be standard URIs. However, we have already supported some very common non-standard URIs (such as VMess, VLESS).
7373
@@ -79,7 +79,7 @@ Sub-Store also supports a configurable browser CORS allowlist for the backend AP
7979
> Please note, HTTP(s) does not have a standard URI format, so it is not supported. Please use other formats.
8080
- [x] Clash Proxies YAML
8181
- [x] Clash Proxy JSON/JSON5/YAML(single line)
82-
> [NaiveProxy](https://t.me/zhetengsha/4308)
82+
> [NaiveProxy](https://telegram.me/zhetengsha/4308)
8383
- [x] QX (SS, SSR, VMess, Trojan, HTTP, SOCKS5, VLESS, AnyTLS)
8484
- [x] Loon (SS, SSR, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, WireGuard, VLESS, Hysteria 2, AnyTLS)
8585
- [x] Surge (Direct, SS, VMess, Trojan, HTTP, HTTPS, HTTP/2 CONNECT, SOCKS5, SOCKS5-TLS, AnyTLS, TrustTunnel, TUIC, Snell, Hysteria 2, SSH(Password authentication only), External Proxy Program(only for macOS), WireGuard(Surge to Surge))

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.36.5",
3+
"version": "2.36.6",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"packageManager": "pnpm@11.0.9",

backend/src/restful/miscs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function getEnv(req, res) {
129129
{
130130
status: 'success',
131131
data: {
132-
guide: '⚠️⚠️⚠️ 您当前看到的是后端的响应. 若想配合前端使用, 可访问官方前端 https://sub-store.vercel.app 后自行配置后端地址, 或一键配置后端 https://sub-store.vercel.app?api=https://a.com/xxx (假设 https://a.com 是你后端的域名, /xxx 是自定义路径). 需注意 HTTPS 前端无法请求非本地的 HTTP 后端(部分浏览器上也无法访问本地 HTTP 后端). 请配置反代或在局域网自建 HTTP 前端. 如果还有问题, 可查看此排查说明: https://t.me/zhetengsha/1068',
132+
guide: '⚠️⚠️⚠️ 您当前看到的是后端的响应. 若想配合前端使用, 可访问官方前端 https://sub-store.vercel.app 后自行配置后端地址, 或一键配置后端 https://sub-store.vercel.app?api=https://a.com/xxx (假设 https://a.com 是你后端的域名, /xxx 是自定义路径). 需注意 HTTPS 前端无法请求非本地的 HTTP 后端(部分浏览器上也无法访问本地 HTTP 后端). 请配置反代或在局域网自建 HTTP 前端. 如果还有问题, 可查看此排查说明: https://telegram.me/zhetengsha/1068',
133133
...env,
134134
},
135135
},

config/Loon-parser.plugin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resourceUrlOnly = switch,true,tag=仅使用远程资源 忽略 Loon 自身解析
1414
ua = input,"",tag=拉取订阅的 User-Agent,desc=拉取订阅的 User-Agent
1515
timeout = input,8000,tag=拉取订阅时使用的超时时间,desc=拉取订阅时使用的超时时间
1616
noCache = switch,false,tag=禁用缓存,desc=禁用缓存
17-
age-secret-key = input,"",tag=age 解密私钥,desc=age 解密私钥 可查看 https://t.me/zhetengsha/5876
17+
age-secret-key = input,"",tag=age 解密私钥,desc=age 解密私钥 可查看 https://telegram.me/zhetengsha/5876
1818

1919
[Script]
2020
generic script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-parser.loon.min.js,tag=Sub-Store Parser,timeout=900,argument=[{ua},{resourceUrlOnly},{noCache},{timeout},{age-secret-key}]

config/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Sub-Store Releases: [`https://github.com/sub-store-org/Sub-Store/releases`](https://github.com/sub-store-org/Sub-Store/releases)
66

7-
Telegram 频道: [`https://t.me/cool_scripts` ](https://t.me/cool_scripts)
7+
Telegram 频道: [`https://telegram.me/cool_scripts` ](https://telegram.me/cool_scripts)
88

99
## 服务器/云平台/Docker/Android 版
1010

@@ -39,7 +39,7 @@ SUB_STORE_CORS_ALLOWED_ORIGINS=https://sub-store.vercel.app,http://127.0.0.1:888
3939

4040
Surge Mac 版如何支持 SSR, 如何去除 HTTP 传输层以支持 类似 VMess HTTP 节点等 请查看 [链接参数说明](https://github.com/sub-store-org/Sub-Store/wiki/%E9%93%BE%E6%8E%A5%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E)
4141

42-
定时处理订阅 功能, 避免 App 内拉取超时, 请查看 [定时处理订阅](https://t.me/zhetengsha/1449)
42+
定时处理订阅 功能, 避免 App 内拉取超时, 请查看 [定时处理订阅](https://telegram.me/zhetengsha/1449)
4343

4444
0. 最新 Surge iOS TestFlight 版本 可使用 Beta 版(支持最新 Surge iOS TestFlight 版本的特性): [`https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge-Beta.sgmodule`](https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge-Beta.sgmodule)
4545

scripts/demo.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
function operator(proxies = [], targetPlatform, context) {
22
// 支持快捷操作 不一定要写一个 function
3-
// 可参考 https://t.me/zhetengsha/970
4-
// https://t.me/zhetengsha/1009
3+
// 可参考 https://telegram.me/zhetengsha/970
4+
// https://telegram.me/zhetengsha/1009
55

66
// proxies 为传入的内部节点数组
77
// 可在预览界面点击节点查看 JSON 结构 或查看 `target=JSON` 的通用订阅
8-
// 1. 结构大致参考了 Clash.Meta(mihomo), 可参考 mihomo 的文档, 例如 `xudp`, `smux` 都可以自己设置. 但是有私货, 下面是我能想起来的一些私货. 顺便说一下, 关于 mihomo 不支持的协议, 其实也可以用 JSON/JSON5/YAML 格式来输入, 写法可参考使用 includeUnsupportedProxy 参数或开启 包含官方/商店版不支持的协议 开关时的 mihomo 输出内容, 例如 NaiveProxy 输入写法 (https://t.me/zhetengsha/4308)
8+
// 1. 结构大致参考了 Clash.Meta(mihomo), 可参考 mihomo 的文档, 例如 `xudp`, `smux` 都可以自己设置. 但是有私货, 下面是我能想起来的一些私货. 顺便说一下, 关于 mihomo 不支持的协议, 其实也可以用 JSON/JSON5/YAML 格式来输入, 写法可参考使用 includeUnsupportedProxy 参数或开启 包含官方/商店版不支持的协议 开关时的 mihomo 输出内容, 例如 NaiveProxy 输入写法 (https://telegram.me/zhetengsha/4308)
99
// 2. `_no-resolve` 为不解析域名
1010
// 3. 域名解析后 会多一个 `_resolved` 字段, 表示是否解析成功
1111
// 4. 域名解析后会有`_IPv4`, `_IPv6`, `_IP`(若有多个步骤, 只取第一次成功的 v4 或 v6 数据), `_IP4P`(若解析类型为 IPv6 且符合 IP4P 类型, 将自动转换), `_domain` 字段, `_resolved_ips` 为解析出的所有 IP
@@ -21,7 +21,7 @@ function operator(proxies = [], targetPlatform, context) {
2121
// 输出到 Clash/Stash 时, 会过滤掉配置了前置代理的节点, 并提示使用对应的功能.
2222
// 9. `trojan`, `tuic`, `hysteria`, `hysteria2`, `juicity` 会在解析时设置 `tls`: true (会使用 tls 类协议的通用逻辑), 输出时删除
2323
// 10. `sni` 在某些协议里会自动与 `servername` 转换
24-
// 11. 读取节点的 ca-str 和 _ca (后端文件路径) 字段, 自动计算 fingerprint (参考 https://t.me/zhetengsha/1512)
24+
// 11. 读取节点的 ca-str 和 _ca (后端文件路径) 字段, 自动计算 fingerprint (参考 https://telegram.me/zhetengsha/1512)
2525
// 12. 以 Surge 为例, 最新的参数一般我都会跟进, 以 Surge 文档为例, 一些常用的: TUIC/Hysteria 2 的 `ecn`, Snell 的 `reuse` 连接复用, QUIC 策略 block-quic`, Hysteria 2 下载带宽 `down`
2626
// Surge 的 `private-key`/`client-cert` 对应内部字段 `keystore-private-key`/`keystore-client-cert`, 值都是 Surge `[Keystore]` 里的密钥库条目名, 不是证书/密钥内容或本地路径
2727
// 例如: $server['keystore-private-key'] = 'ssh-key-name' 输出 Surge SSH 时会生成 private-key="ssh-key-name"
@@ -39,7 +39,7 @@ function operator(proxies = [], targetPlatform, context) {
3939
// 21. 2.21.59 开始, `sing-box` 支持使用 `ech-opts` 结构设置 `tls` 的 `ech`. 参考 https://github.com/sub-store-org/Sub-Store/pull/563/changes 基本沿用 mihomo 风格, mihomo 部分字段自动转换. URI `ech` 与 mihomo `ech-opts` 会互转: base64 ECHConfigList 使用 `ech-opts.config`; Xray 的 DNS server 写法(如 `https://1.1.1.1/dns-query` 或 `example.com+https://1.1.1.1/dns-query`)会把 DNS server 放到 `ech-opts._dns`, 显式查询域名放到 `ech-opts.query-server-name`. mihomo 不支持在 ech-opts 中配置 ECH DNS. 如需跟节点 ECH 配置一致, 请在 mihomo 配置文件里设置, 可参考: `dns["nameserver-policy"]["cloudflare-ech.com"] = ["https://dns.alidns.com/dns-query"]` . 反向输出 URI 时, 可设置 `ech-opts._dns` 来拼回 `ech`; 如果只设置 `query-server-name` 且未设置 `_dns`, 默认使用 `https://dns.alidns.com/dns-query` 并输出 warn 日志, 自定义 root DNS 请设置 `ech-opts._dns`. XHTTP `download-settings` 里嵌套的 TLS ECH 同样支持, 其中 `echForceQuery`/`echSockopt` 分别对应 `ech-opts._force-query`/`ech-opts._sockopt`, 嵌套 DNS 可设置 `xhttp-opts.download-settings.ech-opts._dns`
4040
// 22. `sing-box` 支持使用完整的 `_curve_preferences` 结构设置 `tls` 的 `curve_preferences`
4141
// 23. `interface-name` 指定流量出站接口 只给 Surge 用的话, `interface` 也可以
42-
// 24. Surge for macOS 可手动指定链接参数 target=SurgeMac 或在 同步配置 中指定 SurgeMac 来启用 mihomo 支援 Surge 本身不支持的协议, 详见 https://t.me/zhetengsha/1735 . 设置节点字段 `_mihomoExternal` 为 `true` 可强制指定使用 mihomo External Proxy Program 输出该节点. 节点字段 _exec 为 mihomo 路径, 默认 /usr/local/bin/mihomo; 节点字段 _localPort 端口为初始端口号, 逐个递减, 默认为 65535. _merge 为开启仅一个 mihomo 进程+多个 listeners 的模式, 此时仅有一个 mihomo External Proxy Program, 节点会转成 SOCKS5, _mergeName 可设置这个 mihomo 节点的名字(默认为 mihomo merged); _config 对象可覆盖默认配置, _defaultNameserver(默认为 [ '180.76.76.76', '52.80.52.52', '119.28.28.28', '223.6.6.6' ]) 和 _nameserver (默认为 [ 'https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query', 'https://doh-pure.onedns.net/dns-query' ]) 为数组 用于自定义 mihomo 的 default-nameserver 和 nameserver
42+
// 24. Surge for macOS 可手动指定链接参数 target=SurgeMac 或在 同步配置 中指定 SurgeMac 来启用 mihomo 支援 Surge 本身不支持的协议, 详见 https://telegram.me/zhetengsha/1735 . 设置节点字段 `_mihomoExternal` 为 `true` 可强制指定使用 mihomo External Proxy Program 输出该节点. 节点字段 _exec 为 mihomo 路径, 默认 /usr/local/bin/mihomo; 节点字段 _localPort 端口为初始端口号, 逐个递减, 默认为 65535. _merge 为开启仅一个 mihomo 进程+多个 listeners 的模式, 此时仅有一个 mihomo External Proxy Program, 节点会转成 SOCKS5, _mergeName 可设置这个 mihomo 节点的名字(默认为 mihomo merged); _config 对象可覆盖默认配置, _defaultNameserver(默认为 [ '180.76.76.76', '52.80.52.52', '119.28.28.28', '223.6.6.6' ]) 和 _nameserver (默认为 [ 'https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query', 'https://doh-pure.onedns.net/dns-query' ]) 为数组 用于自定义 mihomo 的 default-nameserver 和 nameserver
4343
// 25. VLESS xhttp URI 的 extra 默认会拆成两部分处理: mihomo 已支持的字段会解析到节点的结构化字段并在输出 URI 时重新组装; extra 里 mihomo 还不支持的字段只会保存在 `_extra_unsupported` 对象里. 输出 URI 时会用“当前结构化字段 + _extra_unsupported”一起构造 extra, 这样既不会让旧 raw extra 覆盖后来修改过的 mihomo 字段, 也能避免 VLESS URI -> VLESS URI 的流程里把暂不支持的 extra 字段丢掉. 但如果节点上显式设置了 `_extra`, 且它是字符串或普通对象, 那么输出 URI 时 extra 会直接使用 `_extra` (对象会自动转成 JSON 字符串), 不再重组结构化字段. 这是为了方便手动自定义 extra, 不用再一个个同步那些本来会影响 extra 的其它字段
4444
// 修改/设置 extra 举例:
4545
// 如果是你写的全是 mihomo 已经支持的格式 就直接按 mihomo 的设置
@@ -145,7 +145,7 @@ function operator(proxies = [], targetPlatform, context) {
145145
// const obj = JSON.parse(body)
146146

147147
// scriptResourceCache 缓存
148-
// 可参考 https://t.me/zhetengsha/1003
148+
// 可参考 https://telegram.me/zhetengsha/1003
149149
// const cache = scriptResourceCache
150150
// 写入
151151
// 第三个参数为自定义过期时间(单位: 毫秒)
@@ -192,7 +192,7 @@ function operator(proxies = [], targetPlatform, context) {
192192
// DOMAIN_RESOLVERS 为内置域名解析, 详见 backend/src/core/proxy-utils/processors/index.js
193193

194194
// ProxyUtils 为节点处理工具
195-
// 可参考 https://t.me/zhetengsha/1066
195+
// 可参考 https://telegram.me/zhetengsha/1066
196196
// const ProxyUtils = {
197197
// parse, // 订阅解析
198198
// process, // 节点操作/文件操作
@@ -213,7 +213,7 @@ function operator(proxies = [], targetPlatform, context) {
213213
// encrypt, // age 加密, 返回 armored 文本
214214
// decrypt, // age 解密, 非 armored 文本会原样返回
215215
// },
216-
// MMDB, // Node.js 环境 可用于模拟 Surge/Loon 的 $utils.ipasn, $utils.ipaso, $utils.geoip. 具体见 https://t.me/zhetengsha/1269
216+
// MMDB, // Node.js 环境 可用于模拟 Surge/Loon 的 $utils.ipasn, $utils.ipaso, $utils.geoip. 具体见 https://telegram.me/zhetengsha/1269
217217
// isValidUUID, // 辅助判断是否为有效的 UUID
218218
// doh, // DNS over HTTPS 解析, 源码见 backend/src/utils/dns.js, 使用参考本项目里调用方式 backend/src/core/proxy-utils/processors/index.js
219219
// Buffer, // https://github.com/feross/buffer
@@ -223,7 +223,7 @@ function operator(proxies = [], targetPlatform, context) {
223223
// }
224224
// 为兼容 https://github.com/xishang0128/sparkle 的 JavaScript 覆写, 也可以直接使用 `b64d`(Base64 解码), `b64e`(Base64 编码), `Buffer`, `yaml`(简单兼容了下 `yaml.parse` 和 `yaml.stringify`)
225225

226-
// 如果只是为了快速修改或者筛选 可以参考 脚本操作支持节点快捷脚本 https://t.me/zhetengsha/970 和 脚本筛选支持节点快捷脚本 https://t.me/zhetengsha/1009
226+
// 如果只是为了快速修改或者筛选 可以参考 脚本操作支持节点快捷脚本 https://telegram.me/zhetengsha/970 和 脚本筛选支持节点快捷脚本 https://telegram.me/zhetengsha/1009
227227
// ⚠️ 注意: 函数式(即本文件这样的 function operator() {}) 和快捷操作(下面使用 $server) 只能二选一
228228
// 示例: 给节点名添加前缀
229229
// $server.name = `[${ProxyUtils.getISO($server.name)}] ${$server.name}`
@@ -278,9 +278,9 @@ function operator(proxies = [], targetPlatform, context) {
278278
// 2. sing-box
279279

280280
// 但是一般不需要这样用, 可参考
281-
// 1. https://t.me/zhetengsha/1111
282-
// 2. https://t.me/zhetengsha/1070
283-
// 3. https://t.me/zhetengsha/1241
281+
// 1. https://telegram.me/zhetengsha/1111
282+
// 2. https://telegram.me/zhetengsha/1070
283+
// 3. https://telegram.me/zhetengsha/1241
284284

285285
// let singboxProxies = await produceArtifact({
286286
// type: 'subscription', // type: 'subscription' 或 'collection'
@@ -295,9 +295,9 @@ function operator(proxies = [], targetPlatform, context) {
295295
// 3. clash.meta
296296

297297
// 但是一般不需要这样用, 可参考
298-
// 1. https://t.me/zhetengsha/1111
299-
// 2. https://t.me/zhetengsha/1070
300-
// 3. https://t.me/zhetengsha/1234
298+
// 1. https://telegram.me/zhetengsha/1111
299+
// 2. https://telegram.me/zhetengsha/1070
300+
// 3. https://telegram.me/zhetengsha/1234
301301

302302
// let clashMetaProxies = await produceArtifact({
303303
// type: 'subscription',
@@ -310,7 +310,7 @@ function operator(proxies = [], targetPlatform, context) {
310310
// })
311311

312312
// 4. 一个比较折腾的方案: 在脚本操作中, 把内容同步到另一个 gist
313-
// 见 https://t.me/zhetengsha/1428
313+
// 见 https://telegram.me/zhetengsha/1428
314314
//
315315
// const content = ProxyUtils.produce([...proxies], platform)
316316

@@ -339,7 +339,7 @@ function operator(proxies = [], targetPlatform, context) {
339339

340340
// flowUtils 为机场订阅流量信息处理工具
341341
// 可参考:
342-
// 1. https://t.me/zhetengsha/948
342+
// 1. https://telegram.me/zhetengsha/948
343343

344344
// context 为传入的上下文, 可在多个脚本中共享使用
345345
// 其中 env 为 环境信息, 包含运行版本和其他后端信息

0 commit comments

Comments
 (0)