LazydaysCr/moon-phase-clock ? reverse-engineered prompt
Reverse engineered prompt
Build me an ESP32 powered round screen clock for a GC9A01 240 by 240 display.
I want it to show the current time and date all the time, sync the time over WiFi with NTP, and also show the current moon phase using NASA’s Dial a Moon API. It should have a nice moon animation on startup, then connect to WiFi, fetch the moon data, and keep refreshing it in the background. Please make the UI look clean and centered for a circular display, with the moon image and phase name matching the current lunar phase.
Use the existing hardware setup for an ESP32 WROOM and keep it easy to configure by editing WiFi credentials in a header file. If you need to, look up the current docs online so the display and API parts are wired up correctly. Also make it buildable in PlatformIO and keep the display rotation and color order easy to tweak if needed.
Are you gonna build this?
make sure you review the code using coderabbit