Publish an anonymized calendar with Open Web Calendar#
This tutorial will guide you to share your calendar publicly, but hide the details you don’t want people to see.
You’ll use three tools:
Google Calendar stores your calendar data.
icalendar-anonymizer removes fields you don’t want to share.
Open Web Calendar (OWC) renders the result as a web page.
Step 1: Create a Google Calendar#
Sign in at Google Calendar.
In the left sidebar, next to Other calendars, select .
Name it Demo Calendar, pick your time zone, and click the Create calendar button.
Add a few events. Mix weekly and daily recurring events, and one-time events. Give them titles, descriptions, locations, and other useful data to make the before-and-after comparison easier to spot.
Step 2: Get the calendar’s URL#
Google Calendar assigns every calendar a feed as a URL. To get this URL, take the following steps.
Click on the gear icon in the top right, .
In the left sidebar, below Settings for my calendars, click the name of your calendar .
In the left sidebar, click to scroll that section into view.
Click the Copy to clipboard icon to the right of Secret address in iCal format to copy the URL to your computer’s clipboard.
The URL looks like https://calendar.google.com/calendar/ical/email/private-secret-token/basic.ics, but with personal values for email and secret-token.
Warning
Treat this URL like a password. Anyone who has it can read your full calendar. The next step wraps it in an encrypted link, so you can share that publicly without leaking the original data.
Step 4: Embed with Open Web Calendar#
OWC turns an iCalendar URL into a month, week, or day view.
First, URL-encode your Fernet URL.
It may contain & and ?, which OWC would otherwise read as its own parameters.
Most online URL encoders handle this in one click.
Then construct your OWC URL with https://open-web-calendar.hosted.quelltext.eu/calendar.html?url=fernet-url, replacing fernet-url with your URL-encoded Fernet URL.
Paste the OWC URL into a web browser’s address bar to visit the site. You should see the same month and titles, but everything else removed.
To embed on a web page, wrap the OWC URL in an HTML iframe.
<iframe src="https://open-web-calendar.hosted.quelltext.eu/calendar.html?url={fernet-url}"
width="100%"
height="600"
frameborder="0">
</iframe>
Troubleshooting#
If you don’t see the calendar you expect, then try the following troubleshooting tips.
OWC shows an empty calendar#
Open your Fernet URL in the browser.
This will download an iCalendar file to your computer.
Open the file, and if it doesn’t start with BEGIN:VCALENDAR, then the Google URL is wrong or Google’s iCalendar feed is slow to pick up new events.
Updates can take 10–30 minutes.
Fields you expected to hide are still visible#
The Fernet token captures your field choices at the moment you generated it. Changing the selected options later doesn’t update an existing token. You should generate a new link.
Query parameters aren’t being applied#
Make sure you URL-encoded the Fernet URL before passing it to OWC.