Skip to content

Uptime

GraphUptime

One glyph per day. ok, degraded, down, or empty. Wraps every 30 days.

Command

pnpm dlx shadcn@latest add <origin>/r/graph-uptime.json

Ninety days

One glyph per day, wrapped every 30. Percent is the share of ok days.

[ API ]

94%

Jun 1Aug 29

up slow· down

94 percent uptime over 90 days, Jun 1 to Aug 29

Incident window

empty days sit as dashes so a gap stays visible.

[ WEBHOOKS ]

80%

MonFri

up slow· down

80 percent uptime over 10 days, Mon to Fri

Props

PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
daysUptimeStatus[]ok, degraded, down, or empty.
fromstringLabel at the start of the range.
tostringLabel at the end of the range.
columnsnumber30Days per row. Shorter series stay on one line.
glyphs"shade" | "ascii" | "hash" | "bar" | string[]"shade"Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters.
palette"mono" | "duo" | "multi""mono"mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.