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 humand-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 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. For each calendar you'll have to define a name, so that you might assign custom background colors for events of each calendar.
While the main job is called in larger intervalls, there is a second job to be run every minute or so, which kicks out already finished events. In that way processing load on the client (dashboard)