TGViewer
Cool Scripts Cool Scripts @cool_scripts · 16.3K subscribers
Post #149 11.8K
#Surge #httpAPI #Shortcuts

Surge

通过快捷指令控制 Surge

现有功能:
开关模块、运行 Cron 脚本、更改出站模式、刷新DNS缓存、重载配置等

使用方法:
目前只有 tf 版 Surge 可以使用,在配置文件 General 段填写 httpAPI 配置

[General]
http-api = mieq@0.0.0.0:6166

然后填入快捷指令第一行,如:
Host:localhost
Port:6166
X-Key:mieq

已知问题:
httpAPI 获取的脚本列表包含禁用的脚本,但禁用的脚本会运行不了(build 1788 已解决)

下载:

快捷指令地址

开发不易,点个✨吧~
如果发现有bug,欢迎反馈。
🔔频道: Cool Scripts
🧑🏻‍💻作者: @mieqq
  • ❤ 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 →