Reverse engineered prompt

GitHub

Build me a self hosted WhatsApp Web API bridge with a simple browser dashboard. I want to open it locally, enter a phone number, scan a QR code, and then land on a dashboard that shows my client ID and secret API key. After that I should be able to send WhatsApp messages through a REST API, check whether the connection is online, and view recent inbound and outbound message logs.

Please store users, message logs, webhook settings, and login sessions in MongoDB so the WhatsApp session comes back after a restart. I also want webhook support so every inbound message can be forwarded to my URL, with API endpoints to add, pause, and delete webhooks. Make sure phone numbers are cleaned automatically so different formats still work. It should run with Chrome or Chromium on the server, be straightforward to start locally, and be easy to deploy too. Look up current docs online if you need to.

Have a live product UI? Try website reverse