Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.34 KB

File metadata and controls

71 lines (51 loc) · 1.34 KB

WhatsNot 📱

A simple WhatsApp summarizer with Node.js server + NodeMCU OLED display


📖 Overview

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.


How It Works

  1. Node.js server starts
  2. Server shows WhatsApp QR (Baileys)
  3. You scan the QR once
  4. Messages from selected WhatsApp numbers are received
  5. Messages are summarized using Grok
  6. NodeMCU polls the server API
  7. Latest summary is shown on the OLED screen

🧩 Components

Server

  • Node.js
  • Baileys (WhatsApp Web connection)
  • Grok LLM (message summarization)
  • Simple REST API for polling

Hardware

  • NodeMCU (ESP8266)
  • I2C OLED display
  • WiFi connection

⚙️ Setup

1. Flash NodeMCU

  • Upload the NodeMCU code
  • Set:
    • WiFi SSID
    • WiFi Password
    • Server IP / Port

After flashing, NodeMCU connects to WiFi automatically.


2. Start Server

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