How niccokunzmann/open-web-calendar works
Open Web Calendar is a web application that retrieves ICS or CalDAV calendars and presents them as an embeddable, configurable calendar. Its principal workflow is browser request → specification handling → calendar retrieval → conversion → calendar display. The README also documents time-zone selection, month/week views, and styling. Several backend and frontend relationships are supported by the source index or README rather than inspected implementation excerpts, so those links are dashed where invocation details are uncertain.
Main entry points: convert/base.py Conversion strategy · app.py Flask application · index.js Embedded calendar UI · calendars/base.py Calendar interface
Components 18
Web experience
- Embedded calendar UI
open_web_calendar/static/js/index.js - Calendar views
open_web_calendar/static/js/calendar.js - Translations
open_web_calendar/translate.py
Request handling
- Flask application
open_web_calendar/app.py - Calendar specification
open_web_calendar/config.py - Application utilities
open_web_calendar/util.py
Calendar sources
- Calendar interface
open_web_calendar/calendars/base.py - ICS retrieval
open_web_calendar/calendars/ics.py - CalDAV retrieval
open_web_calendar/calendars/caldav.py - Calendar information
open_web_calendar/calendars/info/list.py
Conversion and sharing
- Conversion strategy
open_web_calendar/convert/base.py - Event conversion
open_web_calendar/convert/events.py - Calendar metadata
open_web_calendar/convert/calendar.py - ICS output
open_web_calendar/convert/ics.py - Encrypted sharing
open_web_calendar/encryption.py
Other components
- Calendar visitor
- Calendar source URLs
- CalDAV service
Connections 21
- Calendar visitor → Embedded calendar UI: opens calendar
- Embedded calendar UI → Flask application: requests calendar
- Flask application → Calendar specification: loads settings
open_web_calendar/app.py - Flask application → Conversion strategy: selects conversion
open_web_calendar/app.py - Conversion strategy → Calendar source URLs: fetches calendars
open_web_calendar/convert/base.py - Conversion strategy → ICS retrieval: parses ICS
open_web_calendar/convert/base.py - Conversion strategy → CalDAV retrieval: falls back to CalDAV
open_web_calendar/convert/base.py - CalDAV retrieval → CalDAV service: searches events
open_web_calendar/calendars/caldav.py - Conversion strategy → Calendar interface: collects calendars
open_web_calendar/convert/base.py - Calendar interface → Calendar information: assembles information
open_web_calendar/calendars/base.py - ICS retrieval → Calendar interface: implements interface
open_web_calendar/calendars/ics.py - CalDAV retrieval → Calendar interface: implements interface
open_web_calendar/calendars/caldav.py - Flask application → Event conversion: uses conversion
open_web_calendar/app.py - Flask application → Calendar metadata: uses conversion
open_web_calendar/app.py - Flask application → ICS output: uses conversion
open_web_calendar/app.py - Conversion strategy → Event conversion: provides base
open_web_calendar/convert/base.py - Conversion strategy → Calendar metadata: provides base
open_web_calendar/convert/calendar.py - Conversion strategy → ICS output: provides base
open_web_calendar/convert/ics.py - Flask application → Encrypted sharing: encrypts sharing data
open_web_calendar/app.py - Embedded calendar UI → Calendar views: renders calendar
- Embedded calendar UI → Translations: uses translations