{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "bojieli-greenbubbles--search-one-chat-for-a-keyword",
 "repo": "bojieli/greenbubbles",
 "repo_url": "https://github.com/bojieli/greenbubbles",
 "repo_slug": "bojieli-greenbubbles",
 "title": "Find a past message in one WeChat chat by keyword",
 "page_title": "How to find a past message in one WeChat chat by keyword with Greenbubbles",
 "summary": "Search the text of a single conversation from the command line without scrolling through WeChat.",
 "who": "A person who remembers a detail from an old chat, such as an address, a date, or a promise, and wants it fast.",
 "problem": "WeChat's own search is slow to scan old history, and scrolling through a long chat is tedious.",
 "outcome": "A JSON Lines list of matching messages from that chat, with sender, local time, and text, plus a cursor if more results exist.",
 "steps": [
  "Run `brew tap bojieli/greenbubbles https://github.com/bojieli/greenbubbles.git`",
  "Run `brew install bojieli/greenbubbles/greenbubbles`",
  "Run `greenbubbles chats find \"Alice\"` to confirm the chat name",
  "Run `greenbubbles messages search --conversation \"Alice\" --query \"keyword\"`",
  "If the output says `hasMore: true`, run the same command with `--cursor` set to the `nextCursor` value"
 ],
 "agent_prompt": "Use the greenbubbles CLI from the repo bojieli/greenbubbles to search one chat. Run `greenbubbles messages search --conversation \"<chat name>\" --query \"<keyword>\"` and report the matching messages as JSON Lines. Verify that every returned message has its chat name and local time before you summarize it.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "60 min",
 "basis": "readme",
 "caveat": "Setup requires the key capture from your running WeChat app, and the README says WeChat may change its private formats, so an update can break reading.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "rust",
 "requirements": [
  "A Mac with Apple silicon running macOS 14 or later",
  "WeChat installed and running on that Mac",
  "Administrator access for the one-time key setup",
  "Homebrew, or the DMG or ZIP from the Releases page",
  "A coding agent such as Claude Code, Codex, or Gemini CLI, if you want agent-written notes"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Setup needs the one-time key copy from your WeChat app, which requires administrator access."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/bojieli-greenbubbles/search-one-chat-for-a-keyword/",
 "md": "https://dedupedai.com/use-cases/bojieli-greenbubbles/search-one-chat-for-a-keyword/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/bojieli-greenbubbles--search-one-chat-for-a-keyword.json",
 "api_version": "v1"
}
