countup widget
The countup widget is a message with date arithmetic baked in. Every draw it
renders <text>: <N> where N is the number of days from countup_date to today.
The count is recomputed on each draw, so it rolls to the next value at midnight
without restarting the process.
Minimal example
[[playlist.section.widget]]type = "countup"text = "Days since launch"countup_date = 2024-01-01Before the date arrives
Section titled “Before the date arrives”If countup_date is still in the future, the widget does not display and a warning
is emitted at config load, along the lines of:
countup_date 2027-01-01 is in the future — this countup won't display until then (did you mean a countdown?)Once the date arrives the widget shows 0 and counts up from there. To count down
to a future date, see countdown.
Options
Section titled “Options”Set the content string with text =.
Common patterns
Section titled “Common patterns”Branded color
Section titled “Branded color”[[playlist.section.widget]]type = "countup"text = "Days Open"countup_date = 2024-03-15font_color = [255, 140, 0]Rainbow sweep
Section titled “Rainbow sweep”[[playlist.section.widget]]type = "countup"text = "Days Strong"countup_date = 2023-01-01font_color = "rainbow"Rainbow border with solid text
Section titled “Rainbow border with solid text”[[playlist.section.widget]]type = "countup"text = "Days Running"countup_date = 2023-06-01font_color = [255, 255, 255]border = "rainbow"For full details on font_color, border, center, padding, and bg_color,
see the color providers and borders
concept pages — the knobs work identically to countdown.
Typewriter is not available on countup
Section titled “Typewriter is not available on countup”animation = "typewriter" is rejected on countup — it’s only supported on message, gif, and image. For dynamic color, use font_color = "rainbow" or a gradient.