{"id":15035327,"url":"https://github.com/6dylan6/jdpro","last_synced_at":"2025-05-14T00:09:31.148Z","repository":{"id":169693417,"uuid":"645332264","full_name":"6dylan6/jdpro","owner":"6dylan6","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-09T14:40:42.000Z","size":44744,"stargazers_count":3211,"open_issues_count":429,"forks_count":460,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-04-10T22:29:05.403Z","etag":null,"topics":["crontab-task","qinglong"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/6dylan6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-25T12:21:23.000Z","updated_at":"2025-04-10T11:24:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"afdcae10-0469-4f12-bbd2-d231ebd2371d","html_url":"https://github.com/6dylan6/jdpro","commit_stats":null,"previous_names":["6dylan6/jdpro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6dylan6%2Fjdpro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6dylan6%2Fjdpro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6dylan6%2Fjdpro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6dylan6%2Fjdpro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/6dylan6","download_url":"https://codeload.github.com/6dylan6/jdpro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254044160,"owners_count":22005091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crontab-task","qinglong"],"created_at":"2024-09-24T20:28:11.218Z","updated_at":"2025-05-14T00:09:26.134Z","avatar_url":"https://github.com/6dylan6.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## 6dy\n\n声明: 此库所有内容仅用于个人学习！！！\n\n### [TG CHANEL](https://t.me/dylan_jdpro)\n\n\n国内机（带代理）：\n\n```\nql repo https://js.okyago.com/https://github.com/6dylan6/jdpro.git \"jd_|jx_|jddj_\" \"backUp\" \"^jd[^_]|USER|JD|function|sendNotify|utils\"\n\n```\n\n\n国外机：\n\n```\nql repo https://github.com/6dylan6/jdpro.git \"jd_|jx_|jddj_\" \"backUp\" \"^jd[^_]|USER|JD|function|sendNotify|utils\"\n\n```\n\n\n线报监控类，[入口](https://github.com/6dylan6/jdm.git)\n\n\n\n## 简要流程\n\n1、部署青龙并登陆，版本不用追新，稳定才好，推荐whyour/qinglong:2.17.9镜像部署。\n\n2、到订阅管理创建订阅并运行；正确配置[参考](https://github.com/6dylan6/jdpro/issues/22)\n\n3、订阅执行完，到定时任务搜索依赖安装（jd_indeps.sh)任务执行；\n\n4、到环境变量，创建变量，名称: JD_COOKIE,值：抓的CK（要安全就手抓），多个每行建一个，不要全写在一个；\n\n5、配置通知，通知的key填写到配置管理config.sh文件；\n\n\n\u003cdetails\u003e\n\u003csummary\u003e笔记\u003c/summary\u003e\n\u003cpre\u003e\u003ccode\u003e\n\n1、任务并发和分组\n\n并发配置方法：\n\n在任务后面加conc JD_COOKIE\n\n如 task XXXXX.js conc JD_COOKIE\n\n任务分组运行方法：\n\n在任务后面加desi JD_COOKIE 需要运行的ck序号\n\n如 task XXXX.js desi JD_COOKIE 1-10  前10个一组运行，2 8 9就是第2/8/9序号的ck执行，以此类推。\n\n2、通知支持一对一推送和显示备注（需用本库sendnotify文件），还有分组通知等用法参考[notify.md](./notify.md)\n\n备注显示变量如下\n\nexport NOTIFY_SHOWNAMETYPE=\"1\"    不做任何变动\n\nexport NOTIFY_SHOWNAMETYPE=\"2\"    效果是 :  账号名称：别名(备注)\t\n\nexport NOTIFY_SHOWNAMETYPE=\"3\"    效果是 :  账号名称：pin(备注)\n\nexport NOTIFY_SHOWNAMETYPE=\"4\"    效果是 :  账号名称：备注\n\n3、因为青龙有随机延时（可以在配置文件设置为0，默认300秒），所以涉及准点运行的任务，最后加now，如果是desi或conc不用加也会准时跑。\n\n4、青龙系统通知（新增删除任务、登录等通知），需把通知变量写到config.sh文件，在环境变量里只发脚本运行通知哈。\n\n5、建议调整任务运行超时时间，青龙默认1小时有些跑不完就被强制结束，config.sh里配置。CommandTimeoutTime=\"3h\"  即改为3小时，根据自己ck数量调整。\n\n6、如需禁止某些CK参加所有活动或某些活动功能，实现重组CK顺序功能，包括随机、优先、轮换、组队、分段等功能，把[task_before](./docker/task_before.sh)文件内容复制到配置管理task_before.sh保存\n\n常用变量举例：\n\nRecombin_CK_Mode=\"1\"  全部顺序随机\n\nRecombin_CK_Mode=\"2\" Recombin_CK_ARG1=\"15\" 假设有100个CK，前15个CK按正常顺序靠前，其余CK随机乱序\n\nRecombin_CK_Mode=\"3\" Recombin_CK_ARG1=\"5\" Recombin_CK_ARG2=\"5\"  假设有100个CK，希望前5个账号始终保持在前部，剩余95个账号按照轮换模式每天轮换5个\n\n其他用法具体参考[文档](https://docs.qq.com/doc/DTXh6QUVjRXJ1TFdN)\n\u003c/code\u003e\u003c/pre\u003e\n\u003c/details\u003e\n\n\n## 通用环境变量（到配置管理-config.sh里添加变量,export xxx='xxx'格式)\n\nAUTOCFG='true' 自动配置sendNotify文件到deps目录 \n\n代理API模式部分支持\n\nDY_PROXY='URL1@URL2' 多个@分割\n\nPERMIT_API='test' 需要走API代理的js关键词，多个\u0026分割，可不设置，支持的js都会走\n\nDY_PROXY_RENUM='5'  获取IP失败重试次数\n\nDY_PROXY_REDELAY='3' 获取失败重试间隔 单位秒\n\n代理池模式支持全部js脚\n\nDP_POOL='http://xxx' 代理池url\n\nPERMIT_JS='farm\u0026plant\u0026opencard' 需要走代理池的js关键词，多个\u0026分割，必须设置\n\n禁止指定的pin执行任务：\n\n多个任务同pin：BANPIN='任务1|任务2@pin1,pin2'\n\n多个任务不同pin：BANPIN='任务1@pin,pin2\u0026任务2@pin2,pin3'\n\n不指定任务只写pin  全部任务都不执行该pin：BANPIN='pin1,pin2'\n\n\n## 支持的通知方式\n\nserver酱，go-cqhttp，pushdeer，Bark App，tg bot，钉钉bot，企业微信bot，企业微信应用消息，飞书，iGot，push plus，WxPusher，gotify\n\n请在配置管理config文件里填写对应key\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6dylan6%2Fjdpro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F6dylan6%2Fjdpro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6dylan6%2Fjdpro/lists"}