callibella
v0.9.20
Published
Calendar syncing monkey
Downloads
3
Readme
Callibella 🐒
It is considered unusual among Callibella in that it gives birth to only a single baby instead of twins, the norm for Callibella. Wikiepdia
Callibella was created under the assumption that it's normal for humas to have two calendars - one personal calendar that goes with them for years, and one work calendar. Your work calendar might be shared with others in the company, making it easy for others to book meetings with you by simply checking when you're free. However, this goes wrong when important personal events are missing from your work calendar.
Callibella reads your personal calendar and then connects to your work calendar and generates matching events. It doesn't reveal the content of your events - every event coming from your personal calendar will show up as "Busy" only, without description or location. Callibella will keep this event in sync with the original personal event, updating it's time or deleting it if nescasery.
Configuration
Callibella makes heavy use of tsdav to configure your source and destination calendars. Check tsdav's documentation for complete details. Below is an example of my ~/.config/callibella/config.json
:
{
"timeRange": {
"daysInPast": 7,
"daysInFuture": 180
},
"source": {
"connection": {
"serverUrl": "https://calendar.zoho.com/",
"credentials": {
"username": "[email protected]",
"password": "correcthorsebatterystaple"
},
"authMethod": "Basic",
"defaultAccountType": "caldav"
},
"calendar": "my-calendar-display-name"
},
"destination": {
"connection": {
"serverUrl": "https://oauth-hopper.example.com/caldav/v2/[email protected]/user/",
"credentials": {
"username": "me",
"password": "Tr0ub4dor&3"
},
"authMethod": "Basic",
"defaultAccountType": "caldav"
},
"calendar": "[email protected]"
}
}
timeRange
will define the range of dates in which Callibella would sync things.source.connection
is the same object you would pass to tsdav'sDAVClient
, and will include information about your source CalDAV server.source.calendar
is the unique name identifier of your calendar on this CalDAV server.destination.*
is exactly the same assource.*
, and will include the details of your work calendar. In the above example I'm using OAuth Hopper to skip OAuth authenticaion with Google, but it's not a must as it seems like tsdav supports OAuth authenticaion too.
Usage
- Configure your calendars as explained above and save the file at
~/.config/callibella/config.json
- Run
npx callibella
to start syncing without installation, or install it usingnpm install -g callibella
and then usecallibella
- Everything works? Add a cron job for it and have your calendars forever synced!