@zhengjunyao/dsh-zhihu
Zhihu (知乎) for DeepSeek Harness: wraps the local pyzhihu-cli CLI (search / hot list / question / answer / user / feed / topic / collections / notifications) as zhihu_* agent tools, plus a web panel with QR-code login, config and quick hot-list / search; publishing, voting, following and deletion stay behind an explicit readOnly switch
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhengjy01/dsh-zhihu说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
readOnly | true | Only read tools when true; write tools are registered when false |
cliPath | zhihu | CLI command name or absolute path |
timeoutMs | 90000 | Per-invocation timeout |
loginWaitMs | 15000 | How long zhihu_login waits for a scan before returning; call it again to keep waiting |
proxy | empty | Empty = 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-cli | CLI 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).