1
Fork 0
Small PHP script to merge multiple ICS calendars in one. The idea behind this is that you can share with someone multiple calendars (for them to import into their calendar) without having to pass them all the different files.
Find a file
2025-03-09 17:05:58 +01:00
.gitignore first 2024-09-16 13:01:14 +02:00
composer.json add feature to exclude participants 2025-03-09 17:05:58 +01:00
LICENSE Initial commit 2024-09-16 12:56:36 +02:00
merge-calendars-config.json.example first 2024-09-16 13:01:14 +02:00
merge-calendars.php add feature to exclude participants 2025-03-09 17:05:58 +01:00
README.md add feature to exclude participants 2025-03-09 17:05:58 +01:00

merge-calendars

Small PHP script to merge multiple ICS calendars in one. The idea behind this is that you can share with someone multiple calendars (for them to import into their calendar) without having to pass them all the different files.

A current limitation is that the script doesn't remove multiple ICS names, timezones, etc., so some software might find these conflicts and be unable to deal with them. I tested this with Gmail and it seems to work nicely.

You can avoid sharing this with people you invite for events and them having a duplicate in their calendar by giving them a link that includes a parameter such as exclude_participants[]=example@gmail.com. This will exclude every event from the final calendar that includes "example@gmail.com" as an attendee or organiser.

In the future I intend to create "tags" for calendars, so you can share different portions of your calendars with people, without having to give them different (shady) links (e.g. /calendar.php?secret=xxx&include=work&include=personal, or something like that!).