# Reading streak

Minutes read today as a ring, and the streak in days.

**Sizes:** small (the ring), medium (ring and streak side by side), large (the same)
**Freshness:** your agent, when the user logs reading (tell it, or tap a button you add)
**Gotcha:** the phone doesn't track reading. The minutes come from the user or their reading app.

## Widget

```json
{
  "slug": "reading-streak",
  "title": "Reading",
  "symbol": "book.fill",
  "accent": "#FF9F0A",
  "blocks": [
    { "type": "gauge", "label": "Today", "value": 20, "max": 30, "text": "20m" },
    { "type": "metric", "label": "Streak", "value": "14d", "change": "best 28d", "trend": "flat" },
    { "type": "chart", "label": "Minutes this week", "style": "bar", "values": [30, 25, 40, 30, 35, 30, 20] }
  ],
  "sizes": { "small": [0], "medium": [0, 1], "large": [0, 1, 2] },
  "lock": { "circular": 0, "inline": "Read 20 of 30 min" }
}
```

Medium: the ring (77 pt with its label) and the streak sit side by side. Large adds the week's chart. `trend: "flat"` keeps "best 28d" grey instead of green.

## After a reading session

```json
{
  "slug": "reading-streak",
  "title": "Reading",
  "blocks": [
    { "type": "gauge", "label": "Today", "value": 30, "max": 30, "text": "Done", "color": "#30D158" },
    { "type": "metric", "label": "Streak", "value": "15d", "change": "+1 today", "color": "#30D158" },
    { "type": "chart", "label": "Minutes this week", "style": "bar", "values": [30, 25, 40, 30, 35, 30, 30] }
  ],
  "sizes": { "small": [0], "medium": [0, 1], "large": [0, 1, 2] },
  "lock": { "circular": 0, "inline": "Reading done today" }
}
```

Droplet.ai stores no counters for you. Keep the streak in your own memory, or read it back from `list_widgets` before you update.
