Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.56 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.56 KB

☀️ Sun Calendar

A simple ICS calendar that shows daily sunrise & sunset times in San Francisco.

🗓️ Usage

Subscribe to this link ("by URL") in your calendar app:

webcal://www.averychan.site/sun-calendar/sun.ics

Sunrise and Sunset times for the current week should appear in your calendar like this:

example calendar view
For Google Calendar to to: https://calendar.google.com/calendar/u/0/r/settings/addbyurl

💻 Dev Usage + Notes

  • To generate the isc file, run create_calendar_local.py
  • The isc file is exposed by hosting on GH pages
  • If you want to use a different location, just change the lat and long coordinates in create_calendar_local.py
    • You can get the lat and long coordinates from google maps by right clicking
    • If you want it to auto-update, you'll have to fork this and host it on your own github pages. You'll have to update the workflow file to point to your repo too.