How bartoostveen/ical-proxy works
ical-proxy is a small HTTP service that fetches remote iCalendar feeds and returns calendars filtered by query parameters. A request without a feed URL redirects to the configured generator URL; otherwise the handler delegates retrieval and filtering to CalendarService, which uses an optional Redis cache. The sampled code shows filtering and calendar serialization in the calendar path. The README documents no additional product capabilities, and the calendar excerpt omits parts of its implementation, so the graph avoids claiming an unshown internal parsing call sequence.
Main entry points: main.rs Root handler · calendar.rs Calendar service · cache.rs Optional cache · error.rs HTTP error mapping
Components 11
HTTP interface
- Axum server
src/main.rs - Root handler
src/main.rs - HTTP error mapping
src/error.rs
Calendar processing
- Calendar service
src/calendar.rs - Filter parsing and matching
src/filter.rs
Runtime configuration and cache
- Optional cache
src/cache.rs - Configuration
src/config.rs
Other components
- Calendar consumer
- Generator site
- Redis
- Calendar feed
Connections 10
- Calendar consumer → Axum server: sends request
src/main.rs - Axum server → Root handler: routes GET
src/main.rs - Root handler → Calendar service: requests calendar
src/main.rs - Root handler → Generator site: redirects when URL absent
src/main.rs - Calendar service → Calendar feed: fetches calendar
src/calendar.rs - Calendar service → Filter parsing and matching: parses and applies filters
src/calendar.rs - Calendar service → Optional cache: reads and writes entries
src/calendar.rs - Optional cache → Redis: reads and writes
src/cache.rs - Axum server → Configuration: loads settings
src/main.rs - Root handler → HTTP error mapping: maps service errors
src/main.rs