A terminal-based WhatsApp messenger built in Go using go-whatsapp and the Bubble Tea TUI framework. Send messages and files directly from your terminal to WhatsApp contacts with ease.
- 🔍 Search and filter contacts from a local JSON file
- 💬 Compose and send multi-line WhatsApp messages
- 📄 Maintain local contact list in
contacts.json - 🖥️ Smooth terminal UI with keyboard navigation
- 🔐 QR-based login (session saved locally)
- 🧠 Written entirely in Go (no browser or Node.js required)
git clone https://github.com/Ashank007/whatsapp-tui-go.git
cd whatsapp-tui-gogo mod tidygo build -o whatsapp-tui./whatsapp-tuiCreate a contacts.json file in the root directory with this format:
[
{
"name": "Alice",
"phone": "1234567890"
},
{
"name": "Bob",
"phone": "9876543210"
}
]
❌ Currently, receiving messages is not reliable due to WhatsApp’s multi-device architecture. The focus is on sending.
This project uses an unofficial WhatsApp Web API, which may stop working if WhatsApp changes its internal protocol. Use responsibly. This is meant for educational or personal use only.
Pull requests are welcome! If you have ideas for improvement, feel free to open an issue or PR.
MIT License © 2025 Ashank Gupta


