Skip to main content

wacrawl

Read-only local archive and full-text search of WhatsApp Desktop messages via the wacrawl CLI. Use for searching chat history, exporting conversations, and creating encrypted backups. macOS only (reads local WhatsApp Desktop SQLite databases).

跳到安装

来源信息

仓库
moltis-org/moltis
最近来源活动
2026年8月16日 00:35
检测到的 SKILL.md 语言
英语
星标
2,867
分支
350

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
wacrawl
description
Read-only local archive and full-text search of WhatsApp Desktop messages via the wacrawl CLI. Use for searching chat history, exporting conversations, and creating encrypted backups. macOS only (reads local WhatsApp Desktop SQLite databases).
platforms
["darwin"]
homepage
https://github.com/openclaw/wacrawl
requires
{"bins":["wacrawl"],"install":[{"kind":"brew","formula":"openclaw/tap/wacrawl","bins":"[Truncated]","os":"[Truncated]"},{"kind":"go","module":"github.com/openclaw/wacrawl/cmd/wacrawl@latest","bins":"[Truncated]"}]}
origin
{"source":"moltis","url":"https://github.com/moltis-org/moltis"}
# wacrawl — WhatsApp Desktop Archive (Read-Only) `wacrawl` is a read-only local archive tool for WhatsApp Desktop on macOS. It snapshots the local SQLite databases (ChatStorage.sqlite, ContactsV2.sqlite) without modifying them. Use it for searching chat history, exporting conversations, and creating encrypted backups. This is different from `wacli` — wacrawl is read-only archaeology of local data; wacli is an active WhatsApp Web client for sending/receiving messages. ## Secret Safety - wacrawl reads local files only — no API tokens needed. - The optional age encryption key at `~/.wacrawl/age.key` is auto-generated and must not be printed to agent context. - **Never** read, print, or send `~/.wacrawl/age.key` to LLM context. ## Prerequisites - macOS only (reads WhatsApp Desktop's local SQLite databases). - WhatsApp Desktop must be installed and have synced messages. - Full Disk Access may be required for the terminal app to read WhatsApp's container. ## Health Check ```bash wacrawl doctor ``` ## Sync Local Data ```bash wacrawl sync ``` Snapshots the current state of WhatsApp Desktop's databases into wacrawl's local store. ## List Chats ```bash wacrawl chats wacrawl chats --limit 20 wacrawl chats --json ``` ## Search Messages ```bash wacrawl search "query" wacrawl search "invoice" --limit 20 wacrawl messages --chat <jid> --limit 50 wacrawl messages --chat <jid> --json ``` ## Encrypted Backup ```bash wacrawl backup wacrawl backup --output /path/to/backup/ ``` Creates age-encrypted JSONL.gz shards suitable for Git-backed storage. ## Saving to Memory To save search results or chat exports to Moltis memory for future reference: 1. Run wacrawl with `--json` output 2. Summarize the relevant conversations into a daily digest 3. Save as `memory/whatsapp/YYYY-MM-DD.md` Example workflow: ```bash wacrawl search "project meeting" --json --limit 20 ``` Then write a summary to memory: ```markdown # WhatsApp — 2026-04-28 ## Key Conversations - Discussion with Alice about project timeline — agreed on June deadline - Bob shared the updated budget spreadsheet - Team group: standup notes, blockers discussed ``` ## Notes - Store dir: `~/.wacrawl` (override with `--store`). - Use `--json` for machine-readable output when parsing. - JIDs: direct chats look like `<number>@s.whatsapp.net`; groups look like `<id>@g.us`. - This tool cannot work inside a Linux sandbox — it requires macOS WhatsApp Desktop files.
在 GitHub 查看