zhengjy01/dsh-zhihu0

@zhengjunyao/dsh-zhihu

DeepSeek Harness 的知乎集成插件,将本地 pyzhihu-cli 封装为 AI 代理工具,提供扫码登录、热榜/搜索及 Web 面板。

AI 分析

核心用途是让 DSH 能够检索知乎内容、回答问题或监控热榜。适合需要 AI 辅助浏览知乎或进行内容创作的用户。需要本地安装 Python 3.10+ 及 pyzhihu-cli。

套件
@zhengjunyao/dsh-zhihu
版本
0.1.0
授權
MIT
最近更新
2026年9月12日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhengjy01/dsh-zhihu

Configuration

KeyDefaultMeaning
readOnlytrueOnly read tools when true; write tools are registered when false
cliPathzhihuCLI command name or absolute path
timeoutMs90000Per-invocation timeout
loginWaitMs15000How long zhihu_login waits for a scan before returning; call it again to keep waiting
proxyemptyEmpty = inherit the environment; none = force no proxy (Zhihu is a domestic site, a system proxy can actually break it); or http://host:port
cliHome~/.zhihu-cliCLI config directory. The CLI hardcodes Path.home()/".zhihu-cli", so the plugin overrides the child process's HOME

Stored in ~/.dsh/dsh-zhihu.json (mode 0600). Credentials are not stored here — the CLI keeps cookies in /cookies.json (the CLI chmods it 0600 itself).