Tasnimul-Hasan-Taohid/esp8266-WiFi-for-Friends ? reverse-engineered prompt
Reverse engineered prompt
Build me an ESP8266 WiFi repeater for a NodeMCU that connects to my home WiFi and also creates an open guest network at the same time.
I want it to save the WiFi name and password so it still works after power is cut, reconnect automatically if the main WiFi drops, and let a few guests connect at once. Please include a simple web page for setup and status at 192.168.4.1, with a captive portal on first boot, plus a few API routes for checking status and updating settings. It should also have a hidden admin page for debugging.
Make the status LED show whether it is connected, trying to connect, or disconnected, and add a reset button that clears saved WiFi settings when held for 5 seconds. If needed, look up current ESP8266 docs online so the code is compatible.
Are you gonna build this?
make sure you review the code using coderabbit