534119219/chicheng-push
534119219★ 1JavaScriptLast synced: 2026-08-15
DSH(DeepSeek Harness) Web 消息推送插件:多渠道推送(Server酱/PushPlus/Bark/钉钉/企微/Telegram/飞书/Webhook等),设置界面提供「推送插件」入口,可被其他插件调用(pushNotifier 服务 / /push/api 接口)
README excerpt
chicheng-push dsh 消息推送插件:在 Web 设置界面左侧栏新增 「推送插件」 入口,可配置管理 多个 推送渠道;同时把推送能力以 pushNotifier 服务(host 侧)和 /push/api/send HTTP 接口暴露给其他插件,例如定时执行插件在任务完成后调用推送。 渠道实现参考 whyour/qinglong 的 notify 目录,默认支持: 渠道 类型 id 说明 Server酱 serverChan sctapi / sctp 多通道 PushPlus pushPlus 支持群组与渠道 Bark bark iOS 推送 钉钉机器人 dingtalkBot 支持加签 企业微信群机器人 weWorkBot 群 Webhook 企业微信应用消息 weWorkApp corpid,corpsecret,touser,agentid Telegram Bot telegramBot 支持自建 API 域名 飞书 / Lark 机器人 lark 支持加签 ntfy ntfy 支持自建实例与鉴权 iGot iGot 聚合推送 PushDeer pushDeer 支持自建 Gotify gotify 自部署 自定义 Webhook webhook $title / $content 变量 邮件(SMTP) email 需要环境可动态加载 nodemailer 结构 安装 1. 打包并安装到 web profile(在插件目录内执行): 或者直接以本地路径安装: 2. 确认 profile 清单已包含本插件:编辑 C:\Users\TJ\.dsh\profiles\web\package.json , 在 dsh.profile.bundles 数组中加入 "chicheng-push" ( dsh plugin add 会同步 dependencies;若未自动加入 bundles,手动补一行): 3. 手动重启 dsh web 服务 ,插件生效。 使用 重启后打开 设置 → 推送插件 : - 添加渠道 :选择类型 → 填写字段(必填项标 )→ 保存;可添加任意多个渠道。 - 测试 :对单个渠道发送一条测试消息(真实推送,可验证配置)。 - 启用/停用 :停用的渠道不会出现在「发送到全部渠道」中。 - 编辑 / 删除 :管理已有渠道。 渠道数据持久化在 $DSH HOME/push/channels.json (默认 C:\Users\TJ\.dsh\push\channels.json )。 其他插件如何调用 方式一:host 侧 pushNotifier 服务(进程内,推荐) chicheng-push 在 host 侧注册了名为 pushNotifier 的 cordis 服务。其他 host 插件(如 定时执行插件)在 appl…
View full README on GitHub →