青龙面板
简介: 支持python3、javaScript、shell、typescript 的定时任务管理面板
安装
1.前置条件需要安装docker
sudo curl -sSL get.docker.com | sh
2.启动容器
docker run -dit \
-v $PWD/ql/config:/ql/config \
-v $PWD/ql/log:/ql/log \
-v $PWD/ql/db:/ql/db \
-v $PWD/ql/repo:/ql/repo \
-v $PWD/ql/raw:/ql/raw \
-v $PWD/ql/scripts:/ql/scripts \
-p 5700:5700 \
--name qinglong \
--hostname qinglong \
--restart unless-stopped \
whyour/qinglong:latest
参考官方文档即可.
挂JD任务
脚本
[Faker国内仓库]
ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace.js|JDJRValidator_Pure|sign_graphics_validate"
[Faker集合仓库]
ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|ZooFaker_Necklace"
[怨念仓库]
ql repo https://ghproxy.com/https://github.com/yuannian1112/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils"
[curtinlv仓库]
ql repo https://github.com/curtinlv/JD-Script.git
[star]
ql repo https://github.com/star261/jd.git "scripts" "code"
[ddo(hyzaw)]
ql repo https://ghproxy.com/https://github.com/shufflewzc/hyzaw.git "ddo_"
[柠檬(胖虎)]
ql repo https://github.com/panghu999/panghu.git "jd_"
[温某某]
ql repo https://ghproxy.com/https://github.com/shufflewzc/Wenmoux.git
[混沌]
ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env"
[龙珠]
ql repo https://github.com/whyour/hundun.git "quanx" "tokens|caiyun|didi|donate|fold|Env"
配置JD cookie
环境变量 -> 添加变量
登录 m.jd.com 复制cookie 中的 pt_key与pt_pin
JD_COOKIE:
配置XDD机器人
1.安装golong即相关包
cd /usr/local && wget https://golang.google.cn/dl/go1.17.6.linux-amd64.tar.gz -O go1.17.6.linux-amd64.tar.gz
tar -xvzf go1.16.7.linux-amd64.tar.gz
vi /etc/profile
# 写入如下内容
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
export GOROOT=/usr/local/go
export GOPATH=/usr/local/go/path
#export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
source /etc/profile
# 检查是否安装成功
go env
sudo dnf -y install git gcc gcc-c++
2.安装XDD
cd ~ && git clone https://ghproxy.com/https://github.com/764763903a/xdd-plus.git
cd xdd-plus && go build
chmod 777 xdd
./xdd
出来检查更新即可结束执行
3.获取青龙面板ClientID ClientSecret
系统设置 -> 应用设置 -> 新建应用 -> 全部权限 -> OK
4.配置XDD
xdd_plug 配置失败.垃圾