v0.2.0
baidu-cli rebuilt on the any-cli/kit framework.
This release rebuilds baidu-cli on the any-cli/kit framework.
New
baidu search— web search results (best effort; CAPTCHA-walled).baidu articleandbaidu categories— the Baidu Baike (百度百科) encyclopedia: full article detail and lemma stubs under category tags.- All read operations are now served over HTTP (
baidu serve, NDJSON) and MCP (baidu mcp, stdio). - A Baike mirror subsystem (
seed,crawl,export,info,queue,jobs,reset-failed): a stateful, resumable crawl into a local pure-Go SQLite store. CLI-only, not exposed over HTTP or MCP.
Changed
baidu suggestnow takes a positional<query>(was-Q/--query) and uses thewww.baidu.com/sugrecendpoint. The legacy/suJSONP path drifted to unparseable GBK.- The hot board parser handles Baidu's new two-level nesting.
Honesty note
search is CAPTCHA-walled and Baike (article, categories) is geo-walled
(it works from China IPs). Both degrade to clean blocked or no-result exits
(code 5 when blocked, code 3 when genuinely empty) rather than crashing or
faking data.