innovateweb25/whatsapp-ai-auto-reply-bot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a lightweight WhatsApp auto reply bot that runs from the terminal and connects through a QR code like WhatsApp Web. I want it to automatically reply to incoming WhatsApp messages using an AI model through OpenRouter.

Keep it simple and beginner friendly, with no database and no web dashboard. I should be able to put my OpenRouter API key, model name, and assistant name in an env file, start it with a script, scan the QR code, and have it begin replying.

Please include an easy place where I can customize the bot’s personality and rules, like whether it should act as customer support, a business assistant, a lead generation helper, or a personal chat assistant. It should support setting the tone, language, and response style.

Make the terminal output clean so I can tell when it’s connected and when messages are being handled. Add sensible safety notes in the README about testing with a secondary WhatsApp account, avoiding spam, and following WhatsApp rules.

Want more depth? Deep Reverse