heartleo/hn-cli--plugins-hacker-news ↗★ 50
dsh-hacker-news
Hacker News tools for DeepSeek Harness: front-page feeds, item comment trees, Algolia search, user profiles.
安装
$
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 |