Requirements Node.js > 18 WhatsApp account OpenAI API key (if using OpenAI) How to run Set your environment variables (.env) and configs npm install . npm run start TODO Refactor. Settings persistence. Reply with local models. QOL like list chats, contacts, media handling etc. Tips and info Use message.getChat() to retrieve groupIDs. Can be used on no-gui systems. Uncomment no-gui settings, launch the program once and scan the QR code in console mode (ssh works). Local models must be OpenAI compatible. I suggest using LM Studio. Be careful with /media might not work. Unix/Windows working directory... For more info about WhatsApp Web JS, check the library repository.