π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Docs for calendar widget and ical intergration
Alicia Sykesc237c5c1f56b
diff --git a/docs/privacy.md b/docs/privacy.mdindex 5eff15c6..ff06dcee 100644--- a/docs/privacy.md+++ b/docs/privacy.md@@ -199,6 +199,7 @@ Dashy supports [Widgets](/docs/widgets.md) for displaying dynamic content. Below|---|---|---|| [Weather](/docs/widgets.md#weather) / [Weather Forecast](/docs/widgets.md#weather-forecast) | `https://api.openweathermap.org` | [OWM Privacy Policy](https://openweather.co.uk/privacy-policy) || [RSS Feed](/docs/widgets.md#rss-feed) | `https://api.rss2json.com/v1/api.json` | [Rss2Json Privacy Policy](https://rss2json.com/privacy-policy) |+| [Calendar](/docs/widgets.md#calendar) | Your own ICS feed URL | _No third-party service; the feed you configure is fetched directly_ || [IP Address](/docs/widgets.md#public-ip) | `https://free.freeipapi.com/api/json` | [FreeIPAPI](https://freeipapi.com/) || | `https://ipinfo.io/json` | [IPInfo Privacy Policy](https://ipinfo.io/privacy-policy) || | `https://api.ipquery.io/` | [IPQuery](https://ipquery.io/) |diff --git a/docs/widgets.md b/docs/widgets.mdindex b0a56931..35cd2b9c 100644--- a/docs/widgets.md+++ b/docs/widgets.md@@ -9,6 +9,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a- [Weather](#weather)- [Weather Forecast](#weather-forecast)- [RSS Feed](#rss-feed)+ - [Calendar](#calendar)- [Image](#image)- [Public IP Address](#public-ip)- [IP Blacklist Checker](#ip-blacklist)@@ -263,6 +264,80 @@ Display news and updates from any RSS-enabled service.---+### Calendar++Shows upcoming events from any calendar that publishes an iCalendar (`.ics`) feed. Works with Nextcloud, Google, Proton, iCloud, Outlook, Radicale, BaΓ―kal, etc.++Note that this needs to be proxied through Dashy, since calendar providers don't send CORS headers.+`webcal://` links are accepted, same as `https://`.+Recurring events, exceptions and moved occurrences are all expanded, and times are converted to your browser's timezone.++#### Options++**Field** | **Type** | **Required** | **Description**+--- | --- | --- | ---+**`calendarUrl`** | `string` or `array` | Required | The URL of your ICS feed. Pass an array to combine several, each either a URL or an object with `url`, plus optional `name` and `color`+**`days`** | `number` | _Optional_ | How many days ahead to show. Min: `1`, max: `365`. Defaults to `7`+**`limit`** | `number` | _Optional_ | Maximum number of events to show. Defaults to `10`+**`hideAllDay`** | `boolean` | _Optional_ | If `true`, all-day events are omitted+**`startDate`** | `string` | _Optional_ | Show events from this date instead of today, e.g. `2026-09-03`++#### Example++```yaml+- type: calendar+ options:+ calendarUrl: https://nextcloud.example.com/remote.php/dav/public-calendars/AbCdEf123?export+ days: 14+```++Combining calendars, and colour-coding them:++```yaml+- type: calendar+ options:+ limit: 15+ calendarUrl:+ - url: https://calendar.google.com/calendar/ical/xxxx/private-xxxx/basic.ics+ name: Personal+ color: '#5cabca'+ - url: webcal://p12-calendars.icloud.com/published/2/xxxx+ name: Family+ color: '#e8j54a'+```++#### Getting your feed URL++**Provider** | **Where to find it**+--- | ---+Nextcloud | Calendar β **β―** β _Copy subscription link_, then append `?export`. Or, for a private calendar, use `https://user:app-password@host/remote.php/dav/calendars/user/calendar-name?export`+Google | Settings β _Settings for my calendars_ β **Integrate calendar** β _Secret address in iCal format_+Proton | Settings β Calendars β _Share with anyone_. Requires a paid plan, and the link must be set to **Full view**+iCloud | Right-click the calendar β _Share Calendar_ β **Public Calendar**+Outlook | Settings β Calendar β _Shared calendars_ β **Publish a calendar**, choosing the ICS link++#### Keeping your URL private++A calendar URL is a password in disguise: anyone who has it can read your calendar. Since widget options are sent to the browser, don't put a secret feed URL directly in your config if other people can view your dashboard. Instead, set it as an environment variable prefixed with `DASHY_`, and reference the name:++```yaml+- type: calendar+ options:+ calendarUrl: DASHY_MY_CALENDAR+```++The proxy substitutes the real value server-side, so the URL never reaches the browser.++#### Info++- **CORS**: π΄ Proxied+- **Auth**: π Optional (a secret or authenticated feed URL, where the calendar isn't public)+- **Price**: π’ Free+- **Host**: Self-Hosted or Managed+- **Privacy**: _No third-party service is used; Dashy fetches your feed directly_++---+### ImageDisplays an image.