mealie-ical-proxy

command module
v0.0.0-...-5579140 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 11 Imported by: 0

README

Mealie iCal Proxy

A simple web server that generates an iCal for a Mealie instance's meal plan.

Usage

To use, simply run with the MEALIE_API_KEY and MEALIE_URL environment variables set:

MEALIE_API_KEY=apikeyhere MEALIE_URL=https://mealie.example.com go run .

Use the calendar at the URL http://localhost:3333/mealie.ics.

Configuration

Meal start times can be overridden with optional environment variables in 24-hour HH:MM format:

Variable Default
MEALIE_BREAKFAST_TIME 09:00
MEALIE_LUNCH_TIME 12:00
MEALIE_DINNER_TIME 19:00
TZ UTC
MEALIE_FLOATING_TIMES false

When TZ is set, configured meal times are treated as local times in that IANA timezone and converted to UTC in the calendar output. For example, 12:00 in Europe/Berlin is emitted as 10:00Z during summer time.

Set MEALIE_FLOATING_TIMES=true to emit meal times without a timezone or Z suffix. Calendar clients will then display the configured wall-clock time in their own timezone.

For example:

TZ=Europe/Berlin MEALIE_BREAKFAST_TIME=08:30 MEALIE_DINNER_TIME=18:00 \
  MEALIE_API_KEY=apikeyhere MEALIE_URL=https://mealie.example.com go run .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL