Cool Scripts
16.6K subscribers
364 photos
24 videos
3 files
629 links
QuanX, Loon, Surge, JsBox, Pythonista, Scriptable, Shortcuts等脚本分享
Download Telegram
🔗 Sub-Store 更新

后端 2.19.28

- 修复 URI 输出

感谢 反馈

🤭 Sub-Store 合集
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

后端 2.19.29

- SS 解析增加默认节点名

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
1
🔗 Sub-Store 更新

后端 2.19.30

- 简单实现了 SUB_STORE_MMDB_CRON 定时更新 MMDB

ASN 需要设置环境变量 SUB_STORE_MMDB_ASN_PATH, SUB_STORE_MMDB_ASN_URL

COUNTRY 需要设置环境变量 SUB_STORE_MMDB_COUNTRY_PATH, SUB_STORE_MMDB_COUNTRY_URL

以后再优化...其实我还是喜欢用 crontab 自己 curl 一把梭

感谢 @Momiji233 的建议

- 脚本中新增 ProxyUtils.downloadFile 方便下载二进制文件

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

后端 2.19.31 前端 2.15.17

- 忽略失败的远程选择支持开启通知(如图)

文件的远程也支持

感谢 @Momiji233 的建议

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置
在最新的 iOS 版本中,为 Surge 的托管配置、外部资源和模块 HTTP 请求,新增了 X-Surge-Unlocked-Features 字段,用于服务器判定 Surge 已解锁的功能以区分返回结果

详见 频道消息

在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置

const headers = $options?._req?.headers
const features = (headers?.['x-surge-unlocked-features'] || headers?.['X-Surge-Unlocked-Features'])?.split(/\s*,\s*/)
console.log(features)
// 如果包含某个功能
if (features?.includes('encrypted-dns')) {
// 就修改内容
$content = $content.replace(/a/,'b')
}


🤭 Sub-Store 合集

🥰 #SubStore #Sub-Store #小课堂 #tips #配置 #解锁 #功能 #托管 #脚本
Please open Telegram to view this post
VIEW IN TELEGRAM
4
🔗 Sub-Store 更新

后端 2.19.33

- 输出到 Clash/Stash/Shadowrocket 时, 会过滤掉配置了前置代理的节点, 并提示使用对应的功能

感谢 issue 反馈

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

后端 2.19.34

- 兼容 🚀Shadowrocket 非标 VMess URI 输入中的 peer(sni)

感谢群友 @xs6870 的反馈

URI 是有规范的, 通常 Sub-Store 只会兼容标准规范. 某些特别常见的不规范的也会进行兼容.

但是:

不要使用 ShadowrocketNekoBox 来导出 URI 然后作为输入导入。这样导出的 URI 有可能不是标准的 URI。

不建议使用非标的 URI 输入

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
1
🔗 Sub-Store 更新

后端 2.19.36

- 兼容非标 Shadowsocks URI 输入

感谢群友 @PaKoiii 的反馈

- 📦 sing-box Hysteria up/down 跟文档不一致, 但是懒得全转, 只处理最常见的 Mbps

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

前端 2.15.18

- 将 watch(list, ...) 修改为 watch(() => list, ...) ,以兼容 Vue 3.5+ 对解构 props 直接传递给 watch 的严格校验。
- 该变动解决了云端(如 Cloudflare Pages)构建失败的问题,保证本地和云端环境均可正常编译。
- 不影响原有功能和响应式逻辑,仅为兼容性修复


感谢 PR!

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
1
🔗 Sub-Store 更新

前端 2.15.19

- 修复从剪贴板导入节点操作时丢失自定义操作名称的问题

感谢群友 用户 881031632 的反馈

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
1
🔗 Sub-Store 更新

后端 2.19.37

- 🌀 QX 正式支持 SS2022

😭 QX 频道消息

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
🔗 Sub-Store 更新

前端 2.15.20

- 修复从剪贴板导入节点操作时丢失自定义操作名称的问题

上次没修好

感谢群友 用户 881031632 的反馈

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

后端 2.19.39

- 修复 QX VMess aead

感谢老张的反馈

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

后端 2.19.40

- 修复 Surge/Loon VMess aead

感谢老张的反馈

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 检测脚本更新

- 检测入口 脚本支持使用正则从响应获取数据

使用场景: 从网页响应中获取某些信息, 自定义节点名称

举例: 把节点名从繁体转为简体

https://translate.google.com/m?sl=zh-tw&tl=zh-cn&hl=zh-cn&q={{proxy.name}}

a:<div class="result-container">(.+?)<\/div>

{{api.a}}

🤭 Sub-Store 合集

🥰 #Sub-Store #SubStore #脚本 #节点 #订阅 #检测 #check #HTTP-META #HTTPMETA #Meta #Clash #脚本 #Node #服务器 #VPS
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store-Manager-Cli 更新

Lee 佬发力了

🥰 查看

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
👍21
🔗 Sub-Store 更新

前端 2.15.21

- 修复 Surge(macOS) 选项

感谢群友 @yyhhyyyyyy 的 PR!

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
🔗 Sub-Store 更新

前端 2.15.22

- 添加透明覆盖层,以在滑动操作进行时捕获点击。
- 延迟设置 swipeIsOpen 状态,以确保滑动动画完成。
- 防止在点击滑动内容时打开预览面板。
- 改进点击处理,以正确关闭滑动状态。

感谢群友 @yyhhyyyyyy 的 PR!

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3🎉1
🔗 Sub-Store 更新

后端 2.19.42

- 单条订阅和文件支持链接参数 produceType raw, 此时返回原始数据的数组

后端支持了 前端还得等 现在可以手动拼参数 详见此消息

- Node.js 环境下 API / 路由不自动跳转到 sub-store.vercel.app

之前造成了很多误解. 但是其实我没想明白为啥写的那么明白了, 还有人直接访问后端 /

暂定展示 env 信息

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
Please open Telegram to view this post
VIEW IN TELEGRAM
1