Open SoraKasvgano opened 2 years ago
ql repo <repourl> <path> <blacklist> <dependence> <branch>
ql raw <fileurl>
下面是示例
FAKER3
ql repo https://git.metauniverse-cn.com/https://github.com/shufflewzc/faker3.git "jd_|jx_|gua_|jddj_|jdCookie" "activity|backUp" "^jd[^_]|USER|function|utils|sendNotify|ZooFaker_Necklace.js|JDJRValidator_|sign_graphics_validate|ql|JDSignValidator|magic|depend|h5sts" "main"
KingRan
ql repo https://github.com/KingRan/KR.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql|JDJR"
``
Unknown 备份托管等
JDHelloWorld
ql repo https://github.com/JDHelloWorld/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|enen|update|test" "^jd[^_]|USER|^TS|utils|notify|env|package|ken.js"
he1pu(自动提交助力码-京喜工厂、种豆得豆、东东工厂、东东农场、健康社区、京喜财富岛、东东萌宠、闪购盲盒,随机从数据库中选取助力码互助)
he1pu
ql repo https://github.com/he1pu/JDHelp.git "jd_|jx_|getJDCookie" "Coupon|update" "^jd[^_]|USER|^sign|^ZooFaker|utils"
shufflewzc
ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils|^JS|^TS|^JDJRValidator_Pure|^ZooFaker|^sign"
Aaron-lv
ql repo https://github.com/Aaron-lv/sync.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon" "^jd[^_]|USER|utils" "jd_scripts"
panghu999(无维护)
panghu999
ql repo https://github.com/panghu999/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|jd_try|format_" "^jd[^_]|USER"
chinnkarahoi(无维护)
chinnkarahoi
ql repo https://github.com/chinnkarahoi/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon" "^jd[^_]|USER"
passerby-b
ql repo https://github.com/passerby-b/JDDJ.git "jddj_" "scf_test_event|jddj_fruit_code.js|jddj_getck.js|jd_|jddj_cookie"
curtinlv
ql repo https://github.com/curtinlv/JD-Script.git "jd_"
smiek2221
ql repo https://github.com/smiek2221/scripts.git "jd_|gua_" "" "^MovementFaker|^JDJRValidator|^ZooFaker|^sign"
cdle
ql repo https://github.com/cdle/xdd.git "jd_" "disposable|expired|jdc"
ZCY01
ql repo https://github.com/ZCY01/daily_scripts.git "jd_"
whyour/hundun
ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env"
moposmall
ql repo https://github.com/moposmall/Script.git "Me"
Ariszy (Zhiyi-N)
ql repo https://github.com/Ariszy/Private-Script.git "JD"
photonmang
ql repo https://github.com/photonmang/quantumultX.git "JDscripts"
jiulan
ql repo https://github.com/jiulan/platypus.git "jd_|jx_" "" "overdue" "main"
star261
ql repo https://github.com/star261/jd.git "jd_|star" "" "code" "main"
Wenmoux
ql repo https://github.com/Wenmoux/scripts.git "other|jd" "" "" "wen"
Tsukasa007
ql repo https://github.com/Tsukasa007/my_script.git "jd_|jx_" "jdCookie|USER_AGENTS|sendNotify|backup" "" "master"
﹢
curtinlv﹢ 入会 ql raw https://raw.githubusercontent.com/curtinlv/JD-Script/main/OpenCard/jd_OpenCard.py 关注 ql raw https://raw.githubusercontent.com/curtinlv/JD-Script/main/getFollowGifts/jd_getFollowGift.py chiupam 京喜工厂瓜分电力开团 ID ql raw https://raw.githubusercontent.com/chiupam/JD_Diy/master/pys/activeId.py Aaron-lv+ 财富岛 ql raw https://raw.githubusercontent.com/Aaron-lv/sync/jd_scripts/jd_cfd.js or ql repo https://github.com/Aaron-lv/sync.git "jd_cfd" "" "" "jd_scripts" Wenmoux+ 口袋书店 ql raw https://raw.githubusercontent.com/Wenmoux/scripts/wen/jd/chinnkarahoi_jd_bookshop.js or ql repo https://github.com/Wenmoux/scripts.git "chinnkarahoi_jd_bookshop" "" "" "wen" NobyDa 京东多合一签到脚本
curtinlv﹢
入会 ql raw https://raw.githubusercontent.com/curtinlv/JD-Script/main/OpenCard/jd_OpenCard.py 关注 ql raw https://raw.githubusercontent.com/curtinlv/JD-Script/main/getFollowGifts/jd_getFollowGift.py
入会
ql raw https://raw.githubusercontent.com/curtinlv/JD-Script/main/OpenCard/jd_OpenCard.py
关注
ql raw https://raw.githubusercontent.com/curtinlv/JD-Script/main/getFollowGifts/jd_getFollowGift.py
chiupam
京喜工厂瓜分电力开团 ID ql raw https://raw.githubusercontent.com/chiupam/JD_Diy/master/pys/activeId.py
京喜工厂瓜分电力开团 ID
ql raw https://raw.githubusercontent.com/chiupam/JD_Diy/master/pys/activeId.py
Aaron-lv+
财富岛 ql raw https://raw.githubusercontent.com/Aaron-lv/sync/jd_scripts/jd_cfd.js or ql repo https://github.com/Aaron-lv/sync.git "jd_cfd" "" "" "jd_scripts"
财富岛
ql raw https://raw.githubusercontent.com/Aaron-lv/sync/jd_scripts/jd_cfd.js
or
ql repo https://github.com/Aaron-lv/sync.git "jd_cfd" "" "" "jd_scripts"
Wenmoux+
口袋书店 ql raw https://raw.githubusercontent.com/Wenmoux/scripts/wen/jd/chinnkarahoi_jd_bookshop.js or ql repo https://github.com/Wenmoux/scripts.git "chinnkarahoi_jd_bookshop" "" "" "wen"
口袋书店
ql raw https://raw.githubusercontent.com/Wenmoux/scripts/wen/jd/chinnkarahoi_jd_bookshop.js
ql repo https://github.com/Wenmoux/scripts.git "chinnkarahoi_jd_bookshop" "" "" "wen"
NobyDa
京东多合一签到脚本
ql raw https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js
ql repo https://github.com/NobyDa/Script.git "JD-DailyBonus" "" "JD_DailyBonus" "master"
monk-coder
ql repo https://github.com/monk-dust/dust.git "i-chenzhe|normal|member|car" "backup"
hyzaw
ql repo https://github.com/hyzaw/scripts.git "ddo_"
zooPanda
ql repo https://github.com/zooPanda/zoo.git "zoo"
longzhuzhu
ql repo https://github.com/longzhuzhu/nianyu.git "qx"
panghu999/panghu
ql repo https://github.com/panghu999/panghu.git "jd_"
Extra.sh
#!/usr/bin/env bash ## Mod: Build20210910V1 ## 添加你需要重启自动执行的任意命令,比如 ql repo ## 安装node依赖使用 pnpm install -g xxx xxx(Build 20210728-002 及以上版本的 code.sh,可忽略) ## 安装python依赖使用 pip3 install xxx(Build 20210728-002 及以上版本的 code.sh,可忽略) #------ 说明区 ------# ## 1. 拉取仓库 ### (1)定时任务→添加定时→命令【ql extra】→定时规则【15 0-23/4 * * *】→运行 ### (2)若运行过 1custom 一键脚本,点击运行即可 ### (3)推荐配置:如下。自行在设置区填写编号 ## 2. 安装依赖 ### (1)默认不安装,因为 Build 20210728-002 及以上版本的 code.sh 自动检查修复依赖 ### (2)若需要在此处使用,请在设置区设置 ## 3. Ninja ### (1)默认启动并自动更新 ### (2)⚠未修改容器映射的请勿运行,否则会出现青龙打不开或者设备死机等不良后果,映射参考 https://github.com/MoonBegonia/ninja#%E5%AE%B9%E5%99%A8%E5%86%85 #------ 设置区 ------# ## 1. 拉取仓库编号设置,默认 shufflewzc 仓库 CollectedRepo=(4) ##示例:CollectedRepo=(2 4 6) OtherRepo=() ##示例:OtherRepo=(1 3) ## 2. 是否安装依赖和安装依赖包的名称设置 dependencies="r" ##yes为全部安装,no为不安装,p为安装package,r为安装requirement package_name="@types/node axios canvas crypto-js date-fns dotenv fs jsdom png-js require ts-md5 tslib typescript" requirement_name="cryptography~=3.2.1 json5 requests rsa" ## 3. Ninja 是否需要启动和更新设置 Ninja="on" ##up为更新,on为启动,down为不运行 #------ 编号区 ------# :<<\EOF 一、集成仓库(Collected Repositories) 2-JDHelloWorld 3-he1pu 4-shufflewzc 6-Aaron-lv 7-yuannian1112 二、其他仓库(Other Repositories) 1-passerby-b 2-curtinlv 3-smiek2221 4-cdle 5-ZCY01 6-whyour/hundun 7-moposmall 8-Ariszy (Zhiyi-N) 9-photonmang 10-jiulan 12-star261 13-Wenmoux 14-Tsukasa007 15-ccwav EOF #------ 代码区 ------# # 🌱拉取仓库 CR2(){ ql repo https://github.com/JDHelloWorld/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|enen|update|test" "^jd[^_]|USER|^TS|utils|notify|env|package|ken.js" } CR3(){ ql repo https://github.com/he1pu/JDHelp.git "jd_|jx_|getJDCookie" "Coupon|update" "^jd[^_]|USER|^sign|^ZooFaker|utils" } CR4(){ ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp|Coupon|update" "^jd[^_]|USER|utils|function|^JS|^TS|^JDJRValidator_Pure|^ZooFaker|^sign|ql" } CR6(){ ql repo https://github.com/Aaron-lv/sync.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon" "^jd[^_]|USER|utils" "jd_scripts" } CR7(){ ql repo https://github.com/yuannian1112/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils" } for i in ${CollectedRepo[@]}; do CR$i sleep 10 done OR1(){ ql repo https://github.com/passerby-b/JDDJ.git "jddj_" "scf_test_event|jddj_fruit_code.js|jddj_getck.js|jd_|jddj_cookie" } OR2(){ ql repo https://github.com/curtinlv/JD-Script.git "jd_" } OR3(){ ql repo https://github.com/smiek2221/scripts.git "jd_|gua_" "" "^MovementFaker|^JDJRValidator|^ZooFaker|^sign" } OR4(){ ql repo https://github.com/cdle/xdd.git "jd_" "disposable|expired|jdc" } OR5(){ ql repo https://github.com/ZCY01/daily_scripts.git "jd_" } OR6(){ ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env" } OR7(){ ql repo https://github.com/moposmall/Script.git "Me" } OR8(){ ql repo https://github.com/Ariszy/Private-Script.git "JD" } OR9(){ ql repo https://github.com/photonmang/quantumultX.git "JDscripts" } OR10(){ ql repo https://github.com/jiulan/platypus.git "jd_|jx_" "" "overdue" "main" } OR11(){ ql repo https://github.com/panghu999/panghu.git "jd_" } OR12(){ ql repo https://github.com/star261/jd.git "jd_|star" "" "code" "main" } OR13(){ ql repo https://github.com/Wenmoux/scripts.git "other|jd" "" "" "wen" } OR14(){ ql repo https://github.com/Tsukasa007/my_script.git "jd_|jx_" "jdCookie|USER_AGENTS|sendNotify|backup" "" "master" } OR15(){ ql repo https://github.com/ccwav/QLScript.git "jd_" "sendNotify.js" "ql.js" } for i in ${OtherRepo[@]}; do OR$i sleep 5 done # 🍪Ninja update_Ninja_normal(){ cd /ql/ninja/backend && git checkout . && git pull pnpm install && pm2 start cp sendNotify.js /ql/scripts/sendNotify.js } check_Ninja_normal(){ NOWTIME=$(date +%Y-%m-%d-%H-%M-%S) i=0 while ((i<=0)); do echo "扫描 Ninja 是否在线" ps -fe|grep ninja|grep -v grep if [ $? -ne 0 ]; then i=0 echo $NOWTIME" 扫描结束!Ninja 掉线了不用担心马上重启!" cd /ql ps -ef|grep ninja|grep -v grep|awk '{print $1}'|xargs kill -9 cd /ql/ninja/backend pnpm install pm2 start ps -fe|grep Daemon |grep -v grep if [ $? -ne 1 ]; then i=1 echo $NOWTIME" Ninja 重启完成!" curl "https://api.telegram.org/bot$TG_BOT_TOKEN/sendMessage?chat_id=$TG_USER_ID&text=Ninja 已重启完成" fi else i=1 echo $NOWTIME" 扫描结束!Ninja 还在!" fi done } if [ "$Ninja" = "up" ]; then update_Ninja_normal & elif [ "$Ninja" = "on" ]; then check_Ninja_normal fi # 📦依赖 install_packages_normal(){ for i in $@; do case $i in canvas) cd /ql/scripts if [[ "$(echo $(npm ls $i) | grep ERR)" != "" ]]; then npm uninstall $i fi if [[ "$(npm ls $i)" =~ (empty) ]]; then apk add --no-cache build-base g++ cairo-dev pango-dev giflib-dev && npm i $i --prefix /ql/scripts --build-from-source fi ;; *) if [[ "$(npm ls $i)" =~ $i ]]; then npm uninstall $i elif [[ "$(echo $(npm ls $i -g) | grep ERR)" != "" ]]; then npm uninstall $i -g fi if [[ "$(npm ls $i -g)" =~ (empty) ]]; then [[ $i = "typescript" ]] && npm i $i -g --force || npm i $i -g fi ;; esac done } install_packages_force(){ for i in $@; do case $i in canvas) cd /ql/scripts if [[ "$(npm ls $i)" =~ $i && "$(echo $(npm ls $i) | grep ERR)" != "" ]]; then npm uninstall $i rm -rf /ql/scripts/node_modules/$i rm -rf /usr/local/lib/node_modules/lodash/* fi if [[ "$(npm ls $i)" =~ (empty) ]]; then apk add --no-cache build-base g++ cairo-dev pango-dev giflib-dev && npm i $i --prefix /ql/scripts --build-from-source --force fi ;; *) cd /ql/scripts if [[ "$(npm ls $i)" =~ $i ]]; then npm uninstall $i rm -rf /ql/scripts/node_modules/$i rm -rf /usr/local/lib/node_modules/lodash/* elif [[ "$(npm ls $i -g)" =~ $i && "$(echo $(npm ls $i -g) | grep ERR)" != "" ]]; then npm uninstall $i -g rm -rf /ql/scripts/node_modules/$i rm -rf /usr/local/lib/node_modules/lodash/* fi if [[ "$(npm ls $i -g)" =~ (empty) ]]; then npm i $i -g --force fi ;; esac done } install_packages_all(){ install_packages_normal $package_name for i in $package_name; do install_packages_force $i done } install_requirements(){ for i in $requirement_name; do case $i in cryptography~=3.2.1) cd /ql/scripts if [[ "$(pip3 freeze)" =~ "cryptography==3.2.1" ]]; then echo "cryptography==3.2.1 已安装" else apk add --no-cache gcc libffi-dev musl-dev openssl-dev python3-dev && pip3 install cryptography~=3.2.1 fi ;; *) if [[ "$(pip3 freeze)" =~ $i ]]; then echo "$i 已安装" else pip3 install $i fi esac done } case $dependencies in yes) install_packages_all & install_requirements & ;; p) install_packages_all & ;; r) install_requirements & ;; esac
有用
感谢
青龙拉取常用京东脚本库
说明
下面是示例
推荐
FAKER3
KingRan
``
整库
Unknown 备份托管等
JDHelloWorld
he1pu
(自动提交助力码-京喜工厂、种豆得豆、东东工厂、东东农场、健康社区、京喜财富岛、东东萌宠、闪购盲盒,随机从数据库中选取助力码互助)shufflewzc
Aaron-lv
panghu999
(无维护)chinnkarahoi
(无维护)passerby-b
curtinlv
smiek2221
cdle
ZCY01
whyour/hundun
moposmall
Ariszy (Zhiyi-N)
photonmang
(宠汪汪及兑换、点点券修复)jiulan
star261
Wenmoux
Tsukasa007
单脚本
名称之后标注
﹢
的单脚本,若上面已拉取仓库的可以不拉,否则会重复拉取。这里适用于只拉取部分脚本使用or
已删库存档
monk-coder
hyzaw
zooPanda
longzhuzhu
panghu999/panghu
Extra.sh