If you’re a developer, you probably already spend a lot of your timing living in the terminal. Well, now there’s a live weather service you can call and it’ll draw the forecast for the week right in your terminal window.
Head over to terminal and paste in the following line, substituting the city name for wherever you want to check:
curl -4 http://wttr.in/Amsterdam
Boom, you’ll get a beautifully ASCII-rendered forecast of the weather for the week. If you want to use it long term, Wttr.in is actually just an online frontend for the wego package, which can run locally on your machine to get the weather.
Take it to the next level and install wego on your machine, then drop ‘wego yourcityhere’ in your .profilerc file and you’ll get the latest weather every time you open the terminal.
Given that you can control your music player and even browse Reddit in the terminal, why would you ever leave?
➤ Wttr.in
Get the TNW newsletter
Get the most important tech news in your inbox each week.