Live data from Hacker News

Show HN: Brolly, a plain-text weather forecast site

brolly.sh

21–30 of 91 posts

Re: Show HN: Brolly, a plain-text weather forecast site

#21
Really love this website and its awesome, thanks for making this!

I really love Golang minimalist applications using sqlite. The whole architecture feels really elegant to me personally. I wish you luck for this project and if I may ask, is the project open source, I really love its UI :) ,it feels so cool!

Re: Show HN: Brolly, a plain-text weather forecast site

#22
post #3

How do you turn on the text-only mode? I've tried Accept: text/plain but I always get HTML.

Don't think it's 'true' plain text. HTML/CSS rendering 'like' plain text. Still beautiful though!

curling it (with the relevant link from browser because locations are encoded in the URL rather than plain like wettr.in) shows html

Re: Show HN: Brolly, a plain-text weather forecast site

#24
Would be nice if desktop rendered in columns. Would be nice if it were curl-able (like not serving raw html to curl). Would be nice if URL pattern was like wttr.in (NYC for example is https://brolly.sh/forecast/YcUDdBLc <---which means nothing to me, vs wttr.in/nyc <---which is plainly obvious)

Re: Show HN: Brolly, a plain-text weather forecast site

#25
post #20
post #19

Earlier quoted context omitted.

Looking at chrome dev tools, it looks like it might be the custom font causing the delay. I'm not sure exactly why though.

Interesting, I’d have naively assumed that’d be cached after first load by Chrome. Definitely one to investigate further.

Might as well drop custom fonts? This minimalist site would be fine with built in font families.

I recommend run Google Lighthouse for a single visitor view of perf and then use a load testing tool (locust, jmeter etc. to check load handling)

If you want to that is :)

Re: Show HN: Brolly, a plain-text weather forecast site

#28
post #10
post #8

Love it. This reminds me of wttr.in, but with the benefit of interactivity and that it works much better on mobile. I also happen to often use terminals in a narrower aspect, so wttr.in doesn't work perfectly for me. It'd be very cool if a curl call to your site rendered a terminal text view!

Great suggestion, thank you. I’ll definitely keep that in mind as an improvement. There’s been some other feedback that it’d be good if there was a ‘true’ plain text only mode, and this ties in well.

It's sort of okay (but not amazing) with

  w3m -4 -dump https://brolly.sh/forecast/RWFP2qW8
Ideally, you would let someone set an Accept: content type of text/plain, or else have an endpoint like brolly.sh/forecast/RWFP2qW8.txt
Post reply on HN