A Raycast extension that lets you see sunrise / sunset times at your current location for dates up to a month in the future.
Video.Demo.mp4
Commands:
- Check Sunrise / Sunset Times: See sunrise / sunset times for dates up to a month in the future.
Actions:
- Copy Sunrise Time: Copy the currently selected date's sunrise time to the clipboard (i.e. April 7 | Sunrise: 6:12:26 AM)
- Copy Sunset Time: Copy the currently selected date's sunset time to the clipboard (i.e. April 7 | Sunset: 5:44:45 PM)
While the extension's undergoing review, install it in development mode.
- Clone the repo locally, or download and unzip.
- Inside the extension folder, run
npm install && npm run build
. - Search for 'Import Extension' in Raycast and import the extension folder.
- Type 'Check Sunrise / Sunset Times' to get started! ✨
- The extension fetches your current location's latitude and longitude using IP geolocation. This means that if you travel to a different location, the times update for your location without any configuration.
- suncalc is used to calculate the sunrise and sunset time for each date in the future. The calculations are based on algorithms by people smarter than I am.