Dashing widget to display a bunch of current and coming-up Google Calendar events.
The widget shows only one event and is based on the text-widget which is default in the Dashing installation. The time is displayed as human-readable time string with the help of MomentJS.
A Dashing job fetches the events of a given public or private calendar url, orders events to match starting time and sends the data to the dashboard. A certain event offset can be set for each calendar widget so that it will show the first (data-pre="0"
), the second (data-pre="1"
) or any other following event based on the offset. For each calendar you'll have to define a name which enables you to assign custom background colors for events of each calendar.
While the main job is called in larger intervals, there is a second job to be run every minute or so, which kicks out already finished events. In that way processing load