{"id":16726894,"url":"https://github.com/lpil/icalendar","last_synced_at":"2025-04-04T06:08:35.864Z","repository":{"id":3120877,"uuid":"48502910","full_name":"lpil/icalendar","owner":"lpil","description":"🗓️  A small library for reading and writing ICalendar files.","archived":false,"fork":false,"pushed_at":"2024-06-26T20:22:24.000Z","size":143,"stargazers_count":104,"open_issues_count":16,"forks_count":58,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T05:09:53.427Z","etag":null,"topics":["icalendar"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["lpil"]}},"created_at":"2015-12-23T17:32:07.000Z","updated_at":"2025-01-23T21:10:27.000Z","dependencies_parsed_at":"2024-11-29T22:33:03.269Z","dependency_job_id":null,"html_url":"https://github.com/lpil/icalendar","commit_stats":{"total_commits":108,"total_committers":20,"mean_commits":5.4,"dds":0.6296296296296297,"last_synced_commit":"133ecb0727d5dc1f1aca98c87e7030178e133371"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ficalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ficalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ficalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Ficalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpil","download_url":"https://codeload.github.com/lpil/icalendar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128746,"owners_count":20888235,"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":["icalendar"],"created_at":"2024-10-12T22:55:03.241Z","updated_at":"2025-04-04T06:08:35.837Z","avatar_url":"https://github.com/lpil.png","language":"Elixir","funding_links":["https://github.com/sponsors/lpil"],"categories":[],"sub_categories":[],"readme":"# ICalendar\n\n[![Test](https://github.com/lpil/icalendar/actions/workflows/test.yml/badge.svg)](https://github.com/lpil/icalendar/actions/workflows/test.yml)\n[![Module Version](https://img.shields.io/hexpm/v/icalendar.svg)](https://hex.pm/packages/icalendar)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/icalendar/)\n[![Total Download](https://img.shields.io/hexpm/dt/icalendar.svg)](https://hex.pm/packages/icalendar)\n[![License](https://img.shields.io/hexpm/l/icalendar.svg)](https://github.com/lpil/icalendar/blob/master/LICENSE.md)\n\nA small library for reading and writing ICalendar files.\n\n# This library is in maintenance mode\n\nBug fixes may be accepted but no new features will be added. If you wish to add\nnew features I recommend creating and publishing a fork. If an active fork is\ncreated I will direct users from this project to the new one.\n\n## Installation\n\nThe package can be installed by adding `:icalendar` to your list of dependencies\nin `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:icalendar, \"~\u003e 1.1.0\"}\n  ]\nend\n```\n\n## Usage\n\n```elixir\nevents = [\n  %ICalendar.Event{\n    summary: \"Film with Amy and Adam\",\n    dtstart: {{2015, 12, 24}, {8, 30, 00}},\n    dtend:   {{2015, 12, 24}, {8, 45, 00}},\n    description: \"Let's go see Star Wars.\",\n    location: \"123 Fun Street, Toronto ON, Canada\"\n  },\n  %ICalendar.Event{\n    summary: \"Morning meeting\",\n    dtstart: Timex.now,\n    dtend:   Timex.shift(Timex.now, hours: 3),\n    description: \"A big long meeting with lots of details.\",\n    location: \"456 Boring Street, Toronto ON, Canada\"\n  },\n]\nics = %ICalendar{ events: events } |\u003e ICalendar.to_ics\nFile.write!(\"calendar.ics\", ics)\n\n# BEGIN:VCALENDAR\n# CALSCALE:GREGORIAN\n# VERSION:2.0\n# BEGIN:VEVENT\n# DESCRIPTION:Let's go see Star Wars.\n# DTEND:20151224T084500Z\n# DTSTART:20151224T083000Z\n# LOCATION: 123 Fun Street\\, Toronto ON\\, Canada\n# SUMMARY:Film with Amy and Adam\n# END:VEVENT\n# BEGIN:VEVENT\n# DESCRIPTION:A big long meeting with lots of details.\n# DTEND:20151224T223000Z\n# DTSTART:20151224T190000Z\n# LOCATION:456 Boring Street\\, Toronto ON\\, Canada\n# SUMMARY:Morning meeting\n# END:VEVENT\n# END:VCALENDAR\n```\n\n## See Also\n\n- https://en.wikipedia.org/wiki/ICalendar\n- http://www.kanzaki.com/docs/ical/dateTime.html\n\n## Copyright and License\n\nCopyright (c) 2015 Louis Pilfold\n\nThis library is released under the MIT License. See the [LICENSE.md](./LICENSE.md) file\nfor further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpil%2Ficalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpil%2Ficalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpil%2Ficalendar/lists"}