heartleo/hn-cli--plugins-hacker-news ↗★ 50
dsh-hacker-news
为 DeepSeek Harness 提供的 Hacker News 工具插件,支持获取首页 Feed、评论树、Algolia 搜索及用户资料。
AI 分析
让 Agent 具备检索和阅读 Hacker News 资讯的能力。适合需要让 AI 总结技术热点、搜集行业资讯的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:heartleo/hn-cli#9c0d6b230f9b23fd3ac6f3497624b5ec4b9fce87&path:plugins/hacker-news说明文档
阅读完整 README ↗Configuration
Every tunable is a config field, overridable per profile in cordis.patch.yml:
- id: hacker-news
name: dsh-hacker-news
config:
defaultStoryLimit: 30
defaultCommentLimit: 100
requestTimeoutMs: 20000
| Field | Default | Meaning |
|---|---|---|
firebaseBaseUrl | https://hacker-news.firebaseio.com/v0 | Official HN API root |
algoliaBaseUrl | https://hn.algolia.com/api/v1 | Search API root |
requestTimeoutMs | 15000 | Per-request timeout |
concurrency | 20 | Maximum in-flight item fetches |
defaultStoryLimit / maxStoryLimit | 20 / 100 | Story and search result counts |
defaultCommentLimit / maxCommentLimit | 50 / 400 | Replies loaded per hn_item call |
defaultCommentDepth / maxCommentDepth | 5 / 10 | Reply nesting followed |
maxTextLength | 2000 | Clip length for story, comment, and bio text |
userAgent | dsh-hacker-news/0.1.0 … | Sent on every request |