Skip to content

A Raycast extension that lets you check sunrise/sunset times for dates up to a month in the future 🌄

Notifications You must be signed in to change notification settings

jeffreydyao/sunrise-sunset-times

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunrise / Sunset Times

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

Video.Demo.mp4

Screenshots

Main menu Actions

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)

How do I install it?

While the extension's undergoing review, install it in development mode.

  1. Clone the repo locally, or download and unzip.
  2. Inside the extension folder, run npm install && npm run build.
  3. Search for 'Import Extension' in Raycast and import the extension folder.
  4. Type 'Check Sunrise / Sunset Times' to get started! ✨

How does it work?

  • 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.

About

A Raycast extension that lets you check sunrise/sunset times for dates up to a month in the future 🌄

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published