Weather in your Console

I've been experimenting with writing command line tools in node.js recently and it turns out to be a fantastic platform for doing so. It's really easy to get information from an API and format it for a console. As a result, I present console-weather, a simple tool for printing the current weather conditions based on a geolocation of your IP address.

You can install it via npm with

npm install -g console-weather

You'll need to get an API key from the Weather Underground API and store it in your WEATHER_API environment variable.

Usage: weather [OPTION]...
Print the current weather conditions and forecast.

    -c       Output temperature in celsius.
    -f       Print 4-day forecast.
    --color  Colorize the output.

I'll be posting more on the topic of command line node in the future; so if you're interested, stay tuned.

Github :: NPM

FlipClock Available on the Chrome Web Store

I just published my FlipClock webapp to the Chrome Web Store.

It was remarkably easy to package it up. I have to hand it to Google, they've made it pretty easy to publish a JavaScript based webapp to their store. The process basically entailed adding a manifest.json to the project and packaging the directory into a ZIP file. If you're interested, you can check out the source on Github or bitbucket.

In short, you should install it and enjoy watching the time flip away...