Weather CLI tool

I made a really quick project to get formatted weather in the command line.



In your command line:

curl # Note that this endpoint is on a free-tier Heroku server # So it might sometimes take more time to get a response

I've also created this function for my .zshrc file:

function weather() { curl }

Here's the Github repo.

I wanted a really simple way to get the current weather right in the command line. The curl command does that, although I was really only interested in the current weather without the unicode icons etc.

This is essentially a proxy for the openweather API with some minimal data manipulation that only returns select information I wanted.

I also learned that a curl request essentially an HTTP request, and a plain text response will render well in the terminal - exactly what I needed.

The source code for this website can be found here under an MIT license