https://github.com/openpeeps/ical
📅 A tolerant, minimal iCalendar reader & writer for Nim 👑 [WIP]
https://github.com/openpeeps/ical
calendar ical icalendar nim-lang nim-package openpeeps openpeeps-clients
Last synced: 11 months ago
JSON representation
📅 A tolerant, minimal iCalendar reader & writer for Nim 👑 [WIP]
- Host: GitHub
- URL: https://github.com/openpeeps/ical
- Owner: openpeeps
- Created: 2024-04-11T16:29:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T14:17:44.000Z (about 2 years ago)
- Last Synced: 2025-01-21T14:15:43.562Z (over 1 year ago)
- Topics: calendar, ical, icalendar, nim-lang, nim-package, openpeeps, openpeeps-clients
- Language: Nim
- Homepage: https://openpeeps.github.io/ical
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A tolerant, minimal iCalendar reader & writer for Nim 👑
nimble install ical
## 😍 Key Features
- Read/Write iCals, what else?
## Examples
```nim
import pkg/ical
var cal = initCalendar("GOODCORP")
cal.event(now() + 1.days, now() + 2.days)
echo cal
```
Output:
```
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//GOODCORP//EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTAMP:20240412T171548
UID:cee166eb-7408-4d2f-83aa-2b1ef33f4a1a
STATUS:CONFIRMED
DTSTART:20240413
DTEND:20240414
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240412T171548
UID:a2c0fde2-0037-4e66-b472-2263d0b1b717
STATUS:CONFIRMED
DTSTART:20240416
DTEND:20240422
END:VEVENT
END:VCALENDAR
```
### ❤ Contributions & Support
- 🐛 Found a bug? [Create a new Issue](https://github.com/openpeeps/ical/issues)
- 👋 Wanna help? [Fork it!](https://github.com/openpeeps/ical/fork)
- 😎 [Get €20 in cloud credits from Hetzner](https://hetzner.cloud/?ref=Hm0mYGM9NxZ4)
- 🥰 [Donate via PayPal address](https://www.paypal.com/donate/?hosted_button_id=RJK3ZTDWPL55C)
### 🎩 License
MIT license. [Made by Humans from OpenPeeps](https://github.com/openpeeps).
Copyright © 2024 OpenPeeps & Contributors — All rights reserved.