A powerful, TypeScript-based CLI that brings the full WhatsApp experience to your terminal, powered by whatsapp-web.js.
- Bun v1.2.21 or higher
- Node.js 18+ (for compatibility)
- A WhatsApp account, signed in on a phone
Clone the repository and install dependencies:
git clone https://github.com/0xanshu/whatsapp-cli.git
cd whatsapp-cli
bun install
bun run dev| Shortcut | Action |
|---|---|
Ctrl+C |
Exit the application |
Ctrl+S / Right Arrow |
Focus on input field |
Ctrl+D / Left Arrow |
Focus on chat list |
Ctrl+L / ` |
Toggle console |
bun build src/index.ts --outfile dist/index.jsContributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This project is unofficial and not affiliated with WhatsApp or Meta Platforms, Inc. Use at your own risk and ensure you comply with WhatsApp's Terms of Service.
whatsapp-web.js - WhatsApp Web client library
