by saikatsg on 7/17/25, 6:05 AM with 87 comments
by Duanemclemore on 7/17/25, 7:46 AM
I'm surprised no one's made a CEEFAX replica for the terminal yet [0]. Their weather page is pretty iconic [1].
[0] There are CEEFAX Emulators online that pull from the BBC RSS feeds to do this.
[1] https://teletextart.co.uk/wp-content/uploads/2016/05/weather...
by yoavm on 7/17/25, 7:59 AM
by Langdal on 7/17/25, 11:33 AM
The national forecast service (yr.no) is saying it will be sunny and very hot all through the weekend, while wttr reports it will be 16-19 degrees Celcius and rain on saturday.
by pixelbeat__ on 7/17/25, 12:07 PM
by inanutshellus on 7/17/25, 6:40 PM
(Bug report - It shows me a full weather forecast even if it doesn't know where I am!)
[snip]
$ curl wttr.in
Weather report: not found
(then shows pretty forecasts anyway)
[/snip]
Edit: Is there a way to show Fahrenheit instead of Celsius? I don't see it in the options https://wttr.in/:help. OH. "u".by knadh on 7/17/25, 2:07 PM
dig london.weather @dns.toys
by DocTomoe on 7/17/25, 9:42 AM
by aa-jv on 7/17/25, 8:19 AM
The very awesome awesome-console-services has more neat tools like this:
https://github.com/chubin/awesome-console-services
My favourite is:
$ nc ticker.bitcointicker.co 10080
.. which is a nice thing to check while waiting for builds ..
And then, there is this wonderful, wonderful thing:
$ curl cheat.sh
Such a great resource when all you've got is a terminal and 15 minutes waiting for those builds ..
Another great one, which I have found very useful for sending myself links across an air gap ..
$ curl qrenco.de/https://news.ycombinator.com/item\?id\=44590971
Okay, one more, because I just can't get enough:
$ curl https://api.lyrics.ovh/v1/depeche-mode/behind-the-wheel
by krylon on 7/17/25, 9:03 AM
Worth pointing out, maybe, that there is an emacs package, too - more than one, actually, the one I am using (occasionally, at least) is https://github.com/cjennings/emacs-wttrin which is available from melpa.
by rollcat on 7/17/25, 8:55 AM
curl wttr.in/London > london.txt
open -a TextEdit london.txt
Witness the control code garbage.IMHO you should not emit ANSII escape sequences until you at least call isatty, preferably also consult termcap. But also IMHO we should bury the terminals, and build better REPLs and lightweight GUI toolkits.
by edarchis on 7/17/25, 7:27 AM
It's sadly victim of its success and is quite often over quota to its weather API. We should make a paid version that wouldn't have this problem and bring some monetary karma to Igor
by PhilippGille on 7/17/25, 10:46 AM
Multiple GitHub issues around this have been opened already.
Otherwise pretty neat of course!
by acaloiar on 7/17/25, 3:18 PM
by mynameajeff on 7/18/25, 12:14 PM
Edit: for some reason upon trying again coordinates work, first time I tried the same url I kept getting "unknown location"
by pvdebbe on 7/17/25, 8:29 AM
by voidUpdate on 7/17/25, 7:17 AM
by zzo38computer on 7/17/25, 6:56 PM
by whalesalad on 7/17/25, 2:36 PM
by hliyan on 7/17/25, 9:00 AM
$ weather in san francisco, today evening?
about 14C, no rain, cloudy
by eisbaw on 7/17/25, 7:18 AM
by mixcocam on 7/17/25, 8:47 AM
by mixcocam on 7/17/25, 8:47 AM
by cft on 7/17/25, 7:54 AM
by ashafq on 7/19/25, 1:31 AM
by cess11 on 7/17/25, 7:17 AM
Nice API though.
by extraduder_ire on 7/18/25, 4:15 PM
by chrismatheson on 7/17/25, 9:46 AM
by kcaseg on 7/17/25, 7:50 AM
by jagrsw on 7/17/25, 12:06 PM
Printing arbitrary output to most terminal emulators is some security risk (even if pretty much everyone does it). Many suffer from vulnerabilities, both past and present, that can allow specially crafted text to inject commands back into the shell. The issue lies in the complex and often legacy standards for handling control characters and escape sequences.
Even xterm is not entirely immune to these problems and has had security advisories issued in the past.
While this attack surface has received attention from sec-researchers in the past, it's not remotely comparable to the scrutiny applied to web browsers. The ecosystem around terminals generally lacks the massive, continuously-funded bug bounty programs and large-scale, constant fuzzing that browsers are subjected to.
by senectus1 on 7/18/25, 1:21 AM
by ioma8 on 7/17/25, 7:15 AM
by lpollin on 7/17/25, 9:38 AM