Giter Site home page Giter Site logo

kedaya's Introduction

注意事项

此项目与单脚本结构不同,请不要将无关文件放进parse目录
请不要将parse目录文件放scripts目录运行
某些面板不支持项目文件整体拉取,会破坏拉取的项目结构,请先翻阅README了解
环境变量不能有shareCode 

框架结构

util: 调用函数目录
parse: 解析脚本目录
temp: 缓存文件目录
static: 静态文件目录
cookie: 数据文件目录
config:	配置文件目录
log: 日志文件目录
template.js: 项目主体文件
main.js: 项目入口文件
qitoCreat: 生成入口以及添加定时

使用方法

node main.js jd_task_test [-help n -custom x -limit x]

初始化

为避免第三方滥用,请自行添加环境变量 QITOQITO
QITOQITO_PLATFORM=按照所使用面板正确填写 qinglong|jtask|jd 其中一个 [青龙面板:qinglong, v3系列:jtask, 衍生面板:jd],
QITOQITO_SYNC=1 当有此变量时,面板定时会与项目定时同步,如需自行修改,请勿添加该字段
QITOQITO_COVER=1 当有此变量时候,qitoCreat会强制覆盖之前生成的入口文件

环境变量

# COOKIE
JD_COOKIE=ck1&ck2&ck3
JD_COOKIE_MAIN=n 全局主号助力人数,假设你有20个账号,当参数设置为5时候,这20个账号会去助力排前面的5个账号
msgWhite=fn1|fn2|fn3  通知白名单
msgBlack=fn1|fn2|fn3  通知黑名单

脚本字段

脚本字段是自行定义某一个脚本运行的一些变量,如果有需求可自行添加环境变量

filename_help=n 或 pin1|pin2 (设置助力主号数)
filename_custom=custom (自定义字段)
filename_limit=n (限制运行账号数)
filename_msgWork=pin1|pin2|pin3 (通知账号白名单)
filename_msgExcept=pin1|pin2|pin3 (通知账号黑名单)

食用方法

# 青龙面板
rm -rf /ql/repo/qitoqito_kedaya && ql repo https://github.com/qitoqito/kedaya.git kedaya && cp -a /ql/repo/qitoqito_kedaya/. /ql/scripts && task qitoCreat.js now

# v3系列
rm -rf kedaya && git clone  https://github.com/qitoqito/kedaya.git  && cp -a kedaya/. ./scripts && jtask qitoCreat now

 # 衍生面板
rm -rf kedaya && git clone  https://github.com/qitoqito/kedaya.git  && cp -a kedaya/. ./scripts && jd qitoCreat now

# 其他面板
同步解压到scripts目录,运行creat.js生成入口文件

定时任务

# v3系列
45 * * * * bash -c "rm -rf kedaya && git clone  https://github.com/qitoqito/kedaya.git  && cp -a kedaya/. ./scripts && jtask qitoCreat now"

# 衍生面板
45 * * * * bash -c "rm -rf kedaya && git clone  https://github.com/qitoqito/kedaya.git  && cp -a kedaya/. ./scripts && jd qitoCreat now"

通知字段

# telegram
TELEGRAM_TOKEN=
TELEGRAM_ID=
TELEGRAM_URL=自定义TG代理链接
TELEGRAM_PROXY=代理服务器 (http|https|sock)://ip:port, 使用sock需要安装 socks-proxy-agent 模块

# bark
BARK_TOKEN=
BARK_URL=自定义url
BARK_SOUND=自定义铃声

# 钉钉
DINGTALK_TOKEN=
DINGTALK_SECRET=密钥

# igot
IGOT_TOKEN=

# server酱
FTQQ_TOKEN=

# pushplus
PUSHPLUS_TOKEN=
PUSHPLUS_TOPIC=群组

# 企业微信
WEIXIN_TOKEN=

# 企业微信AM
WXAM_TOKEN=

通知昵称

运行jd_task_user
编辑config/jdUser.js
找到对应账号的nickName字段填写后保存

单独通知

框架支持给不同用户推送通知

kedaya's People

Contributors

qitoqito avatar

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.