返回目錄

hn-cli

編輯精選維護狀態: 活躍

heartleo/hn-cli

基於 Go 構建的極速 Hacker News 終端客戶端(TUI)。

前往 GitHub專案首頁
$ dsh plugin --profile <name> add -w dsh-hacker-news

51

星數

2

Fork

Go

語言

MIT

授權條款

2026-04-15

建立於

2026-08-27

最近推送

採 MIT 授權的 Go 專案,其 DeepSeek Harness 套件(dsh-hacker-news)透過 HN 公開 API 把 Hacker News 的瀏覽與搜尋帶進你的代理人——無須 Key,無須終端客戶端。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-09-01

授權條款

MIT

01它能幫你完成什麼?

  • Browse and search Hacker News from inside DeepSeek Harness without an API key

    Ranked feeds (top/new/best/ask/show/job), individual items with their reply tree, Algolia search results, and user profiles, returned through the hn_stories / hn_item / hn_search / hn_user tools

    DeepSeek Harness users who want Hacker News reading and search as part of their agent workflow

02如何將外掛接入 DeepSeek Harness?

安裝步驟

  1. 01

    Install from npm into a profile: `dsh plugin --profile <name> add -w dsh-hacker-news`

    $ dsh plugin --profile <name> add -w dsh-hacker-news

  2. 02

    Or install from source (tracks the repo's main branch): `dsh plugin --profile <name> add -w github:heartleo/hn-cli#path:/plugins/hacker-news`

    $ dsh plugin --profile <name> add -w github:heartleo/hn-cli#path:/plugins/hacker-news

  3. 03

    Start or restart the profile so the plugin is composed into the configuration

驗證整合成功

  • Run `dsh --profile <name> --dump-config` and confirm the output includes `dsh-hacker-news`
  • Ask the agent naturally, e.g. `what's popular on HN?`, `search HN for sqlite`, or `read HN item 49322107 and summarize the discussion`

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

Native DSH plugin loaded via `dsh plugin add` into a pnpm workspace profile; reads public Hacker News APIs directly (no key, no local client)

  • Ranked Hacker News feeds (hn_stories)

    a natural request such as 'what's popular on HN?'→top / new / best / ask / show / job ranked feeds

  • Item with reply tree (hn_item)

    an HN item id→the item plus its reply tree in reading order

  • Algolia search (hn_search)

    a search query→Algolia search results, by relevance or date

  • User profiles (hn_user)

    an HN username→karma, account age, bio, and submission count

04適合誰?何時不該用?

適合

  • DeepSeek Harness users who want Hacker News reading and search as part of their agent workflow

05相容性、維護與安全提醒

2026-04-152026-08-27v0.0.6

MIT · maintained in spare time per README; latest release v0.0.6 (2026-04-27), last push 2026-08-27

06常見問題

如何安裝 hn-cli 的 DeepSeek Harness 套件?

把已發佈的套件加入 dsh 設定:`dsh plugin --profile <name> add -w dsh-hacker-news`。若要追蹤倉庫 main 分支,可用 `dsh plugin --profile <name> add -w github:heartleo/hn-cli#path:/plugins/hacker-news`。

需要 Hacker News API Key 嗎?

不需要。hacker-news 套件直接讀取 HN 公開 API,既不需要 HN API Key,也不需要本地終端客戶端。

如何確認安裝成功?

重啟對應設定,再執行 `dsh --profile <name> --dump-config`,確認組合設定中包含 `dsh-hacker-news`。也可以直接問一句「今天 HN 上有什麼」。

套件提供哪些工具?

hn_stories(排行資訊流:top/new/best/ask/show/job)、hn_item(含回覆樹的條目)、hn_search(依相關度或日期的 Algolia 搜尋)、hn_user(聲望值、帳號年齡、簡介、投稿數)。

使用套件必須安裝 hn-cli 終端客戶端嗎?

不必。DeepSeek Harness 套件是獨立的,自行呼叫 HN 公開 API。hn 終端客戶端只是另一種可選的瀏覽方式。

08資料與來源

  • 作者聲明github.com682f99354aed…

    For [DeepSeek Harness](https://deepseek-harness.github.io/deepseek-harness/) there is [**hacker-news**](plugins/hacker-n…

  • 作者聲明github.com682f99354aed…

    The published package is [`dsh-hacker-news`](https://www.npmjs.com/package/dsh-hacker-news).

  • 作者聲明github.com682f99354aed…

    dsh plugin --profile <name> add -w dsh-hacker-news

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-01。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。