Live data from Hacker News

Show Automatically updated sunrise/sunset calendar (ICS)

github.com

1–2 of 2 posts

Re: Show Automatically updated sunrise/sunset calendar (ICS)

#2
I made a small calendar that generates an ICS file with daily sunrise and sunset times. It’s just a Python script hooked up to free GitHub workflows: give it a set of coordinates and it exposes a public ICS you can subscribe to in your calendar app. It auto-updates every few days so you always see the current sunrise and sunset for that location.