drupal_dom

joined 11 months ago
[–] drupal_dom@alien.top 0 points 11 months ago (1 children)

For years, I hosted a PHP script on a personal website that would connect to a weather API, retrieve the weather at my home location, and, depending on it, generate a cute display with HTML/CSS and SVGs. The display looked like a 1500x500 image (though it was a website), where the sun (or moon), clouds (or rain or snow, etc.), were positioned differently based on the weather and time of the day. Additionally, the temperature and other details were displayed.

Then, the script would call an HTML to PDF tool to generate an image from it. This image was, at that time, uploaded to Twitter as my profile banner image. A server cron job would run the script every hour, so my banner would be updated every hour to reflect the weather at my home position.

Why did I do this? I have no idea. Not even sure if anyone noticed, but I could, so I did! Eventually, I ended up turning the script off at some point because it felt childish.