This Go application fetches a calendar from a specified URL, processes it to remove events with specific summaries (Away, Tentative, and Free), and serves the modified calendar to be ingested by another calendaring tool. The application is designed to run in a Docker container.
URL
: The URL of the calendar to fetch and process.
DISPLAY_NAME
: The display name for the calendar. Defaults to "My Calendar" if not set.
To run the Docker container, use the following command:
docker run -e URL="https://example.com/calendar.ics" -e DISPLAY_NAME="My Custom Calendar" -p 8080:8080 ghcr.io/chelming/owa-away
Here is a sample docker-compose.yml
file:
services:
owa-away:
image: ghcr.io/chelming/owa-away
environment:
- URL=https://example.com/calendar.ics
- DISPLAY_NAME=My Custom Calendar
ports:
- "8080:8080"
The application performs the following steps:
- Fetches the calendar from the specified URL.
- Processes the calendar to remove events with summaries containing "Away", "Tentative", or "Free".
- Renames the calendar using the
DISPLAY_NAME
environment variable. - Serves the modified calendar on port 8080.
This project is licensed under the MIT License.