scorpiox-whatsapp Communication

🐧 Linux x64 🐧 Linux ARM64 🍎 macOS ARM64

WhatsApp CLI for Unix systems — uses fork, pipe, and select for non-blocking message handling. Send and receive WhatsApp messages directly from the terminal.

⚙️ Flags & Options

Flag Short Description Takes Value
--help -h Display help information and available options No
--session Specify a session identifier for persistent connection state Yes
-m Send a message directly from the command line Yes

💡 Usage Examples

Basic — Display help
scorpiox-whatsapp --help
Send a quick message
scorpiox-whatsapp -m "Hey, the deployment is done!"
Start an interactive session
# Launch with a named session for persistent state
scorpiox-whatsapp --session dev-alerts
Resume an existing session
# Reconnect to a previously established session
scorpiox-whatsapp --session dev-alerts -m "Build #421 passed ✓"
Pipe output from another command
# Send CI/CD results to WhatsApp
echo "Deploy to production complete at $(date)" | scorpiox-whatsapp -m -
Use in a shell script for notifications
#!/bin/bash
# Monitor disk usage and alert via WhatsApp
USAGE=$(df -h / | awk 'NR==2 {print $5}' | tr -d '%')
if [ "$USAGE" -gt 90 ]; then
    scorpiox-whatsapp --session infra -m "⚠️ Disk usage at ${USAGE}%"
fi

📦 Source & Build Info

Source File
scorpiox/scorpiox-whatsapp.c
Lines of Code
1,162
Dependencies
libsxutil, libsxbridge

🔗 Related Tools