Script Hub
Advanced Script Converter for QX, Loon, Surge, Stash, Egern, LanceX and Shadowrocket
重写 & 规则集转换
## 社群
👏🏻 欢迎加入社群进行交流讨论
👥 群组 [张佩服(群组)](https://t.me/zhangpeifu) & [折腾啥(群组)](https://t.me/zhetengsha_group)
📢 频道 [张佩服(频道)](https://t.me/h5683577) & [折腾啥(频道)](https://t.me/zhetengsha)
## 简介
• 支持将 QX 重写解析至 Surge Shadowrocket Loon Stash
• 支持将 Surge 模块解析至 Loon Stash
• 支持将 Loon 插件解析至 Surge Shadowrocket Stash
• 支持 QX & Surge & Loon & Shadowrocket & Clash 规则集解析,适用 app: Surge Shadowrocket Stash Loon
• 支持 将 QX 脚本转换成 Surge 脚本(兼容)
• 可以修改参数 argument
• 支持一键导入 Shadowrocket / Loon / Stash
• 高级功能 OR 修改任意文本
• 如果某些模块需要 `加参数才能使用` 但只想用远程链接,不想拉取到本地模块的情况 可以直接使用 `纯文本` -> `高级操作`、`修改参数` 功能修改远程链接 `任意内容` 或者 `argument` 参数, 不用再复制到本地模块
• [🆕 不需要代理 app 的全服务器部署版(测试中)]()
• 相关生态: [Surge 模块工具](https://github.com/Script-Hub-Org/Script-Hub/wiki/%E7%9B%B8%E5%85%B3%E7%94%9F%E6%80%81:-Surge-%E6%A8%A1%E5%9D%97%E5%B7%A5%E5%85%B7) 支持一键导入 Surge, 需要下载「Scriptable」app. 如果想把其他非 Script Hub 转换的 模块放在本地, 也可单独用此脚本
## 文档
[安装体验请查看文档](https://github.com/Script-Hub-Org/Script-Hub/wiki)
## 鸣谢
Powered by [_@Chavy‘s_](https://github.com/chavyleung) [Env.js](https://github.com/chavyleung/scripts)
原脚本作者 @小白脸
脚本修改[_@chengkongyiban_](https://github.com/chengkongyiban)
大量借鉴[_@KOP-XIAO_](https://github.com/KOP-XIAO)佬的[resource-parser.js](https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/resource-parser.js)
感谢[_@xream_](https://github.com/xream) 佬提供与 [_@keywos_](https://github.com/keywos) 修改 `本项目 Script Hub 网页前端`, [replace-header.js](https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/scripts/replace-header.js),[echo-response.js](https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/scripts/echo-response.js),[script-converter.js](https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/script-converter.js)
感谢[_@mieqq_](https://github.com/mieqq) 佬提供的[replace-body.js](https://github.com/mieqq/mieqq/raw/master/replace-body.js), 本项目中已进行修改
感谢[_@Maasea_](https://github.com/Maasea) 佬的指导
项目 logo 感谢 [_@Toperlock_](https://github.com/Toperlock)
插件图标用的 [_@Keikinn_](https://github.com/Keikinn) 佬的 [StickerOnScreen](https://github.com/KeiKinn/StickerOnScreen)项目,以及 [_@Toperlock_](https://github.com/Toperlock) 佬的 [QX 图标库](https://github.com/Toperlock/Quantumult/tree/main/icon)项目,感谢
## 开发
`pnpm preview` html 内容的本地预览