Description
WhatsApp Bot is a self-hosted app that connects to your WhatsApp account through WhatsApp Web and gives you a browser interface for your chats, a REST API and a command system. It is written in TypeScript and needs Node.js 22 or newer. The web interface follows the WhatsApp Web layout, with chats and groups, emoji, images, video, documents, voice notes, replies, read receipts, full-text search and dark mode. Messages are saved to a local SQLite database as they arrive, so the interface stays fast and remains browsable when WhatsApp is offline. New messages, acknowledgements and chat changes are pushed to the browser over WebSocket. The REST API can send messages and query chats, contacts and groups, and an API key can protect it. Commands start with an exclamation mark and cover currency rates, Brazilian postal code lookup, profile pictures, mentioning all group members for admins, and sending SMS. You link the bot by scanning a QR code from WhatsApp's linked devices menu, and the saved session survives restarts.…
Highlights
- WhatsApp Web-style interface in the browser
- Local message history stored in SQLite
- REST API for messages, chats and groups
- Extensible !command system
- Realtime updates over WebSocket
Ratings & Reviews
No ratings yet
Be the first to rate Whatsapp Bot.
People also visit
Wppconnect Manager
Self-hosted session management and chat workspace for WPPConnect Server
Whatsapp Bot FAQ
What do I need to run it?
Node.js 22 or newer. Start the app with the project's npm scripts, open localhost port 3000 and scan the QR code from WhatsApp's linked devices menu.
Can I use it when WhatsApp is offline?
Yes, for reading. Messages are synced to a local SQLite database, so chats remain browsable when WhatsApp is offline. The saved session means restarts reconnect without a new QR code.
How do I protect the REST API?
Set the API_KEY variable and requests must send an Authorization bearer token. The full API reference is in docs/API.md in the repository.
What commands are available?
Commands start with an exclamation mark. Examples are !cotacao for USD, EUR and BTC rates, !cep for Brazilian postal code lookup, !perfil for a profile picture, !mencionar to mention all group members (admins), and !sms to send an SMS through Mobizon.
What are the best Whatsapp Bot alternatives?
Popular alternatives to Whatsapp Bot include BotFast, AutoWhats and Builderbot. See all Whatsapp Bot alternatives






