Apple Calendar & iCloud Sync
StudySync generates a live, standards-compliant RFC 5545 iCalendar (.ics) feed that you can subscribe to in Apple Calendar on macOS, iOS, iPadOS, and Apple Watch.
How It Works
Rather than requiring manual exports, StudySync exposes a dynamic webcal endpoint:
text
webcal://<your-host>:3000/api/calendar/feed.ics1
Whenever Apple Calendar connects to this endpoint, StudySync generates the .ics feed on the fly directly from SQLite with strict Cache-Control: no-cache headers.
The feed embeds native refresh directives:
text
X-PUBLISHED-TTL:PT15M
REFRESH-INTERVAL;VALUE=DURATION:PT15M1
2
2
This tells Apple Calendar and iCloud to check for schedule updates automatically every 15 minutes.
Setup on Mac (macOS Calendar)
- Open Calendar on your Mac.
- In the top menu bar, click File → New Calendar Subscription... (or press ⌥⌘S).
- Paste your StudySync feed URL.
- In the subscription settings:
- Set Location to iCloud (this automatically syncs the calendar to your iPhone!).
- Set Auto-refresh to Every 15 minutes (or Every hour).
- Uncheck Ignore Alerts to receive homework notifications.
- Click OK.
Setup on iPhone & iPad
If you already subscribed on Mac with Location: iCloud:
You don't need to do anything! The subscription will appear automatically in the iOS Calendar app within a few minutes.
Direct Subscription on iPhone:
- Open Settings on your iPhone.
- Go to Apps → Calendar (or Mail → Accounts on older iOS).
- Tap Calendar Accounts → Add Account → Other.
- Tap Add Subscribed Calendar.
- Paste your StudySync calendar feed URL and tap Next → Save.