zhengjy01/dsh-zhihu
dsh-zhihu wraps the local pyzhihu-cli command as zhihu_* agent tools for DeepSeek Harness: search questions, read the hot list, inspect questions, answers, comments, users, topics and notifications, with publishing, voting, following and deleting off by default behind an explicit read-only switch.
dsh-zhihu wraps the local pyzhihu-cli command as zhihu_* agent tools for DeepSeek Harness. Read tools call zhihu <command> --json and normalize the raw Zhihu payload into compact items (id, type, title, URL, author, upvotes, answer count): zhihu_search, zhihu_hot, zhihu_question (with an answers list), zhihu_answer (with comments), zhihu_user, zhihu_feed, zhihu_topic, zhihu_notifications, zhihu_collections, plus zhihu_status, zhihu_config, zhihu_login, zhihu_logout and zhihu_whoami for management and auth. Login rides the official QR-code API and hands the PNG path to the agent, or accepts a pasted cookie so the token never lands in the process list, and zhihu_status never echoes cookie contents. Write tools (zhihu_publish, zhihu_vote, zhihu_follow_question, zhihu_delete) are registered only when read-only mode is turned off, so nothing can be published or deleted by accident.
Install
dsh plugin --profile web add @zhengjunyao/dsh-zhihuCopied verbatim from the README's install block; the README also documents a link: local-checkout form and the GitHub form github:zhengjy01/dsh-zhihu.
Compatibility
Prerequisite is the local Zhihu CLI pyzhihu-cli (command name zhihu, Python 3.10+), installed via uv tool install pyzhihu-cli or pipx; the plugin resolves zhihu from $PATH, ~/.local/bin, /opt/homebrew/bin and /usr/local/bin, with cliPath for elsewhere. Every CLI command requires a login - even the hot list fails with 'Not authenticated' - so the first run must be zhihu_login, which rides Zhihu's official QR-code API (the CLI writes the QR PNG and the plugin hands the path to the agent) or accepts a pasted cookie. Write tools are not registered at all by default. English README.
Details
- Repo: zhengjy01/dsh-zhihu
- Category: Tools & Capabilities
- Stars: 0
- Version: GitHub repo zhengjy01/dsh-zhihu (0★, MIT); npm package @zhengjunyao/dsh-zhihu at 0.1.2 (registry check 2026-10-13; the registry repository field resolves back to this repo).
Alternatives
1321928757/dsh-api-kit · 1321928757/dsh-mysql · 1624318455/dsh-plugin-tavily