{"id":23236740,"url":"https://github.com/pratikpc/gcal2ics","last_synced_at":"2025-04-05T21:17:25.045Z","repository":{"id":57245419,"uuid":"333392255","full_name":"pratikpc/gcal2ics","owner":"pratikpc","description":"Convert GCal Embedded links to Google iCal links","archived":false,"fork":false,"pushed_at":"2021-01-27T18:44:52.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T01:18:51.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gcal2ics","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratikpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-27T11:03:43.000Z","updated_at":"2021-01-27T18:44:49.000Z","dependencies_parsed_at":"2022-09-01T04:31:26.084Z","dependency_job_id":null,"html_url":"https://github.com/pratikpc/gcal2ics","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2Fgcal2ics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2Fgcal2ics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2Fgcal2ics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2Fgcal2ics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratikpc","download_url":"https://codeload.github.com/pratikpc/gcal2ics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399897,"owners_count":20932881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T04:12:36.262Z","updated_at":"2025-04-05T21:17:25.022Z","avatar_url":"https://github.com/pratikpc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcal2ics (Google Calendar To Google Cal ICS)\n\n[![npm](https://img.shields.io/npm/v/gcal2ics)](https://www.npmjs.com/package/gcal2ics) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Lint and Format Status](https://github.com/pratikpc/gcal2ics/workflows/Lint-Format/badge.svg)](https://github.com/pratikpc/gcal2ics/actions) [![Unit Test](https://github.com/pratikpc/gcal2ics/workflows/Unit-Test/badge.svg)](https://github.com/pratikpc/gcal2ics/actions)\n\n## Why\n\nRecently, someone shared an embeded Calendar link with me.  \nA bit like https://calendar.google.com/calendar/embed?src=info@example.com  \nI for obvious reasons wanted to link that embeded Calendar with my Calendar app  \nHowever, direct copy-paste in this scenario would not work\nI needed to convert it to https://calendar.google.com/calendar/ical/info@example.com/public/basic.ics  \nSo inspired from this [SO answer](https://stackoverflow.com/a/56711805) to automate this process, I decided to create gcal2ics (there were a lot of links)\n\n## [Website](https://pratikpc.github.io/gcal2ics-ui/)\n\nYou can use our React website at https://pratikpc.github.io/gcal2ics-ui/\n\n### Sample Screenshot\n\n![Sample Screenshot](/docs/ui.png 'Sample Screenshot')\n\n## Usage\n\n### COMMAND LINE\n\n```\n\u003e gcal2ics https://calendar.google.com/calendar/embed?src=info@example.com\n\nhttps://calendar.google.com/calendar/ical/info@example.com/public/basic.ics\n```\n\n### CODE\n\n[TypeScript](https://www.typescriptlang.org/)/JavaScript\n\n```js\nimport gcal2ics from 'gcal2ics';\n\nconsole.log(\n    gcal2ics(\n        'https://calendar.google.com/calendar/embed?src=info@example.com'\n    )\n);\n// OUTPUT\n// https://calendar.google.com/calendar/ical/info@example.com/public/basic.ics\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikpc%2Fgcal2ics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratikpc%2Fgcal2ics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikpc%2Fgcal2ics/lists"}