feat(channels): add zhihu channel via opencli#496
Open
wesleysanjose wants to merge 2 commits into
Open
Conversation
Adds Zhihu (知乎) as an OpenCLI-backed desktop channel — same pattern as Facebook/Instagram (Panniantong#447). - Add ZhihuChannel on the existing OpenCLISiteChannel helper (declaration-only) - Register in doctor/channel registry - Route --channels=zhihu to the shared OpenCLI installer (dedupes with other OpenCLI channels) - Skip Zhihu in server installs (needs desktop Chrome)
Update README, English README, install docs, agent skills, social reference, and llms.txt; platform count 15 → 16.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Zhihu (知乎) as an OpenCLI-backed desktop channel — same pattern as
Facebook/Instagram (#447).
ZhihuChannelon the existingOpenCLISiteChannelhelper (declaration-only, ~14 lines)--channels=zhihuto the shared OpenCLI installer (dedupes with other OpenCLI channels)llms.txt; platform count 15 → 16Validation
python -m pytest tests/ -q-> 198 passed (+7 new: can_handle URLs, registry membership, check ok-path, install routing/server-skip)ruff checkon new/touched files -> passedpython -m build) + duplicate-entry/data-file check mirroring CI's wheel-gate ->zhihu.pyships, 53 entries, no duplicatesagent-reach doctor --json->zhihuok, active backendOpenCLIopencli zhihu hot -f yaml-> returned live 热榜 entriesopencli zhihu search "Agent Reach" -f yaml-> returned real search results, including azhuanlan.zhihu.comarticle URL — confirmedcan_handle()matches it tooopencli zhihu question <id> -f yaml-> question + answers (verified via search results)Notes
[cookie]— they need a logged-inzhihu.com session in Chrome (
opencli zhihu loginto establish one).Unlike Facebook/Instagram there is no anonymous read path documented.
user-answers / user-articles / pins / download (Markdown export) /
collections. Write ops (answer/comment/like/follow) exist upstream but are
out of scope — Agent Reach is read/search only.
zhuanlan.zhihu.com(专栏) is covered by suffix matching onzhihu.com.🤖 Generated with Claude Code