This is a simple tool to convert your contacts.csv to an ical file
Google dont give you an Birthday alert when you synchronize Google-Calender and Google-Contacts.
In most cases your forced to download apps which notify you
pip3 install icalendar
- Export the contacts.csv file from your phone
- put the file into your working folder
- run main.py
- import the birthday.ics file to your prefered calendar
Name | Additional Name | Birthday | Initials |
---|---|---|---|
Albert Einstein | Smartboy | 1879-03-14 | AE |
Elon Musk | Tesla CEO | 1971-06-28 | EM |
Nat Friedman | Github | 1977-08-06 | NF |
BEGIN:VCALENDAR
VERSION:1.0
PRODID:Birthday-Calendar
BEGIN:VEVENT
SUMMARY:Albert Einstein
DTSTART;VALUE=DATE-TIME:18790314T080000Z
DTEND;VALUE=DATE-TIME:18790314T100000Z
DTSTAMP;VALUE=DATE-TIME:20210321T212250Z
UID:1879-03-14 08:00:00+00:00Albert Einstein
RRULE:FREQ=YEARLY
PRIORITY:5
END:VEVENT
BEGIN:VEVENT
SUMMARY:Elon Musk
DTSTART;VALUE=DATE-TIME:19710628T080000Z
DTEND;VALUE=DATE-TIME:19710628T100000Z
DTSTAMP;VALUE=DATE-TIME:20210321T212250Z
UID:1971-06-28 08:00:00+00:00Elon Musk
RRULE:FREQ=YEARLY
PRIORITY:5
END:VEVENT
BEGIN:VEVENT
SUMMARY:Nat Friedman
DTSTART;VALUE=DATE-TIME:19770806T080000Z
DTEND;VALUE=DATE-TIME:19770806T100000Z
DTSTAMP;VALUE=DATE-TIME:20210321T212250Z
UID:1977-08-06 08:00:00+00:00Nat Friedman
RRULE:FREQ=YEARLY
PRIORITY:5
END:VEVENT
END:VCALENDAR