定时推送 Rick and Morty 中的角色. API 来自网络. 仅供学习交流使用
需要最新
其他支持图片通知的 App 未测试
Scriptable 小组件 https://t.me/zhetengsha/129
- 👍6
- ❤️2
脚本地址:https://raw.githubusercontent.com/Yuheng0101/X/main/Tasks/javday.js
Boxjs订阅:https://raw.githubusercontent.com/Yuheng0101/X/main/Tasks/boxjs.json
可能你第一个节点不可用
detour 里面的 groups 第一个节点
因为还在初始化阶段
不可能开始 url test
所以要确保第一个可用
$content = $content.replace(/(https?:\/\/github\.com\/)/g, 'https://你的github加速服务/$1').replace(/"download_detour": "proxy"/g, '"download_detour": "direct"')cloudflare-utils --api-token 你的Token --zone-name 你的域名 dns-purge
setSelectPolicy getSubPolicys getSubPolicies getPolicy getSelectedPolicy 这几个 API 来回切换策略组来实现打断请求 类似这个 , QX 有 $configuration.sendMessage , Stash 有 Clash RESTful API# 来启用定时功能REQ_RULEhttp://kill-active-requests.com?REQ_RULE=TelegramREQ_NOTIFY 为 0rule 方便你查看并编写自己的正则匹配 效果图host 并将数字类型转换为字符串Env.js 或其他的逻辑来兼容非 echo-response 增加 status-code, text, base64mock 格式解析cron 脚本时,会自动生成一个定时任务
# > 自己 Gist 的分流
RULE-SET,http://self/direct,DIRECT
# > skk 佬的分流
RULE-SET,http://skk/non_ip/lan,DIRECT
# > bm7 仓库的分流
RULE-SET,http://bm7/Global_All,Proxy
# > 自建服务端 Sub-Store 的组合订阅
订阅 01 = select, policy-path=http://sub/01http://bm7/Global_Allhttps://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global_All.listhttp://self/directhttps://gist.githubusercontent.com/your_username/your_gist_id/raw/direct.listhttp://sub/01https://your_sub_store_api.com/xxxxxx/download/collection/01?target=Surge[URL Rewrite]
^http:\/\/bm7\/(.*?)(_.*)?$ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/$1/$1$2.list 302
^http:\/\/skk\/(.*?)$ https://ruleset.skk.moe/List/$1.conf 302
^http:\/\/self\/(.*)$ https://gist.githubusercontent.com/your_username/your_gist_id/raw/$1.list 302
^http:\/\/sub\/(.*)$ https://your_sub_store_api.com/xxxxxx/download/collection/$1?target=Surge 302RULE-SET,http://❤️🍟/HTTPDNS,Reject^http:\/\/xn--qeiz318m\/HTTPDNS http://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/HTTPDNS.Block.list 3023000, 且没有 /2cXaAxRGfddmGz2yx1wA 部分. Android 模块说明docker logs -f --tail 100 -f sub-store 应该有[FRONTEND] :::3001
[FRONTEND -> BACKEND] :::3001/2cXaAxRGfddmGz2yx1wA/api/ -> http://127.0.0.1:3000/api/SUB_STORE_BACKEND_MERGE 则是[BACKEND] MERGE mode is [ON].
[BACKEND && FRONTEND] 127.0.0.1:3001
[BACKEND PREFIX] 127.0.0.1:3000/2cXaAxRGfddmGz2yx1wA
[BACKEND] listening on 127.0.0.1:3001docker ps 应该有(如果你监听是本机 显示的是 127.0.0.1)0.0.0.0:3001->3001/tcp, :::3001->3001/tcpcurl http://127.0.0.1:3001/2cXaAxRGfddmGz2yx1wA/api/utils/env 应该会看到 JSON 响应{"status":"success","data":{"backend":"Node","version":"2.14.278"}}http://部署服务的IP:3001/2cXaAxRGfddmGz2yx1wA/api/utils/env, 响应同上http://你的域名/2cXaAxRGfddmGz2yx1wA/api/utils/env, 响应同上https://你的域名/2cXaAxRGfddmGz2yx1wA/api/utils/env, 响应同上https://你的域名/2cXaAxRGfddmGz2yx1wA, 应该能设置成功. 如果不成功, 查看浏览器控制台. 可能是因为 HTTPS 的前端无法访问 HTTP 后端的问题, 可都使用 HTTPS 或修改浏览器设置允许不安全的内容 参考 使用官方 Sub-Store 前端连接非本地 HTTP 后端2.14.2892.14.215 后端 2.14.278$server._geo?.countryCode, $server._geo?.country$server._unavailable_IPv4, _IPv6, _IP(若有多个步骤, 只取第一次成功的 v4 或 v6 数据), _domain 字段Uptime 这将影响 VPings 中的排序_uptime 字段URL 填入 订阅地址 如 https://sub.store/download/xxx 不要带参数Token 随便写VPings 中设置 地图风格 为 卫星叠加produceType: "internal"ProxyUtils 增加 getFlag, getISO 方法target=sing-box&produceType=internal)geo 增加关键词 德意志, JNB, SJC, SEL, AMSUser-Agent#!name=TestFlight macOS 版修复离谱超时
#!desc=会提示不兼容的硬件 但是不影响. 整合 P 佬的 TestFlight 区域限制解除
[General]
skip-proxy = %APPEND% iosapps.itunes.apple.com
[Header Rewrite]
http-request https?:\/\/testflight\.apple\.com\/v3\/accounts\/.*?/apps header-del user-agent
http-request https?:\/\/testflight\.apple\.com\/v3\/accounts\/.*?/apps header-add user-agent Oasis/3.5.1 OasisBuild/425.2 iOS/17.4 model/iPhone16,2 hwp/t8130 build/21E219 (6; dt:311) AMS/1 TSE/0
[Body Rewrite]
http-request ^https?://testflight\.apple\.com/v\d/accounts/.+?/install$ (\"storefrontId\")\s?:\s?\".+?\" $1:"143441-19,29"
[MITM]
hostname = %APPEND% testflight.apple.comBody Rewrite 功能, 使用脚本版的见 整合野比佬的区域限制解除脚本的版本