Celebrating the Christmas holiday in exile isn’t great fun, but at least it’s a few days off to relax and do whatever comes to mind. For some time now, I’ve wondered extensions for Chrome work and what they’re capable of, so I decided to write something simple.

I figured that there must be some places on the Interwebs that would serve up weather related data for free, and after some Googling I found the Wunderground API. It’s free to use for a limited amount of hits per day, and they’ve got end points for all kinds of stuff. Their astronomy end point  returns information on time for sunset and sunrise as well as the number of days since new moon. I created an extension called Lunar Phases and published it through Google’s Webstore. Everything took a few hours to do, and it was much easier than I anticipated. Follow Google’s own tutorials and samples to get up to speed.

I put the code on GitHub, but there’s also a huge amount of samples available from Google.

Lunar Phases, a simple Chrome extension showing some current data relating to the moon and the sun.

Lunar Phases, a simple Chrome extension showing some current data relating to the moon and the sun.

Merry Christmas!