How irwanx/whatsapp-status-reader works
WhatsApp Status Reader is a Neonize-based bot that connects a linked WhatsApp account, then handles incoming status events by deduplicating them, marking them read, and optionally reacting with a configured emoji. On first run, users choose QR or phone pairing; later runs reuse the SQLite session. The README documents real-time auto-read, pairing, persistent sessions, and optional reactions. The single source file was inspected; external WhatsApp and Neonize internals are represented only where their use is explicit.
Main entry points: main.py Status event handler
Components 10
Connection and Login
- Bot runtime
main.py - QR and pairing
main.py - SQLite session
Status Handling
- Status event handler
main.py - Status deduplication
main.py - Sender resolution
main.py
Status Actions
- Read receipt
main.py - Optional reaction
main.py
Other components
- Account operator
Connections 12
- Account operator → Bot runtime: starts bot
README.md - Bot runtime → SQLite session: checks session
main.py - Bot runtime → QR and pairing: requests login
main.py - QR and pairing → WhatsApp: pairs account
README.md - Bot runtime → WhatsApp: connects
main.py - WhatsApp → Status event handler: delivers status
main.py - Status event handler → Status deduplication: filters duplicates
main.py - Status event handler → Sender resolution: resolves sender
main.py - Status event handler → Read receipt: marks read
main.py - Status event handler → Optional reaction: optionally reacts
main.py - Read receipt → WhatsApp: sends receipt
main.py - Optional reaction → WhatsApp: sends reaction
main.py