gcal2ics
v1.0.6
Published
Convert Google Public Calendar URL to an iCAL Calendar URL that you can import via other Calendar Apps
Readme
gcal2ics (Google Calendar To Google Cal ICS)
Why
Recently, someone shared an embeded Calendar link with me.
A bit like https://calendar.google.com/calendar/[email protected]
I for obvious reasons wanted to link that embeded Calendar with my Calendar app
However, direct copy-paste in this scenario would not work
I needed to convert it to https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics
So inspired from this SO answer to automate this process, I decided to create gcal2ics (there were a lot of links)
Website
You can use our React website at https://pratikpc.github.io/gcal2ics-ui/
Sample Screenshot

Usage
COMMAND LINE
> gcal2ics https://calendar.google.com/calendar/[email protected]
https://calendar.google.com/calendar/ical/[email protected]/public/basic.icsCODE
TypeScript/JavaScript
import gcal2ics from 'gcal2ics';
console.log(
gcal2ics(
'https://calendar.google.com/calendar/[email protected]'
)
);
// OUTPUT
// https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics