Sync: GitHub + Google Calendar
⚠️ A token entered here is stored only in your browser on this device. Recommendation: instead, set the GH_TOKEN secret in Cloudflare Pages → Settings → Variables and secrets — the browser will then use your site's /api/gh and the token never reaches it. The old token in the code was already exposed — revoke it on GitHub.
How to enable two-way sync: 1) Google Cloud Console → create an OAuth Client ID (type “Web application”), add https://calendar-dah.pages.dev to “Authorized JavaScript origins”. 2) Paste the Client ID above. 3) Enter the shared calendar ID below and press the “Google Calendar” button. ⚠️ The app only ever works with the calendar ID you enter here — it never touches your main calendar. Find your calendar ID: Google Calendar → click the shared calendar's ⚙️ Settings → copy “Calendar ID” (e.g. abc123@group.calendar.google.com). You can also clear the “Shared ICS link” below so the same calendar isn’t imported twice.
This calendar is protected by an access code. Devices that enter the correct code stay unlocked.
This is the content of calendar-data.json in the repository. You can edit it manually (JSON).
This calendar is protected. Enter the access code to continue.
This device will stay unlocked.