{"id":28804599,"url":"https://github.com/thoven87/icalendar-kit","last_synced_at":"2026-01-07T01:16:23.764Z","repository":{"id":297288850,"uuid":"996321902","full_name":"thoven87/icalendar-kit","owner":"thoven87","description":"iCalendar -- Internet calendaring for Swift","archived":false,"fork":false,"pushed_at":"2025-06-04T21:18:02.000Z","size":88,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-05T00:03:11.508Z","etag":null,"topics":["calendar","calendar-generator","icalendar","icalendar-format","icalendar-parsing","server-side-swift","swift","vcard","vcard-generator","vcard-parser"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/thoven87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-04T19:28:30.000Z","updated_at":"2025-06-04T21:26:44.000Z","dependencies_parsed_at":"2025-06-05T00:03:19.626Z","dependency_job_id":"c231a250-7efc-442d-be30-c629123fd650","html_url":"https://github.com/thoven87/icalendar-kit","commit_stats":null,"previous_names":["thoven87/icalendar-kit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thoven87/icalendar-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoven87%2Ficalendar-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoven87%2Ficalendar-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoven87%2Ficalendar-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoven87%2Ficalendar-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoven87","download_url":"https://codeload.github.com/thoven87/icalendar-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoven87%2Ficalendar-kit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260523608,"owners_count":23021969,"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":["calendar","calendar-generator","icalendar","icalendar-format","icalendar-parsing","server-side-swift","swift","vcard","vcard-generator","vcard-parser"],"created_at":"2025-06-18T09:06:08.563Z","updated_at":"2026-01-07T01:16:23.757Z","avatar_url":"https://github.com/thoven87.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iCalendar Kit\n\nA comprehensive Swift 6 library for parsing and creating iCalendar (RFC 5545) events with full support for structured concurrency, Sendable conformance, and modern Swift features.\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fthoven87%2Ficalendar-kit%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/thoven87/icalendar-kit)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fthoven87%2Ficalendar-kit%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/thoven87/icalendar-kit)\n[![CI](https://github.com/thoven87/icalendar-kit/actions/workflows/ci.yml/badge.svg)](https://github.com/thoven87/icalendar-kit/actions/workflows/ci.yml)\n\n## Features\n\n- **RFC Compliant**: Full support for RFC 5545, 7986, 6868, 7808, and more\n- **Swift 6 Ready**: Complete Sendable conformance and structured concurrency support\n- **Modern API**: Fluent EventBuilder with transparency, versioning, location, and theming support\n- **Maximum Compatibility**: Automatic legacy X-WR fallbacks for older calendar systems\n- **Comprehensive**: Events, todos, journals, alarms, time zones, recurrence rules, and VCards\n- **Type Safe**: Unified alarm API with RFC-compliant action-specific requirements\n\n## Installation\n\n### Swift Package Manager\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/thoven87/icalendar-kit.git\", from: \"2.0.0\")\n]\n```\n\n## Quick Start\n\n### Creating Events\n\n```swift\nimport ICalendar\n\nlet event = EventBuilder(summary: \"Team Meeting\")\n    .starts(at: Date(), timeZone: .current)\n    .duration(3600)\n    .location(\"Conference Room A\")\n    .description(\"Weekly team sync\")\n    \n    // Modern properties\n    .transparent()  // Shows as available time\n    .sequence(1)    // Event version\n    .geoCoordinates(latitude: 37.7749, longitude: -122.4194)\n    .color(hex: \"FF5733\")\n    .conference(\"https://zoom.us/j/123456789\")\n    .attachment(\"agenda.pdf\", mediaType: \"application/pdf\")\n    \n    // Attendees and alarms\n    .organizer(email: \"manager@company.com\", name: \"Manager\")\n    .addAlarm(.display(description: \"Meeting in 15 min\"), trigger: .minutesBefore(15))\n    .buildEvent()\n\nvar calendar = ICalendar(productId: \"-//My App//EN\")\ncalendar.addEvent(event)\n\nlet icsString = try ICalendarSerializer().serialize(calendar)\n```\n\n### Parsing Calendars\n\n```swift\nlet icalContent = \"\"\"\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//My App//EN\nBEGIN:VEVENT\nUID:event-123\nSUMMARY:Important Meeting\nDTSTART:20240101T140000Z\nDTEND:20240101T150000Z\nEND:VEVENT\nEND:VCALENDAR\n\"\"\"\n\nlet calendar = try ICalendarKit.parseCalendar(from: icalContent)\nprint(\"Found \\(calendar.events.count) events\")\n```\n\n### Working with VCards\n\n```swift\nlet contact = VCardBuilder(name: \"John Doe\")\n    .email(\"john@company.com\")\n    .phone(\"+1-555-0123\")\n    .organization(\"Tech Corp\")\n    .buildVCard()\n\nlet vcfString = try VCardSerializer().serialize([contact])\n```\n\n## EventBuilder Properties\n\nThe modern `EventBuilder` API supports all essential iCalendar properties:\n\n| Category | Properties |\n|----------|------------|\n| **Scheduling** | `starts()`, `ends()`, `duration()`, `allDay()` |\n| **Status** | `confirmed()`, `tentative()`, `cancelled()` |\n| **Priority** | `priority()`, `highPriority()`, `lowPriority()` |\n| **Classification** | `publicEvent()`, `privateEvent()`, `confidential()` |\n| **Availability** | `transparent()`, `opaque()`, `transparency()` |\n| **Versioning** | `sequence()` |\n| **Location** | `location()`, `geoCoordinates()` |\n| **Visual** | `color()`, `color(hex:)`, `image()` |\n| **Modern** | `conference()`, `attachment()` |\n| **RFC 9073** | `venue()`, `locationComponent()`, `resource()` |\n| **People** | `organizer()`, `addAttendee()` |\n| **Recurrence** | `repeats*()` methods |\n| **Alarms** | `addAlarm()`, `reminderBefore()` |\n\n## Documentation\n\nFor comprehensive documentation, examples, and advanced usage:\n\n📖 **[Complete Documentation](Sources/ICalendar/Documentation.docc/ICalendar.md)**\n\nIncludes:\n- Advanced EventBuilder usage\n- Recurring events and time zones\n- RFC compliance details\n- Server integration examples\n- VCard contact management\n- Migration guides\n\n## Requirements\n\n- iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 6.0+\n- Swift 6.0+\n- Xcode 16.0+\n- Linux\n\n## RFC Compliance\n\n| RFC | Description | Status |\n|-----|-------------|---------|\n| **RFC 5545** | iCalendar Core | ✅ Complete |\n| **RFC 7986** | Calendar Extensions | ✅ Complete |\n| **RFC 6868** | Parameter Encoding | ✅ Complete |\n| **RFC 7808** | Time Zone Data | ✅ Complete |\n| **RFC 9073** | Event Publishing Extensions | ✅ Complete |\n\n## Contributing\n\nContributions are welcome! Please read our contributing guidelines and submit pull requests to our [GitHub repository](https://github.com/thoven87/icalendar-kit).\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Support\n\n- 📖 [Documentation](Sources/ICalendar/Documentation.docc/ICalendar.md)\n- 🐛 [Issue Tracker](https://github.com/thoven87/icalendar-kit/issues)\n- 💬 [Discussions](https://github.com/thoven87/icalendar-kit/discussions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoven87%2Ficalendar-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoven87%2Ficalendar-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoven87%2Ficalendar-kit/lists"}