How webyter/autoviewbot works
AutoViewer is a multi-user WhatsApp automation platform: users register and sign in to a web dashboard, pair a WhatsApp account by QR or code, configure features, and run an individual bot worker. The manager handles accounts, sessions, persistence, and worker lifecycle; the worker handles WhatsApp events and commands, including status automation, message recovery, group tools, and AI replies. The graph preserves README capabilities and indexed core modules. Some worker, route, and integration wiring is documented or indexed but not visible in the excerpts, so those links are dashed where unverified.
Main entry points: bot_worker.js Bot Worker · autoviewer.js Web Manager · commands.js Bot Commands · groqAI.js AI and Transcription
Components 31
Dashboard and API
- User Dashboard
public/app.js - Admin Dashboard
public/admin.js - Registration UI
public/register.js
Account Management
- Web Manager
autoviewer.js - Compatibility API
lib/compat-api.js - User Database
lib/db.js - Invite Codes
lib/invites.js - Web Sessions
lib/session-store.js - Audit Logging
lib/audit.js - Backup
lib/backup.js - Keepalive
lib/keepalive.js - Runtime Configuration
lib/render-config.js - Environment Config
config.js
WhatsApp Automation
- Bot Worker
bot_worker.js - Bot Commands
commands.js - Message Store
lib/store.js - Media Recovery
lib/media.js - Quoted Media
lib/quoted-media.js - Message Forwarding
lib/forward.js - Status Automation
lib/status-post.js - Status Content
lib/status-content.js - Status Reactions
lib/status-reaction.js - Status Acknowledgement
lib/status-ack.js - Session Healing
lib/session-heal.js - Presence Diagnostics
lib/presence-diagnostics.js - Credential Guard
lib/creds-presence-guard.js - Notification Presence
lib/notification-presence.js
External Services
- AI and Transcription
lib/groqAI.js
Other components
- Dashboard User
- Groq API
Connections 34
- Dashboard User → User Dashboard: uses
README.md - Dashboard User → Registration UI: registers
README.md - User Dashboard → Web Manager: calls dashboard API
- Admin Dashboard → Web Manager: calls admin API
- Registration UI → Web Manager: submits registration
- Web Manager → User Database: reads and writes
autoviewer.js - Web Manager → Web Sessions: stores sessions
autoviewer.js - Web Manager → Invite Codes: uses invites
autoviewer.js - Invite Codes → User Database: shares write queue
lib/invites.js - Web Manager → Compatibility API: registers routes
autoviewer.js - Web Manager → Audit Logging: records events
autoviewer.js - Web Manager → Backup: uses backups
autoviewer.js - Web Manager → Keepalive: starts keepalive
autoviewer.js - Web Manager → Runtime Configuration: loads configuration
autoviewer.js - Web Manager → Bot Worker: starts per-user worker
- Bot Worker → WhatsApp: connects via Baileys
- Bot Worker → Bot Commands: dispatches commands
bot_worker.js - Bot Worker → Message Store: uses message storage
bot_worker.js - Bot Worker → AI and Transcription: uses AI
bot_worker.js - Bot Worker → Media Recovery: uses media recovery
bot_worker.js - Bot Worker → Message Forwarding: uses forwarding
bot_worker.js - Bot Worker → Presence Diagnostics: uses diagnostics
bot_worker.js - Bot Worker → Credential Guard: uses credential guard
bot_worker.js - Bot Worker → Session Healing: uses session healing
bot_worker.js - Bot Worker → Status Acknowledgement: uses acknowledgements
bot_worker.js - Bot Worker → Status Content: uses status content
bot_worker.js - Bot Worker → Status Automation: uses status posting
bot_worker.js - Bot Worker → Status Reactions: uses reactions
bot_worker.js - Bot Worker → Notification Presence: uses presence settings
bot_worker.js - Bot Commands → Media Recovery: uses media tools
commands.js - Bot Commands → Quoted Media: uses quoted media
commands.js - Quoted Media → Media Recovery: delegates downloads
lib/quoted-media.js - AI and Transcription → Environment Config: reads defaults
lib/groqAI.js - AI and Transcription → Groq API: requests chat and transcription
lib/groqAI.js