TGViewer
Cool Scripts Cool Scripts @cool_scripts · 16.3K subscribers
Post #870 1.61K
🔗 Sub-Store 更新

后端 2.19.84

Node 环境:

之前支持环境变量 SUB_STORE_DATA_URL 设置一个远程数据文件链接, 这样每次启动都会从这个地址拉取并恢复数据

如果要从 Gist 恢复, 注意这里要用 Raw 链接, 且应该用固定的最新版本链接, 可以加上 noCache 不缓存, 大概长这样 https://gist.githubusercontent.com/[gist username]/[gist ID]/raw/[file name]#noCache, 例如 SUB_STORE_DATA_URL="https://gist.githubusercontent.com/username/id/raw/Sub-Store#noCache"

但是现在 Gist 备份无 GitHub Token 了很不方便. 想着都要加东西了 不如搞得灵活点

于是新增了一个环境变量 SUB_STORE_DATA_URL_POST 执行自定义命令

例如结合上面的 SUB_STORE_DATA_URL 拉取到远程数据后, 修改某些字段. 例如: SUB_STORE_DATA_URL_POST="content.settings.gistToken='xxxxxxxxx'" 实现设置 GitHub Token

🤭 Sub-Store 合集

🥰 #SubStore #更新记录 #changlog #updates
  • ❤ 1
More from @cool_scripts
  1. Sep 27, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.42.0 🌐 前端: 2.34.0 ▎使用 shoutrrr-ts Docker 版也移除了 shoutrrr 二进制 感谢 D…
  2. Sep 26, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.41.1 🌐 前端: 2.34.0 ▎调整 sing-box SSH 密钥逻辑 感谢群友 shica 的反馈 ▎调整 SS UR…
  3. Sep 23, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.41.0 🌐 前端: 2.34.0 ▎📦 sing-box WireGuard/Tailscale 支持一些 sing-box…
  4. Sep 19, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.9 🌐 前端: 2.32.2 ▎🎈 Loon 支持 server-dns 用于指定解析节点服务器域名的 DNS Loon…
  5. Sep 12, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.6 🌐 前端: 2.32.2 ▎🐿️ Egern 支持转换 ip-version 感谢群友 shica 的反馈 自动转换…
  6. Sep 11, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.4 🌐 前端: 2.32.0 ▎SubCase 1.3 新增通知栏快捷开关 (Quick Settings Tile) 新…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →