MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub

github.com/Script-Hub-Org/Script-Hub @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
753 symbols 1,767 edges 22 files 0 documented · 0% 4 cross-repo links updated 2mo ago★ 3,7419 open issues

Browse by type

Functions 693 Types & classes 60
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Script Hub

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 内容的本地预览 ## 赞助 支持我们的工作 [Patreon](https://www.patreon.com/scripthuborg)

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 507
Function 186
Class 60

Languages

TypeScript100%

Modules by API surface

Rewrite-Parser.beta.js132 symbols
Rewrite-Parser.js93 symbols
script-converter.js53 symbols
script-converter.beta.js53 symbols
rule-parser.js48 symbols
rule-parser.beta.js48 symbols
scripts/echo-response.js46 symbols
scripts/replace-header.js45 symbols
scripts/body-rewrite.js45 symbols
script-hub.js45 symbols
script-hub.beta.js45 symbols
env/env_nolog.js42 symbols

Dependencies from manifests, versioned

cross-env7.0.3 · 1×
crypto-js4.0.0 · 1×
got11.8.5 · 1×
http-server0.12.3 · 1×
iconv-lite0.6.3 · 1×
koa2.14.2 · 1×
lodash4.17.21 · 1×
nodemon3.0.0 · 1×
script-hubfile: · 1×
tough-cookie4.0.0 · 1×

For agents

$ claude mcp add Script-Hub \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page