A simple WhatsApp summarizer with Node.js server + NodeMCU OLED display
WhatNot is a minimal setup that:
- Connects to WhatsApp using :Baileys
- Summarizes incoming messages using :grok lmm
- Sends the summarized text to a NodeMCU
- Displays the summary on a small OLED screen
- Uses polling from NodeMCU to fetch updates from the server
No mobile app. No complex setup.
Just flash → scan QR → done.
- Node.js server starts
- Server shows WhatsApp QR (Baileys)
- You scan the QR once
- Messages from selected WhatsApp numbers are received
- Messages are summarized using Grok
- NodeMCU polls the server API
- Latest summary is shown on the OLED screen
- Node.js
- Baileys (WhatsApp Web connection)
- Grok LLM (message summarization)
- Simple REST API for polling
- NodeMCU (ESP8266)
- I2C OLED display
- WiFi connection
- Upload the NodeMCU code
- Set:
- WiFi SSID
- WiFi Password
- Server IP / Port
After flashing, NodeMCU connects to WiFi automatically.
git clone https://github.com/your-username/whatnot
cd whatnot
npm install
node server.js
.env
GROK_API_KEY=your_grok_api_key
TARGET_WHATSAPP_NUMBERS=919XXXXXXXXX,918XXXXXXXXX