Show HN: Daylight – track sunrise / sunset times in your terminal
Published on: 2025-06-19 09:21:57
daylight
a command-line program for tracking sunrise and sunset times (Mac / Linux)
It tells you the sunrise, sunset, solar noon times and day length. It also projects these changes over the next ten days.
daylight uses your IP-based location and timezone to tailor the results to your geometry. It works in (ant)arctic locations, and you can override the IP location if you're travelling / on a VPN.
I love the sunlight and dread the long, dark winter evenings of Northern Europe. I often look up sunrise / sunset times and count off the days until the dreary darkness is gone.
(IP lookup is powered by https://ipinfo.io. They provide a good service so please don't spam requests.)
Installation
Homebrew (MacOS and Linux)
# Add my tap (formula repository) brew tap jbreckmckye/formulae # Install daylight brew install daylight # Check it daylight --help
Manual installation (and Windows)
Pick up the executable for your system in the releases. Unzip the package and put the program in a fo
... Read full article.