ChencLi819/dsh-feed-scroll ↗★ 0
dsh-feed-scroll
刷内容插件:让 agent 自己逛 B站 / 知乎 / 掘金 / 贴吧 / HackerNews / 少数派 / IT之家 / GitHub,把有意思的视频与贴文分享进群(封面图 + 一句自己的话 + 链接),闲着时还能定时自己刷一轮。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-feed-scroll5. 配置
默认值定义于 index.js 的 DEFAULTS。在 profile 的 cordis.patch.yml 中按需覆盖,配置为深合并:
- id: feed-scroll
config:
proactive:
maxPerDay: 5
defaultEveryMinutes: 120
quietFrom: 9
promptEnabled: true
| 配置项 | 类型 | 默认 | 说明 |
|---|---|---|---|
stateDir | string | ~/.dsh/feed-scroll | 状态目录 |
mediaDir | string | ~/.dsh-qqbot/media | 封面与图片落盘目录,须位于 qqbot 发送白名单内 |
proactive.enabled | boolean | true | 计划任务总开关 |
proactive.quietFrom | number | 10 | 允许执行的起始小时 |
proactive.quietTo | number | 23 | 允许执行的结束小时 |
proactive.maxPerDay | number | 9 | 每目标每日唤醒上限 |
proactive.minGapMinutes | number | 60 | 两次唤醒的最小间隔(分钟) |
proactive.defaultEveryMinutes | number | 80 | 默认执行间隔(分钟) |
proactive.defaultSource | string | auto | 默认内容源 |
proactive.allGroups | boolean | true | 是否自动登记 qqbot 已知的全部群会话为目标 |
promptEnabled | boolean | true | 是否注入内置提示词段(order: 9500) |
promptText | string | 空 | 覆盖内置提示词段 |