BoxJs
  • 介绍
  • 基础
    • 如何升级
    • 一些技巧
  • 进阶
    • 急救
    • 通过 PC 访问
  • 开发文档
    • 配置文档 (*.boxjs.json)
    • URL Scheme
  • awesome
    • 订阅
    • 视频
    • 图标
    • 壁纸
由 GitBook 提供支持
在本页

这有帮助吗?

  1. 开发文档

URL Scheme

收集已经知几个 App 的 URL Scheme

公开接口

由于 URL Scheme 不能直接在部分 App (Telegram 等) 以超链接的形式显示

我们提供几个的自动重定向 (302) 接口,欢迎使用:

# 前缀:
https://api.boxjs.app/loon/…
https://api.boxjs.app/quanx/…
https://api.boxjs.app/surge/…
https://api.boxjs.app/shadowrocket/…
https://api.boxjs.app/stash/…
https://api.boxjs.app/clash/…

# 实例:
loon://update?sub=all
# 转换为: 
https://api.boxjs.app/loon/update?sub=all

# 其他同理...
# 注意 url-encode

Surge:

Quantumult X:

Loon:

# 安装插件
loon://import?plugin=https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.loon.plugin

# 更新资源
loon://update?sub=all

Shadowrocket

# 安装 & 更新插件
shadowrocket://install?module=https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.surge.sgmodule

Stash

上一页配置文档 (*.boxjs.json)下一页订阅

最后更新于1年前

这有帮助吗?

https://manual.nssurge.com/others/url-scheme.html
https://github.com/crossutility/Quantumult-X/blob/master/url-scheme.md
https://stash.wiki/faq/url-schema