Minimal Electron desktop app scaffold for monitoring WhatsApp groups and sending a saved message after every configured number of incoming messages.
- QR-based WhatsApp login rendered inside the app
- Remembered linked-device session on the same laptop
- Bundled Chromium running headlessly, so clients do not need Chrome or Edge installed
- Group list refresh
- Enable or disable automation per group
- Default message plus per-group custom message
- Local JSON settings storage
- Live counters per selected group
- Recent send log
- Windows packaging via Electron Builder
- Electron
- Node.js
whatsapp-web.js- Local JSON config in Electron
userData
npm install
npm startnpm run buildnpm run build:portable- The WhatsApp session is stored locally on each laptop. Users scan the QR once and stay linked until WhatsApp logs the session out.
- The login browser is bundled with the Windows build and runs headlessly. The QR is generated in the main process and displayed by the Electron renderer.
- The app loads live WhatsApp Web rather than packaging a stale WhatsApp Web HTML cache. This allows WhatsApp Web updates to be picked up without rebuilding the app.
- This app uses WhatsApp Web automation libraries, so behavior can change if WhatsApp changes the web client.