wazzup-cli
v1.0.1
Published
Send WhatsApp messages from the terminal
Maintainers
Readme
wazzup-cli
Send WhatsApp messages from the terminal.
Install
npm install -g wazzup-cliQuick Start
1. Log in
wazzup loginScan the QR code with WhatsApp on your phone (Linked Devices → Link a Device).
2. Send a message
wazzup send --to "+491234567890" --message "Hello from the terminal!"3. Pipe messages via stdin
echo "Server is down!" | wazzup send --to "+491234567890"Commands
wazzup login
Connect to WhatsApp by scanning a QR code. Session is saved locally so you only need to do this once.
wazzup logout
Delete stored session credentials.
wazzup send
Send a message to a phone number.
| Option | Description |
|---|---|
| --to <number> | Recipient phone number with country code (e.g. +491234567890) |
| --message <text> | Message text. If omitted, reads from stdin. |
wazzup config
View or update configuration.
| Option | Description |
|---|---|
| --default-number <number> | Set a default recipient so you can skip --to |
# Set a default number
wazzup config --default-number "+491234567890"
# Then just
wazzup send --message "Quick message"How It Works
wazzup-cli uses Baileys, an open-source WhatsApp Web API library. It connects as a linked device to your WhatsApp account — no separate phone number or WhatsApp Business account needed.
Session credentials are stored in ~/.whatsapp-cli/auth/.
License
MIT
