感谢染指和 Tartarus 等最近的努力!
▎新增了 Loon 相关的逻辑, 修复了 Surge 相关的逻辑
欢迎 PR. 但是需要维护. 可先 PR 到 beta 文件里
- 👍6
- ❤️2
iOS 17+,需开启开发者模式。
脚本内 PIN 配对,不用装别的 App。定点、步行/跑步/骑行/驾车、多方案路线、手绘路径、摇杆、GPX、全球搜索,锁屏和灵动岛卡片可一键恢复真实位置。
等应用更新(作者说今晚或明早)
· 目前只能用 Scripting 自带 VPN,会顶掉代理工具
· 锁屏可能掉线(定点会自动重连)
· 模拟时查不到地名,显示坐标
· 3D 视角下点选不精确,按中央准星落点
系统限制,不会改
· 银行保险这类应用识别得出,改不了
· 停止后地图未必立刻回真实位置(Xcode 也一样),开地图 App 触发一次
· 重启后要重新配对
问题走 GitHub Issue,别贴配对记录。
承接频道/群广告
有需要的老板可以私聊联系
填写手机号和密码后预览,预览若收到新设备验证码,填写验证码后再预览
accept-incoming = true: other devices on your tailnet can connect to this device through its tailnet address. For example, they can use Surge's HTTP/SOCKS5 proxy or other services running on this device.advertise-exit-node = true: offer this device as an exit node. Other tailnet devices that select it send all their internet traffic through Surge's rules.advertise-routes = 192.168.1.0/24, ...: offer this device as a subnet router for the listed networks.accept-incoming = true: the peer side can open connections to this device through an existing tunnel.listen-port = 51820: Surge acts as a WireGuard server that phones, laptops, and other clients can connect to. A peer can leave out endpoint; Surge learns the client's address when it connects and keeps up when the address changes.SRC-IP to limit who can reach which destination.
特别说明:协议与设备令牌算法移植自 stevenjoezhang/hass-state-grid(MIT License, Copyright (c) 2026 stevenjoezhang)
参考来源:https://raw.githubusercontent.com/zhaohantao1360-hash/Hark/main/sgcc-hark.yaml
https://raw.githubusercontent.com/githubdulong/Script/master/Scriptable/SGCC.js
block-quic=adaptive for proxy policies. Surge blocks QUIC at first so the app falls back to HTTPS over TCP. If the app does not fall back within 1 second, as with apps that only support QUIC, QUIC is allowed for that host. Results are remembered per host. The option is also available in the proxy editor on Mac and iOS.block-quic=auto now uses adaptive mode for every policy except DIRECT, so QUIC-only apps keep working through proxies. Policies that cannot relay UDP still block QUIC.GET /v1/policies of the HTTP API now accepts the include_external=true query parameter. The response then contains an additional external-policies field that lists the policies loaded from external policy groups (policy-path). Each entry includes the policy name, the group it belongs to, and an identifier. Pass the identifier as the policy option of $httpClient to send a request through that policy, since external policies cannot be referenced by name.