[dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Markus Teich
Heyho, since I was tired of fetching lots of unneeded html and js and images just to get a weather forecast, I wrote wego[0]. Comments welcome. --Markus 0: https://github.com/schachmat/wego

Re: [dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Pascal Wittmann
Hi Markus, On 01/14/2015 10:42 PM, Markus Teich wrote: > since I was tired of fetching lots of unneeded html and js and images just to > get a weather forecast, I wrote wego[0]. Comments welcome. Looks great! I will give it a try in the next few days. Pascal signature.asc Description: OpenPGP

Re: [dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Nick
Quoth Markus Teich: > since I was tired of fetching lots of unneeded html and js and images just to > get a weather forecast, I wrote wego[0]. Comments welcome. I did a similar thing a while ago in bourne shell. It's fragile, as shell scripts should be, and shouldn't be relied upon. But it's a

Re: [dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Nick
Quoth Nick: > I did a similar thing a while ago in bourne shell. I forgot to mention it depends on curl and jq. Any bourne shell should work though; I don't believe in bash.

Re: [dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Markus Teich
Nick wrote: > Oh, and its output is far, far more basic than Markus'. Oh yes, one third of my SLOC are the ascii icons and nearly another third is for the output formatting… :/ --Markus

Re: [dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Markus Teich
Nick wrote: > It uses Weather Underground, which means it has hourly info, and lots of other > forecast stuff that the script is just ignoring for now. It also loads the > json with the weather data without needing an API key, because that shit is > for chumps. For me, SSL support was more importa

Re: [dev] wego: a weather app for the terminal written in go

2015-01-14 Thread Markus Wichmann
On Wed, Jan 14, 2015 at 10:42:07PM +0100, Markus Teich wrote: > Heyho, > > since I was tired of fetching lots of unneeded html and js and images just to > get a weather forecast, I wrote wego[0]. Comments welcome. > When I tried to run it, it would just print "Malformed response". I added a line