Overview
wacli is a powerful command-line interface for WhatsApp, built on the whatsmeow library. It offers robust local synchronization of your message history, enabling fast offline searching, seamless message sending, and efficient contact and group management. This third-party tool leverages the WhatsApp Web protocol and is a valuable asset for users who prefer managing their WhatsApp communications via the terminal.
Key Features
- Local Message Sync: Best-effort local synchronization of message history, including continuous capture of new messages, ensuring your data is readily available offline.
- Fast Offline Search: Quickly find messages within your synced history without needing an active internet connection.
- Send Messages: Compose and send text messages, files, and media directly from the command line.
- Contact & Group Management: Easily list, manage, and update group information and participants.
- History Backfill: Request older message history from your primary device for comprehensive data retrieval.
- Media Download: Download media attachments associated with specific messages.
- JSON Output: Option for machine-readable JSON output for integration with other tools and scripts.
- Customizable Device Labels: Control the displayed device label and platform for linked devices.
Typical Use Cases
- Automated Messaging: Scripting the sending of messages or files to contacts or groups.
- Offline Message Access: Quickly retrieving past conversations and searching for information without relying on the official WhatsApp app or internet connectivity.
- Data Archiving: Maintaining a local, searchable archive of your WhatsApp message history.
- Bulk Operations: Performing actions like backfilling history across multiple chats or managing group settings programmatically.
- Integration with Other Tools: Using
wacli's JSON output to feed data into custom dashboards, reporting tools, or automation workflows.
