[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114638":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":38,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":15,"starSnapshotCount":15,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},114638,"Calendar-CE","sysoppl\u002FCalendar-CE","sysoppl","Calendar CE: Private calendar and task manager for the web and Android. Your events stay on your device or your own CalDAV server. Self-host with Docker or use end-to-end encrypted hosted version.","https:\u002F\u002Fcalendar.patryk.pro",null,"TypeScript",87,8,1,0,23,31,5,57.31,"GNU Affero General Public License v3.0",false,"main",[24,25,26,27,28,29,30,31,32,33,34,35,36,37],"agpl","android","caldav","calendar","calendar-app","calendars","docker","e2ee","end-to-end-encryption","react","self-hosted","selfhosted","tasks","web","2026-11-23 13:32:12","2026-11-23 14:11:54","\u003Cp align=\"center\">\n  \u003Cimg src=\"public\u002Ficons\u002Ficon.svg\" width=\"96\" height=\"96\" alt=\"Calendar CE icon: a month on paper\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Calendar CE\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  A private calendar and task manager for the web and Android.\u003Cbr>\n  Your events stay \u003Cb>on your device\u003C\u002Fb> or on \u003Cb>your own CalDAV server\u003C\u002Fb>. Self-host it in one command.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsysoppl\u002FCalendar-CE\u002Factions\u002Fworkflows\u002Ftest.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fsysoppl\u002FCalendar-CE\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg\" alt=\"Tests\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-AGPL--3.0-1e2227\" alt=\"License: AGPL-3.0\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fcalendar.patryk.pro\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fhosted%20edition-calendar.patryk.pro-d93033\" alt=\"Hosted edition: calendar.patryk.pro\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcalendar.patryk.pro\">\u003Cb>Live demo\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"#self-hosted-or-hosted\">Hosted edition\u003C\u002Fa> ·\n  \u003Ca href=\"#self-hosting-with-docker\">Self-host\u003C\u002Fa> ·\n  \u003Ca href=\"#how-end-to-end-encryption-works-in-the-hosted-edition\">How E2EE works\u003C\u002Fa> ·\n  \u003Ca href=\"#sponsor\">Sponsor\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Fcalendar-tour.webp\" width=\"100%\" alt=\"A tour of Calendar CE: views, creating events, tasks, themes, the Android app and where your data is kept\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fweek-daylight.png\" width=\"49%\" alt=\"Week view in the default Daylight theme\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fweek-graphite.png\" width=\"49%\" alt=\"Week view in the Graphite theme\">\n\u003C\u002Fp>\n\n---\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd>\n      \u003Cb>Try it now, nothing to install.\u003C\u002Fb> The hosted app at\n      \u003Ca href=\"https:\u002F\u002Fcalendar.patryk.pro\">\u003Cb>calendar.patryk.pro\u003C\u002Fb>\u003C\u002Fa> is the live demo: open it and choose\n      \u003Cb>On this device\u003C\u002Fb> to try every feature without an account.\u003Cbr>\u003Cbr>\n      \u003Cb>Don't want to run a server?\u003C\u002Fb> The \u003Cb>hosted edition\u003C\u002Fb> at calendar.patryk.pro is the same app plus an\n      \u003Cb>end-to-end encrypted cloud\u003C\u002Fb> that keeps your phone, tablet and computer in sync. Nobody but you can read your\n      calendar, not even the service. Calendars on the device and on CalDAV servers are free there too; only the\n      cloud is paid, after 14 free days (\u003Ca href=\"#self-hosted-or-hosted\">compare\u003C\u002Fa>). Using\n      it supports the development of this free edition.\n    \u003C\u002Ftd>\n    \u003Ctd align=\"center\" width=\"230\">\n      \u003Ca href=\"https:\u002F\u002Fcalendar.patryk.pro\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpen_the_live_demo-1e2227?style=for-the-badge\" alt=\"Open the live demo\" width=\"200\">\u003C\u002Fa>\n      \u003Cbr>\u003Cbr>\n      \u003Ca href=\"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=pro.patryk.calendar\">\u003Cimg src=\"https:\u002F\u002Fplay.google.com\u002Fintl\u002Fen_us\u002Fbadges\u002Fstatic\u002Fimages\u002Fbadges\u002Fen_badge_web_generic.png\" alt=\"Get it on Google Play\" width=\"210\">\u003C\u002Fa>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Contents\n\n- [Features](#features)\n- [Self-hosted or hosted?](#self-hosted-or-hosted)\n- [How end-to-end encryption works in the hosted edition](#how-end-to-end-encryption-works-in-the-hosted-edition)\n- [Self-hosting with Docker](#self-hosting-with-docker)\n- [Configuration](#configuration)\n- [Behind a reverse proxy](#behind-a-reverse-proxy)\n- [Running without Docker](#running-without-docker)\n- [Connecting to CalDAV servers](#connecting-to-caldav-servers)\n- [Android app](#android-app)\n- [Development](#development)\n- [Sponsor](#sponsor)\n- [Contributing](#contributing)\n- [Security](#security)\n- [License](#license)\n\n## Features\n\n**Calendar**\n- Day, week, month, year and agenda views, plus a custom view of 2–7 days. On phones all six views are one tap away\n  in a bar at the bottom, and a second tap on the custom view's tab chooses its number of days; the Agenda and custom\n  view tabs can be hidden in *Settings → General* (a hidden view can still be the default view)\n- Drag to create, move and resize events. On a touch screen, tap to open an event and long-press to pick it up\n- Create events in place, or open the full editor for time zones, custom repeat rules, reminders, busy\u002Ffree and more\n- Recurring events: edit or delete *this event*, *this and future events* or *all events*\n- Invitations: reply **Yes \u002F Maybe \u002F No** from the event popover\n- **Birthdays and anniversaries**: give a birth date or the day it all started, and every view, search and reminder\n  shows the years (\"Anna's birthday (36)\", \"10th anniversary\")\n- **Hidden events**: the eye beside the title keeps an event's name off the screen; views, search and reminders show\n  *Hidden event* until you open it\n- **Persistent notifications**: an event's or a task's reminder can stay until you dismiss it or mark the task done.\n  Completing, deleting or moving the item takes it down too. In a browser it asks to stay on screen where the browser\n  allows that; on Android it is pinned (below)\n- A one-click **Join** button for Zoom, Teams, Jitsi, Webex and other meeting links\n- **Public holidays** for 19 countries, computed on the device (nothing is downloaded)\n- Undo for every change, keyboard shortcuts, search that ignores diacritics\n- Subscribe to `.ics` \u002F `webcal:\u002F\u002F` feeds. Import and export `.ics` files\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Ffeatures\u002Ffeature-views.png\" width=\"100%\" alt=\"Every view you need: the month view on a computer and the day view on a phone\">\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Ffeatures\u002Ffeature-events.png\" width=\"100%\" alt=\"Everything an event needs: the event editor on a computer and an event with a Join Jitsi button on a phone\">\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Ffeatures\u002Ffeature-birthdays.png\" width=\"100%\" alt=\"Birthdays that count the years: Anna's birthday shows that she turns 36, and a hidden event reads Hidden event\">\n\u003C\u002Fp>\n\n**Tasks**\n- A tasks drawer grouped into Overdue, Today, Tomorrow, Upcoming, No date and Completed\n- Quick add with natural-language dates in English and Polish (`Call Anna tomorrow`, `Gym fri`)\n- Due dates, priorities, progress, notes, recurrence, reminders and subtasks\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Ffeatures\u002Ffeature-tasks.png\" width=\"100%\" alt=\"Tasks right beside your days: the tasks drawer next to the week on a computer, and quick add on a phone\">\n\u003C\u002Fp>\n\n**Storage**\n- **On this device**: no account and no server. Works offline\n- **CalDAV**: Nextcloud, Radicale, Baïkal, Fastmail, iCloud, mailbox.org, Posteo, Synology and more. Incremental sync (RFC 6578), conflict-safe writes, creating calendars and task lists\n- Use several CalDAV accounts side by side. **Move my data…** copies or moves calendars between places and checks every item before anything is deleted\n- **Backup** (*Settings → Backup*): one file with every calendar and task list kept on the device, all their events and\n  tasks, your subscribed and holiday calendars and your settings. Restore it on the same device or another one, also\n  from the welcome screen; nothing on the device is deleted. A notice above the calendar asks for a new backup every\n  30 days (or as often as you choose), and the app says once which things can delete calendars kept on a device\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Ffeatures\u002Ffeature-storage.png\" width=\"100%\" alt=\"Your server, or no server: connecting a Nextcloud server on a computer, and the welcome screen on a phone\">\n\u003C\u002Fp>\n\n**Look and languages**\n- Five themes (Daylight, Linen, Graphite, Night, High contrast), your own accent colour, four event styles, 12 bundled fonts, two densities and five text sizes\n- Interface in English, Polish, German, Spanish, French, Italian, Portuguese (Brazil), Ukrainian, Czech and Dutch\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fmedia\u002Ffeatures\u002Ffeature-look.png\" width=\"100%\" alt=\"Make it yours: the Night theme on a computer and the month view in Polish on a phone\">\n\u003C\u002Fp>\n\n**Android**\n- Native CalDAV client (no proxy, no CORS issues)\n- Reminders fire even when the app is closed: exact alarms, rescheduled after a reboot, and CalDAV calendars refreshed hourly in the background\n- Persistent notifications stay pinned: a swipe brings one back at once, without a sound, and so do a restart and an\n  app update. **Dismiss** and **Snooze 10 min** end it, and a task's **Done** opens the app and marks the task done\n- The round **+** button adds an event, or, as *Settings → General → Round + button* chooses, a task or a small menu of\n  the two\n- **Home screen widgets**: Agenda, Today, Month and Tasks, each with its own calendars, look (the system's, light or\n  dark) and background. A tap opens the day, the event or the task, adds a new one, or marks a task done\n- No ads, no trackers, no analytics and no consent pop-ups\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>More screenshots\u003C\u002Fb>\u003C\u002Fsummary>\n\u003Cbr>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fnew-event.png\" width=\"49%\" alt=\"Creating an event in place\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fpopover.png\" width=\"49%\" alt=\"Invitation with reply buttons\">\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fwelcome.png\" width=\"49%\" alt=\"Welcome screen: on this device or a CalDAV server\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fsettings-appearance.png\" width=\"49%\" alt=\"Appearance settings\">\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fmobile-month-pl.png\" width=\"24%\" alt=\"Month view on a phone, in Polish\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fmobile-week.png\" width=\"24%\" alt=\"Seven-day week on a phone\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fmobile-dark-agenda.png\" width=\"24%\" alt=\"Agenda on a phone, dark\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fmobile-welcome.png\" width=\"24%\" alt=\"Welcome screen on a phone\">\n\u003C\u002Fp>\n\u003C\u002Fdetails>\n\n## Self-hosted or hosted?\n\nBoth are the same calendar app, Calendar CE. The **self-hosted edition** is this repository: you run the web app\nyourself and build the Android app from it. The **[hosted edition](https:\u002F\u002Fcalendar.patryk.pro)** is ready on the web\nand on Google Play. It adds an **end-to-end encrypted cloud** that keeps your devices in sync.\n\n**What is free:** in both editions, calendars and tasks **on the device** and on **CalDAV servers**, with no account\nand no time limit. **What is paid:** only the hosted edition's cloud, after a **14-day free trial**.\n\n|                                                  | Self-hosted (this repo)                  | [Hosted](https:\u002F\u002Fcalendar.patryk.pro) (calendar.patryk.pro)  |\n| ------------------------------------------------ | ---------------------------------------- | ------------------------------------------------------------ |\n| Calendars and tasks on the device, no account    | ✓ free                                   | ✓ free                                                       |\n| CalDAV accounts (Nextcloud, Radicale, iCloud, …) | ✓ free                                   | ✓ free                                                       |\n| End-to-end encrypted cloud that syncs your devices | –                                      | ✓ 14 days free, then a monthly or yearly plan                |\n| Settings that follow you to every device         | –                                        | ✓ with the cloud                                             |\n| Encrypted profile picture, Recovery Kit          | –                                        | ✓ with the cloud                                             |\n| Web app                                          | you host it: [Docker image](#self-hosting-with-docker) or Node | ready at [calendar.patryk.pro](https:\u002F\u002Fcalendar.patryk.pro) |\n| Android app                                      | you [build it](#android-app) from this repo | [Google Play](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=pro.patryk.calendar) |\n| Account                                          | none                                     | only for the cloud: an e-mail address and a password         |\n| Ads                                              | none                                     | none on the web. The Google Play app shows one small banner when it is used without a cloud plan; an optional subscription in the app removes it |\n| Server to run and update                         | yours                                    | none                                                         |\n| Price                                            | free and open source (AGPL-3.0)          | free on the device and with CalDAV; the cloud after its 14-day trial: a monthly or yearly plan |\n\n**How the cloud plan works**\n\n- The trial starts with a new cloud account and lasts 14 days. No payment details are needed for it, and it is given\n  once per e-mail address.\n- Plans are monthly or yearly, bought in the Android app from Google Play, which shows the price for your country.\n  A plan covers every device signed in to the account, the web app included.\n- When the trial or a plan ends, the cloud becomes read-only on every device: your calendars stay visible and can\n  be exported, or moved to the device or a CalDAV server. Their data is deleted from the server 120 days later, after\n  a warning at day 90. A plan bought in the meantime brings writing back at once.\n- Calendars on the device and on CalDAV servers are not affected by any of this: they keep working, free, with or\n  without a plan.\n\n\u003Cp>\n  \u003Ca href=\"https:\u002F\u002Fcalendar.patryk.pro\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTry_the_hosted_edition-d93033?style=for-the-badge\" alt=\"Try the hosted edition\" height=\"36\">\u003C\u002Fa>\n  &nbsp;\n  \u003Ca href=\"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=pro.patryk.calendar\">\u003Cimg src=\"https:\u002F\u002Fplay.google.com\u002Fintl\u002Fen_us\u002Fbadges\u002Fstatic\u002Fimages\u002Fbadges\u002Fen_badge_web_generic.png\" alt=\"Get it on Google Play\" height=\"54\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n## How end-to-end encryption works in the hosted edition\n\nThe self-hosted edition never sends your calendar to anyone but the CalDAV server you choose. The\n**[hosted edition](https:\u002F\u002Fcalendar.patryk.pro)** adds a cloud that syncs your devices, and it's built so that the\ncloud can store your calendar **without being able to read it**.\n\n```mermaid\nflowchart LR\n    subgraph device[\"Your device\"]\n        P[\"Password\u003Cbr>(never leaves the device)\"]\n        S[\"Secret Key\u003Cbr>(made on the device, never sent)\"]\n        K[\"Your data key\"]\n        D[\"Events, tasks, calendars, settings\"]\n        P --> KDF[\"Argon2id\"]\n        S --> KDF\n        KDF -->|unlocks| K\n        D -->|\"AES-256-GCM\"| E[\"Ciphertext\"]\n        K -.-> E\n    end\n    E -->|\"HTTPS\"| C[(\"Cloud\u003Cbr>stores ciphertext only\")]\n    C -->|\"sync\"| O[\"Your other devices\u003Cbr>decrypt locally\"]\n```\n\n1. **Keys are made on your device.** When you create an account, your device generates a random **Secret Key**. Together\n   with your **password** it goes through **Argon2id** (deliberately slow, 64 MiB of memory) to derive the key that\n   unlocks your data and a separate secret for signing in. Neither the password nor the Secret Key is ever sent.\n2. **Everything is sealed before it leaves.** Calendar names, colours, every event and task (titles, times, repeat\n   rules, places, notes, guests, reminders) and all your settings are encrypted with **AES-256-GCM**. Each value is\n   bound to where it belongs, so the server can't change an item, move it or slip it into another account without your\n   devices noticing.\n3. **The cloud only relays ciphertext.** It stores what it gets and passes it between your devices. Someone who\n   breaks into its database sees sealed blobs, and because the Secret Key never reached the server, they can't even\n   try to guess your password against them.\n4. **You keep the way back.** After sign-up you get a **Recovery Kit** (your Secret Key and a Recovery Key) to reset a\n   forgotten password. Without the kit and the password, the data can't be opened by anyone, including the service.\n\n| Encrypted on your device | What the service can still see |\n| ------------------------ | ------------------------------ |\n| Calendar names, colours, descriptions | Your e-mail address (and name, if you give one) |\n| Every event and task, in full | How many calendars and items you have, and their approximate sizes |\n| All settings, holiday calendars, subscriptions | When items were created, changed or deleted |\n| Your profile picture | Your signed-in devices |\n\n**Read the code.** The client-side encryption is published in [`src\u002Flib\u002Fcrypto\u002F`](src\u002Flib\u002Fcrypto) with fixed test vectors,\nand [`docs\u002FENCRYPTION.md`](docs\u002FENCRYPTION.md) specifies it byte for byte. The self-hosted edition doesn't use it; it's\nthere so anyone can verify how the hosted cloud protects data.\n\nThe hosted web app is loaded from the server at each start, so for the strongest guarantee use the\n[Android app](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=pro.patryk.calendar), whose code ships inside the signed APK.\n\n## Self-hosting with Docker\n\nEvery release is published as a ready-made image, **`ghcr.io\u002Fsysoppl\u002Fcalendar-ce`**, for `linux\u002Famd64` and\n`linux\u002Farm64` (a Raspberry Pi 4\u002F5 or an ARM server works too). There's nothing to build: you need Docker with the\nCompose plugin and the [`docker-compose.yml`](docker-compose.yml) of this repository.\n\n| Image tag | What it is                                                                                 |\n| --------- | ------------------------------------------------------------------------------------------ |\n| `latest`  | The newest release: the default in `docker-compose.yml` and in the examples below          |\n| `X.Y.Z`   | One exact release (see the [releases page](https:\u002F\u002Fgithub.com\u002Fsysoppl\u002FCalendar-CE\u002Freleases)): you decide when to update |\n| `X.Y`     | The newest release of the X.Y line                                                           |\n| `X`       | The newest release of version X                                                              |\n\nThe container holds no data: calendars live in the browser (**On this device**) or on your CalDAV server. Replacing\nor removing the container loses nothing, and there's no volume to back up.\n\n### Try it on your computer\n\n```sh\nmkdir calendar && cd calendar\ncurl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002Fsysoppl\u002FCalendar-CE\u002Fmain\u002Fdocker-compose.yml\ndocker compose up -d\n```\n\nOpen \u003Chttp:\u002F\u002Flocalhost:8787>. On the welcome screen choose **On this device** or **Connect a server** (CalDAV).\n\nThe container serves the web app and a small **DAV proxy** (`\u002Fdav-proxy`). Browsers can't talk to most CalDAV servers\ndirectly (no CORS headers), so the web app relays CalDAV requests through it. The proxy stores nothing and is\nlocked down by default: **it reaches no server until you allow one.** Name the CalDAV hosts your users need in\n`docker-compose.yml`, then apply the change with `docker compose up -d`:\n\n```yaml\n    environment:\n      CALENDAR_PROXY_ALLOW: \"cloud.example.com,caldav.fastmail.com\"\n```\n\n**No CalDAV server at hand?** The compose file includes a [Radicale](https:\u002F\u002Fradicale.org\u002F) demo. Set\n`CALENDAR_PROXY_ALLOW: \"radicale\"`, then:\n\n```sh\ndocker compose --profile radicale up -d\n```\n\nAdd an account with server `http:\u002F\u002Fradicale:5232\u002F` and any user name and password (authentication is off in the demo).\n\n### Deploy on a server with HTTPS\n\nYou need a Linux server with Docker, a domain name (here `calendar.example.com`) whose DNS record points at it, and\nports 80 and 443 open. The app listens on `127.0.0.1:8787` only, and a reverse proxy on the same server\n([Caddy](https:\u002F\u002Fcaddyserver.com\u002F) or nginx) handles HTTPS.\n\n1. **Get the compose file:**\n\n   ```sh\n   sudo mkdir -p \u002Fopt\u002Fcalendar && cd \u002Fopt\u002Fcalendar\n   sudo curl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002Fsysoppl\u002FCalendar-CE\u002Fmain\u002Fdocker-compose.yml\n   ```\n\n2. **Set it up.** Edit `\u002Fopt\u002Fcalendar\u002Fdocker-compose.yml`: in `environment:` set your address, the reverse proxy\n   and the CalDAV servers your users may reach. The image is `latest`; to update on your own schedule, put an exact\n   release (`X.Y.Z`) in its place:\n\n   ```yaml\n       image: ghcr.io\u002Fsysoppl\u002Fcalendar-ce:latest\n       ...\n       environment:\n         VITE_APP_URL: \"https:\u002F\u002Fcalendar.example.com\"\n         CALENDAR_TRUST_PROXY: \"1\"\n         CALENDAR_PROXY_ALLOW: \"cloud.example.com,caldav.fastmail.com\"\n         # Optional, shown in the app: VITE_PRIVACY_URL, VITE_TERMS_URL, VITE_CONTACT_URL\n   ```\n\n   The `build:` section only matters when you build the image yourself; Compose ignores it otherwise.\n\n3. **Start it**, check that the container reports `healthy`, and read what the server says about its settings when it\n   starts (`dav-proxy:` lines):\n\n   ```sh\n   sudo docker compose up -d\n   sudo docker compose ps\n   sudo docker compose logs calendar\n   curl -I http:\u002F\u002F127.0.0.1:8787\u002F\n   ```\n\n4. **Put HTTPS in front of it.** With Caddy, which gets the certificate by itself:\n\n   ```sh\n   sudo curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fsysoppl\u002FCalendar-CE\u002Fmain\u002Fdeploy\u002FCaddyfile -o \u002Fetc\u002Fcaddy\u002FCaddyfile\n   sudo sed -i 's\u002Fcalendar.example.com\u002Fyour.domain\u002F' \u002Fetc\u002Fcaddy\u002FCaddyfile\n   sudo mkdir -p \u002Fvar\u002Flog\u002Fcaddy && sudo chown caddy:caddy \u002Fvar\u002Flog\u002Fcaddy\n   sudo systemctl reload caddy\n   ```\n\n   With nginx, use [`deploy\u002Fnginx.conf`](deploy\u002Fnginx.conf) and a certificate from certbot instead. See\n   [Behind a reverse proxy](#behind-a-reverse-proxy) for what both examples take care of.\n\n5. **Open `https:\u002F\u002Fcalendar.example.com`.** Users who choose **On this device** keep their calendar in their own\n   browser; those who connect a CalDAV server reach it through the proxy.\n\n### Updating\n\n```sh\ncd \u002Fopt\u002Fcalendar\n# with a pinned release: change the image tag in docker-compose.yml first\nsudo docker compose pull\nsudo docker compose up -d\nsudo docker image prune -f   # removes the previous image\n```\n\nReleases are published on the [releases page](https:\u002F\u002Fgithub.com\u002Fsysoppl\u002FCalendar-CE\u002Freleases), with notes of what changed\nsince the one before and the image to pull. A version is released only after the full test run has passed for its\ntag. Every image carries its version and the commit it was built from (`org.opencontainers.image.version` and\n`.revision` labels), plus an SBOM and build provenance.\n\n### Without Compose\n\nThe same container with `docker run`, locked down like the compose file:\n\n```sh\ndocker run -d --name calendar --restart unless-stopped \\\n  -p 127.0.0.1:8787:8787 --read-only --cap-drop ALL --security-opt no-new-privileges:true \\\n  --memory 512m \\\n  -e VITE_APP_URL=\"https:\u002F\u002Fcalendar.example.com\" \\\n  -e CALENDAR_TRUST_PROXY=\"1\" \\\n  -e CALENDAR_PROXY_ALLOW=\"cloud.example.com\" \\\n  ghcr.io\u002Fsysoppl\u002Fcalendar-ce:latest\n```\n\nUpdate it with `docker pull ghcr.io\u002Fsysoppl\u002Fcalendar-ce:latest`, then `docker rm -f calendar` and the same `docker run`.\nWith an exact release instead of `latest`, pull and run the new tag.\n\n### Building the image yourself\n\nFrom a clone of this repository, for example to run a modified version:\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fsysoppl\u002FCalendar-CE.git\ncd Calendar-CE\ndocker compose up -d --build\n```\n\nThe image is tagged like the published one (`ghcr.io\u002Fsysoppl\u002Fcalendar-ce:latest`) on your machine only. If you publish\na modified version, give it your own image name and point the app's **Source code** link at your fork (AGPL-3.0).\n\n## Configuration\n\nEvery setting is an environment variable: `environment:` in `docker-compose.yml`, `-e` for `docker run`, or\n`\u002Fetc\u002Fcalendar.env` for the systemd unit. A change needs only a restart (`docker compose up -d`), never a rebuild.\n\n**The app:**\n\n| Variable           | Default                 | What it does                                                                                 |\n| ------------------ | ----------------------- | -------------------------------------------------------------------------------------------- |\n| `VITE_APP_URL`     | `http:\u002F\u002Flocalhost:8787` | The public address of your instance. The DAV proxy only answers requests for its host name   |\n| `VITE_PRIVACY_URL` | *(empty)*               | Link to your privacy policy, shown in the app. Empty means it isn't shown                    |\n| `VITE_TERMS_URL`   | *(empty)*               | Link to your terms of service                                                                |\n| `VITE_CONTACT_URL` | *(empty)*               | A contact page or a `mailto:` address                                                        |\n\n`npm run build` reads the same variables, so a build of your own (and the Android app, which has no server) can carry\nthem too; the server's values take precedence.\n\n**The server and its DAV proxy:**\n\n| Variable                       | Default        | What it does                                                                                                   |\n| ------------------------------ | -------------- | -------------------------------------------------------------------------------------------------------------- |\n| `CALENDAR_PROXY_ALLOW`         | *(empty)*      | CalDAV hosts the proxy may reach, comma separated, `*.example.com` allowed. Empty means none                   |\n| `CALENDAR_PROXY_PRIVATE_HOSTS` | *(empty)*      | Dotted names of your own servers on a private network (e.g. `dav.home.example`)                                |\n| `CALENDAR_PROXY_ALLOW_PRIVATE` | `false`        | Let the proxy reach loopback\u002FLAN addresses for every host. Only on a network you trust                         |\n| `CALENDAR_PROXY_OPEN`          | `false`        | Let the proxy reach **any** public host while the lists are empty. Only for a server you alone use            |\n| `CALENDAR_PROXY_ALLOW_HTTP`    | `false`        | Allow plain `http:\u002F\u002F` with a password to public addresses                                                       |\n| `CALENDAR_PROXY_DISABLED`      | `false`        | Turn the proxy off. CalDAV in the browser then only works with servers that send CORS headers                  |\n| `CALENDAR_PUBLIC_HOSTS`        | *(empty)*      | Extra host names this server is reached by, besides the host of `VITE_APP_URL`                                 |\n| `CALENDAR_TRUST_PROXY`         | `0`            | Number of reverse proxies in front of the server (usually `1`). Needed for per-client rate limits              |\n| `CALENDAR_PROXY_RATE` \u002F `_BURST` \u002F `_CLIENT_CONCURRENCY` \u002F `_CONCURRENCY` | `600` \u002F `300` \u002F `6` \u002F `32` | Request budget of the proxy per client address              |\n| `CALENDAR_PROXY_AUTH_FAILURES` | `20`           | Wrong-password answers one client may get in 10 minutes before it's slowed down                                |\n| `CALENDAR_PROXY_LOG`           | `true`         | One log line per proxied request (client, method, host, status; never paths or credentials)                    |\n| `CALENDAR_HSTS`                | 2 years        | `Strict-Transport-Security` value; `off` removes it                                                            |\n| `PORT` \u002F `HOST`                | `8787` \u002F `0.0.0.0` | Where the server listens (use `HOST=127.0.0.1` behind a reverse proxy on the same machine)              |\n\n[`deploy\u002Fcalendar.env.example`](deploy\u002Fcalendar.env.example) explains every server setting in more detail.\n\n## Behind a reverse proxy\n\nReady-made examples are in [`deploy\u002F`](deploy). Both forward to `127.0.0.1:8787`, where the container (or the systemd\nservice) listens:\n\n- [`Caddyfile`](deploy\u002FCaddyfile): automatic HTTPS\n- [`nginx.conf`](deploy\u002Fnginx.conf): with a Let's Encrypt certificate\n\nReplace `calendar.example.com` with your own domain, and set `VITE_APP_URL=https:\u002F\u002Fyour.domain` and\n`CALENDAR_TRUST_PROXY=1` for the app. Both examples allow the DAV proxy's request size (10 MiB) and time (90 s), keep\nCalDAV addresses and credentials out of their access logs, and pass the client address on. The server sends its own\nsecurity headers (CSP, HSTS and others), so don't add any in the proxy.\n\n## Running without Docker\n\nYou need Node.js 24.\n\n```sh\nnpm ci\nVITE_APP_URL=https:\u002F\u002Fcalendar.example.com npm run build\nVITE_APP_URL=https:\u002F\u002Fcalendar.example.com CALENDAR_PROXY_ALLOW=dav.example.com npm start\n```\n\nFor a permanent install there's a hardened systemd unit in [`deploy\u002Fcalendar.service`](deploy\u002Fcalendar.service)\n(it runs from `\u002Fopt\u002Fcalendar` with the settings in `\u002Fetc\u002Fcalendar.env`).\n\n## Connecting to CalDAV servers\n\n| Provider          | Server URL                      | Notes                    |\n| ----------------- | ------------------------------- | ------------------------ |\n| Radicale          | `http:\u002F\u002Fhost:5232\u002F`             |                          |\n| Nextcloud         | `https:\u002F\u002Fhost\u002Fremote.php\u002Fdav`   | Use an app password      |\n| Baïkal            | `https:\u002F\u002Fhost\u002Fdav.php`          |                          |\n| Fastmail          | `https:\u002F\u002Fcaldav.fastmail.com\u002F`  | App password required    |\n| iCloud            | `https:\u002F\u002Fcaldav.icloud.com\u002F`    | App-specific password    |\n| mailbox.org       | `https:\u002F\u002Fdav.mailbox.org\u002F`      |                          |\n| Posteo            | `https:\u002F\u002Fposteo.de:8443\u002F`       |                          |\n| Synology Calendar | `https:\u002F\u002Fnas:5001\u002Fcaldav\u002F`      |                          |\n\nCalDAV endpoints that only accept OAuth aren't supported. In the browser, remember to add the server's host to\n`CALENDAR_PROXY_ALLOW`.\n\n## Android app\n\nThe Android app is the same code in a [Capacitor](https:\u002F\u002Fcapacitorjs.com\u002F) shell. Its application id is\n`pro.patryk.calendar.community`, so it never clashes with the store app. You need JDK 21 and the Android SDK\n(Android Studio brings both).\n\n```sh\nnpm ci\nnpm run android:sync          # builds the web bundle and copies it into android\u002F\ncd android\n.\u002Fgradlew testDebugUnitTest   # unit tests\n.\u002Fgradlew assembleDebug       # app\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug\u002Fapp-debug.apk\n```\n\nA signed release build (`.\u002Fgradlew assembleRelease`) reads its keystore from the environment (`ANDROID_KEYSTORE_FILE`,\n`ANDROID_KEYSTORE_PASSWORD`, `ANDROID_KEY_ALIAS`, `ANDROID_KEY_PASSWORD`) or from a git-ignored\n`android\u002Fkeystore.properties` (`storeFile`, `storePassword`, `keyAlias`, `keyPassword`). Without one, the release APK\nis left unsigned.\n\nPrefer a ready-made app? **[Calendar CE on Google Play](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=pro.patryk.calendar)**.\n\n## Development\n\n```sh\nnpm ci\nnpm run dev          # http:\u002F\u002Flocalhost:5173, with the DAV proxy built in\nnpm run typecheck\nnpm test             # Vitest\nnpm run build        # production bundle in dist\u002F\n```\n\nIn development the proxy may reach a CalDAV server on your own machine (e.g. Radicale on `127.0.0.1:5232`).\n`window.__calendarSeed()` in the browser console of the dev server fills the calendar with sample data.\n\n| Path               | What's inside                                                        |\n| ------------------ | -------------------------------------------------------------------- |\n| `src\u002F`             | The React app (TypeScript, Zustand, Tailwind CSS)                    |\n| `src\u002Flib\u002Fdav\u002F`     | The CalDAV client                                                    |\n| `src\u002Flib\u002Fical\u002F`    | iCalendar parsing, recurrence and time zones                         |\n| `src\u002Flib\u002Fcrypto\u002F`  | The hosted edition's end-to-end encryption, published for review     |\n| `src\u002Fi18n\u002F`        | The 10 interface languages                                           |\n| `server\u002F`          | The zero-dependency Node server and the DAV proxy                    |\n| `android\u002F`         | The Android shell, native CalDAV client and reminders                |\n| `deploy\u002F`          | Reverse proxy and systemd examples                                   |\n| `scripts\u002F`         | Build helpers, screenshots, end-to-end checks                        |\n\n## Sponsor\n\nCalendar CE is free and open source, with no ads and no trackers. If it is useful to you, you can support its\ndevelopment on [GitHub Sponsors](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fsysoppl). Sponsorships pay for the time that goes into\nfixes, new features and translations.\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fsysoppl\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSponsor_on_GitHub-1e2227?style=for-the-badge&logo=githubsponsors&logoColor=ea4aaa\" alt=\"Sponsor on GitHub\">\u003C\u002Fa>\n\u003C\u002Fp>\n\nUsing the [hosted edition](#self-hosted-or-hosted) supports the project too.\n\n## Contributing\n\nContributions are welcome: bug reports, translations, fixes and features that fit a local-first calendar.\n\n1. Open an [issue](https:\u002F\u002Fgithub.com\u002Fsysoppl\u002FCalendar-CE\u002Fissues) first for anything bigger than a small fix, so we can agree on the approach.\n2. Fork the repo and create a branch from `main`.\n3. Keep changes focused, add tests for new behaviour, and make sure `npm run typecheck`, `npm test` and `npm run build` pass.\n4. New interface text goes into `src\u002Fi18n\u002Fen.ts` **and** every other language (the tests check that all 10 have the same keys).\n5. New dependencies must have a licence compatible with the AGPL-3.0; run `npm run licenses` to update the third-party notices.\n6. Open a pull request describing what changed and why.\n\nBefore your first pull request is merged, the CLA Assistant bot asks you to sign the\n[Contributor License Agreement](CLA.md) once. You keep the copyright in your work; the agreement lets the maintainer\nalso use it in other editions of Calendar CE, such as the hosted one, and keeps everything merged here open source.\n\n## Security\n\nPlease don't report security issues in public issues. See [SECURITY.md](SECURITY.md).\n\n## License\n\nCopyright © 2026 [patryk.pro](https:\u002F\u002Fpatryk.pro).\n\nCalendar CE is free software: you can redistribute it and\u002For modify it under the terms of the\n[GNU Affero General Public License, version 3 only](LICENSE) (AGPL-3.0-only). It comes without any warranty. If you\nrun a modified version for other people over a network, you must offer them its source code (the app's\n**Settings → About → Source code** link points at the release it was built from; point it at your fork). Third-party\ncomponents keep their own licences, listed in [`public\u002FTHIRD-PARTY-NOTICES.txt`](public\u002FTHIRD-PARTY-NOTICES.txt).\n\n**The Docker image** contains this app (its licence is `\u002Fapp\u002FLICENSE`, the third-party notices are\n`\u002Fapp\u002Fdist\u002FTHIRD-PARTY-NOTICES.txt`) on top of the official [`node:24-alpine`](https:\u002F\u002Fhub.docker.com\u002F_\u002Fnode) image,\nwhich brings Node.js, npm and Alpine Linux packages, each under its own licence. Their sources:\n[Node.js](https:\u002F\u002Fgithub.com\u002Fnodejs\u002Fnode) (the version `node --version` prints), the\n[image definition](https:\u002F\u002Fgithub.com\u002Fnodejs\u002Fdocker-node) and [Alpine's aports](https:\u002F\u002Fgitlab.alpinelinux.org\u002Falpine\u002Faports)\n(the branch matching `\u002Fetc\u002Falpine-release`). Every published image lists its packages and their licences in an SBOM:\n`docker buildx imagetools inspect ghcr.io\u002Fsysoppl\u002Fcalendar-ce:latest --format '{{ json .SBOM }}'`.\n\n**Names.** The AGPL-3.0 grants no rights to the names *patryk.pro* and *Calendar CE* or to the Calendar CE icon as\nmarks: please give a build you publish a name and icon of your own. Other product names belong to their owners and are\nonly used to name the services Calendar CE works with. Google Play and the Google Play logo are trademarks of Google LLC.\n\n\u003Cp align=\"center\">\n  Made by \u003Ca href=\"https:\u002F\u002Fpatryk.pro\">patryk.pro\u003C\u002Fa> · Hosted edition: \u003Ca href=\"https:\u002F\u002Fcalendar.patryk.pro\">\u003Cb>calendar.patryk.pro\u003C\u002Fb>\u003C\u002Fa>\n\u003C\u002Fp>\n","Calendar CE 是一款注重隐私的日历与任务管理工具，支持 Web 和 Android 平台。核心功能包括本地存储、CalDAV 协议同步、端到端加密（仅限托管版）、主题定制及跨设备任务管理；技术上采用 TypeScript 开发，支持一键 Docker 自托管或使用加密托管服务。适合重视数据主权的个人用户、小型团队及需合规日程管理的场景，尤其适用于已有 CalDAV 服务器或倾向不依赖第三方云服务的用户。",2,"2026-11-24 04:49:16","CREATED_QUERY"]