Giter Site home page Giter Site logo

script-hub-org / script-hub Goto Github PK

View Code? Open in Web Editor NEW
2.0K 2.0K 59.0 5.94 MB

Advanced Script Converter for QX, Loon, Surge, Stash, Egern, LanceX and Shadowrocket - 重写 & 规则集转换

Home Page: https://scripthub.vercel.app

License: GNU General Public License v3.0

JavaScript 100.00%

script-hub's People

Contributors

chengkongyiban avatar keywos avatar xream avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

script-hub's Issues

请求添加转换为surge模块后 添加平台的功能

surge的模块可以通过参数system来限制是iOS还是Mac,这样如果是仅为iOS的Mac,在surge Mac的模块将不会显示这个模块,具体使用如下:
#!name=Historical price
#!desc=Display the historical prices of JD and Taobao products.
#!system=ios
[Script]

> 淘宝比价

。。。
[MITM]

圈x重写转换surge模块。使用时出现报错信息

如题,使用圈x重写转换surge模块,再使用时,surge的事件里出现红色提示:An exception was catched while evaluate script xxxx(此处为转换的脚本名):ReferenceError: Can't find variable: setInterval. line number xxx, column: xxxxx

报错的圈x重写例如:
喜马拉雅:https://raw.githubusercontent.com/WeiRen0/Scripts/main/XMVIPTY3.js
芒果tv:https://raw.githubusercontent.com/WeiRen0/Scripts/main/MGTV.js
彩云天气:https://raw.githubusercontent.com/WeiRen0/Scripts/main/cytq.js

希望同平台下的复写转换保持原有参数一致

背景:我需要用到script hub的重写排除功能(参数x=artifacts&del=),因此sgmoudle转sgmoudle希望参数不发生变化。
延展:其他相同平台的转换时候可以保持参数不变(简单测了下loon也是多了一些参数,参数值也变化了。)
环境:已安装script hub,转换keywos佬的https://raw.githubusercontent.com/Keywos/rule/main/Sub-Store/Sub-Store.sgmodule

问题点:
1.每条Script的max-suze、timeout参数跟原来的变更了,希望保持一致。
2.每条Script的ability、script-uodate-interval丢失
3.cron内的timeout变更了,希望保持一致。

Stash無法訪問script.hub

按wiki添加stash覆寫檔案,mitm已開啟並添加了CA和憑證的信任,打開script.hub警告非私人連線,點選繼續參訪為無內容的空白頁。
image
image
image
image

目标类型无效

转换的最后格式是按照安装的模块来的!
比如:安装了stash的模块,然后从QX转loon,最后的格式仍然是stash!
如果安装的是shadowrocket的模块,然后从QX转stash,最后的格式仍然是shadowrocket的格式。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.