open-wa/wa-automate-nodejs — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Node based WhatsApp automation setup that turns a WhatsApp account into a local API I can run on my machine. I want the first run to let me log in with a QR code or link code, then give me a browser page with live API docs so I can test things easily. If it supports it, also expose the swagger JSON and a Postman collection.
Please use the stable v4 release, 4.76.0, not the v5 alpha, unless there is a really good reason to test v5 separately. Protect the API with an API key, support named sessions like sales on a different port, and let me forward incoming events to my own webhook URL.
Also add one very basic bot example that replies with a friendly hello when someone sends Hi, but keep that logic separate from the WhatsApp runtime so I can replace it with my own app later. Make the startup commands straightforward, include a short local setup guide, and look up current docs online if you need to.
Want more depth? Deep Reverse