wacli
WhatsApp CLI
Learn how to send files with custom display filenames using the wacli send file --filename flag. wacli handles actual file paths for MIME detection and hashing.
How the wacli doctor Command Diagnoses Connection and Authentication IssuesTroubleshoot wacli connection and authentication problems with the doctor command. This diagnostic tool checks your local store, authentication, and network status to resolve errors.
Understanding the wacli Bootstrap Sync Process After AuthenticationExplore the wacli bootstrap sync process after authentication. Learn how it imports contacts, syncs history, stores messages, and self-exits.
How to Use Invite Links Programmatically with wacli to Join WhatsApp GroupsLearn to programmatically join WhatsApp groups using wacli invite links. Execute commands or call Go functions to automate group joining efficiently.
Recommended Security Permissions for the wacli Store Directory: A Complete GuideLearn the recommended security permissions for the wacli store directory. Secure your WhatsApp session keys and chat data with POSIX mode 0700.
How to Run wacli as a Non-Interactive Daemon or in ScriptsLearn how to run wacli as a non-interactive daemon or in scripts. Authenticate once then use sync flags for automation with machine-readable JSON output.
How the JSON Output from wacli Commands Is StructuredUnderstand the wacli JSON output structure. Learn how success status data and errors are presented in a standardized envelope for clear command results.
What Happens When FTS5 Is Not Available and wacli Falls Back to LIKE QueriesDiscover what happens when FTS5 is unavailable in wacli. Learn how it gracefully falls back to LIKE queries and remains fully functional.
Exponential Backoff for Reconnections in wacli: Implementation and UsageDiscover wacli's exponential backoff for reconnections. Learn how it increases delays between attempts, respects bounds, and handles context cancellation for robust connectivity.
How WACLI_DEVICE_LABEL and WACLI_DEVICE_PLATFORM Control WhatsApp Client Identity in wacliLearn how WACLI_DEVICE_LABEL and WACLI_DEVICE_PLATFORM control your WhatsApp client identity in wacli. Understand device name and platform settings for compatibility.
How wacli's Message Upsert Logic Prevents Duplicate Entries During History Sync ReplaysDiscover how wacli's message upsert logic prevents duplicate entries during history sync replays using SQLite's ON CONFLICT clause and a unique composite constraint. Learn to avoid data duplication.
What Causes Device Replaced Errors in wacli and How Store Locking Prevents ThemLearn what causes device replaced errors in wacli and how store locking prevents multiple instances from corrupting your WhatsApp device identity. Ensure seamless operation.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →