News for hackers. Stuff that matters.

nurlennart

Show HN: Sunrise and sunset times for your area and weather forecast

https://sunrisewhen.com

I shared this a little while ago. Since then, I've implemented some feature requests and added a small weather widget.There are also static pages for major cities if you prefer not to use the location-based version. e.g., https://sunrisewhen.com/new-yorkI know most phones and browsers already provide this kind of info, but it's a fun little project I enjoy keeping alive.cheers

( Read More... | no comments | 2 points | on HN )
Re:Show HN: Simple Docker Hosting on Tuesday January 14, 2025 @09:56AM (#42697941)
I remember seeing your posts about sliplane on my X for you page. Cool stuff.

All the best for you and your project!

btw: you can append ?units=imperial to the url if you want imperial units for the weather
ah, thanks for the heads up. Just switched it to OpenStreetMap, that one works fine on mobile.
I'll remove the padding, I think. This is appropriate for long-term displaying, the sun data is fetched once at loading the site and stored in a cookie for 6 hours. Weather data is fetched live at every request. Using a tab refresh plugin, this could be automatically fetched every hour or so.
Should not scroll anymore, cleaned up a little
that's true, I will fix that. thank you!
that's brilliant. I don't know why I never thought of that. Just implemented it. Was basically just wasting horizontal space on desktops. thank you!
Re:Ask HN: Self Hosting an Email Server? on Monday January 29, 2024 @08:16AM (#39175854)
surprised to see no mention of https://mailcow.email/