JohnXu22786/rss-digest ↗★ 1

dsh-rss-digest

订阅 RSS/Atom 源,定时抓取去重并用 LLM 生成每日 Markdown 摘要。 适合想自动汇总订阅资讯为每日摘要的用户;需配置数据路径与抓取间隔。

包名
dsh-rss-digest
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
Cordis 依赖范围
^4.0.1
版本
0.1.0
许可证
MIT
最近更新
2026年8月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/rss-digest

Configuration reference

All fields are optional; apply(ctx, config) always receives fully defaulted values.

FieldDefaultDescription
dataPath''Store file path. '' resolves to $DSH_RSS_DIGEST_DATA, else $DSH_HOME/data/rss-digest/store.json, else ./.dsh-rss-digest/store.json.
sources[][]Initial subscriptions merged at startup: { url, title?, enabled? }. Duplicate URLs are ignored.
fetch.enabledtrueWhether the periodic poller runs.
fetch.intervalMinutes60Poll interval (min 5).
fetch.onStartuptrueRun one cycle ~10 s after startup.
fetch.requestTimeoutMs15000Per-request timeout.
fetch.sizeLimitBytes1048576Max accepted document size.
fetch.retries2Retries for transient failures (network / 5xx / 429 / 408).
fetch.maxItemsPerSource50Parsed items kept per source per cycle (newest kept).
fetch.storeContentChars4000Truncation for stored summary/content text.
fetch.maxStoredItems1000Retention cap (oldest fetched pruned on save).
dedupe.threshold0.9Min token-set Jaccard similarity for near-duplicates.
dedupe.compareContentfalseLet identical bodies collapse empty-title items.
summary.enabledtruefalse forces extractive summaries.
summary.modebatchbatch = one model call per digest; single = per item.
summary.languagezhOutput language of the summary body: zh | en.
summary.maxLength800Hard character cap on the summary body.
summary.maxTokens1024Token budget hint for the model call.
summary.provider''dsh provider route; '' = first registered provider.
summary.model''Model id; '' = first listed model of the provider.
digest.enabledtrueWhether the daily digest scheduler runs.
digest.time'08:00'Wall-clock fire time (HH:MM).
digest.timezone''IANA timezone; '' = host local time.
digest.maxItems20Max items per digest.
digest.deliverTobothagents | file | both — deliver to live sessions, to digests/.md, or both.
digest.includeItemLinkstrueWhether the item list embeds permalinks (http/https only).