Skip to content

support for <timer> in recipes#76

Open
manukall wants to merge 1 commit intoephes:mainfrom
manukall:support_timer_in_recipes
Open

support for <timer> in recipes#76
manukall wants to merge 1 commit intoephes:mainfrom
manukall:support_timer_in_recipes

Conversation

@manukall
Copy link
Copy Markdown

@manukall manukall commented Feb 1, 2026

Steps can now carry a separate timers array and use placeholders in the text instead of inline times. Add StepTimer model and format_timer/expand_timer_placeholders/get_step_text helpers, wire them into Mealie, Tandoor, and Paprika exporters. Timer output uses German (15 Min., 30–40 Min., bis zu 20 Min.). Old recipes without timers remain unchanged.

(This is admittedly vibe-coded, and I don't know much about Python. I've got experience in other languages, though, and from that perspective it looks generally fine.)

Steps can now carry a separate `timers` array and use <timer>
placeholders in the text instead of inline times. Add StepTimer model
and format_timer/expand_timer_placeholders/get_step_text helpers, wire
them into Mealie, Tandoor, and Paprika exporters. Timer output uses
German (15 Min., 30–40 Min., bis zu 20 Min.). Old recipes without timers
remain unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant