{
  "name": "weather",
  "kind": "registry",
  "title": "Weather",
  "description": "Local weather from Open-Meteo, with no account or key: a live sky with the next hours and the week ahead, and a bar item that stays out of the way in ordinary weather and shows up for rain, fog, wind or uncomfortable temperatures.",
  "version": "0.1.0",
  "icon": {
    "tile": {
      "glyph": "󰖙",
      "bg": "cyan"
    }
  },
  "author": "pal",
  "spec": "github:zcag/pal/extensions/weather@v0.18.11",
  "source": "https://github.com/zcag/pal-extensions/tree/HEAD/weather",
  "commit": "c620762accb2fe7be5224dd1f2912f930b9cfb48",
  "manifest": {
    "name": "weather",
    "title": "Weather",
    "description": "Local weather from Open-Meteo, with no account or key: a live sky with the next hours and the week ahead, and a bar item that stays out of the way in ordinary weather and shows up for rain, fog, wind or uncomfortable temperatures.",
    "version": "0.1.0",
    "icon": {
      "tile": {
        "glyph": "󰖙",
        "bg": "cyan"
      }
    },
    "author": "pal",
    "repo": "bundled",
    "license": "MIT",
    "settings": [
      {
        "kind": "text",
        "id": "location",
        "label": "Location",
        "description": "A place name, optionally narrowed by region or country: “Istanbul”, “London, Ontario”, “Paris, Texas”. Only the first part is searched; the rest choose between same-named places. Resolved privately by Open-Meteo's location search. The palette's L key searches and sets it too.",
        "placeholder": "Istanbul, Turkey",
        "default": ""
      }
    ],
    "palettes": {
      "weather": {
        "title": "Weather",
        "kind": "view",
        "description": "The weather where you are over a live sky: the reading now with its picture, what is coming over the next hours, and the days ahead with each one's span.",
        "keywords": [
          "weather",
          "forecast",
          "temperature",
          "rain"
        ],
        "keys": [
          {
            "keys": "left",
            "title": "An hour earlier (shift: three)"
          },
          {
            "keys": "right",
            "title": "An hour later (shift: three)"
          },
          {
            "keys": "up",
            "title": "The day before; its hours fill the row"
          },
          {
            "keys": "down",
            "title": "The day after; its hours fill the row"
          },
          {
            "keys": "n",
            "title": "Back to now"
          },
          {
            "keys": "l",
            "title": "Search for a place and keep it"
          },
          {
            "keys": "o",
            "title": "Open the place in Maps"
          },
          {
            "keys": "r",
            "title": "Read the forecast again now"
          }
        ]
      }
    },
    "states": {
      "temp": {
        "description": "The temperature now, in the service's unit",
        "kind": "number"
      },
      "code": {
        "description": "The WMO weather code now",
        "kind": "number"
      },
      "quiet": {
        "description": "A clear or cloudy sky (WMO 0 to 3): nothing falling, no fog",
        "kind": "boolean"
      },
      "condition": {
        "description": "The condition's name",
        "kind": "string"
      },
      "rain_in": {
        "description": "Hours until rain is likely (a wet hour, or a chance of half or more) within the next day; 0 while it rains, unknown when none comes",
        "kind": "number"
      }
    },
    "bar": {
      "weather": {
        "title": "Weather",
        "description": "A quiet condition-led weather signal: hidden by its rules in ordinary weather (a quiet sky between 10 and 30 degrees), visible for rain now or likely within 12 hours, fog, wind or temperatures outside that band, blue when cold and red when hot. The popover is the forecast: the reading now on a card tinted by the sky, humidity, wind, UV and the next sunrise or sunset, the next eight hours, then five days with each day's span against theirs.",
        "refresh": {
          "every": 600,
          "on": [
            "wake",
            "network"
          ]
        },
        "mocks": {
          "clear": {
            "title": "Clear, a listed notable condition",
            "item": {
              "icon": "󰖙",
              "title": "22°C",
              "color": "amber",
              "tooltip": "Clear in Istanbul"
            }
          },
          "cold": {
            "title": "Cold",
            "item": {
              "icon": "󰖐",
              "title": "3°C",
              "color": "blue",
              "tooltip": "Overcast in Istanbul"
            }
          },
          "rain": {
            "title": "Rain",
            "item": {
              "icon": "󰖗",
              "title": "14°C",
              "color": "blue",
              "tooltip": "Rain in Istanbul"
            }
          },
          "heat": {
            "title": "Hot",
            "item": {
              "icon": "󰖙",
              "title": "34°C",
              "color": "red",
              "tooltip": "Clear in Istanbul"
            }
          },
          "fog": {
            "title": "Fog",
            "item": {
              "icon": "󰖑",
              "title": "12°C",
              "color": "teal",
              "tooltip": "Fog in Istanbul"
            }
          },
          "quiet": {
            "title": "Ordinary weather",
            "item": {
              "hidden": true,
              "empty": {
                "icon": "󰖕",
                "title": "19°C",
                "tooltip": "Partly cloudy in Istanbul"
              }
            }
          },
          "unavailable": {
            "title": "Weather unavailable",
            "item": {
              "icon": "󰖪",
              "title": "Weather",
              "color": "red",
              "stale": true,
              "tooltip": "Weather service did not answer"
            }
          },
          "soon": {
            "title": "Rain coming",
            "item": {
              "icon": "󰖗",
              "title": "14°C",
              "color": "blue",
              "tooltip": "Overcast in Istanbul · rain likely around 06:00"
            }
          }
        },
        "keys": [
          {
            "keys": "o",
            "title": "Open the place in Maps"
          },
          {
            "keys": "r",
            "title": "Read the forecast again now"
          }
        ],
        "rules": [
          {
            "id": "ordinary",
            "when": "weather.quiet and weather.temp \u003e= 10 and weather.temp \u003c= 30 and not (weather.rain_in \u003c= 12)",
            "description": "A quiet sky inside the comfort band with no rain likely in the next 12 hours: off the strip (move the band or the window here).",
            "hidden": true,
            "color": "muted"
          },
          {
            "id": "rain_soon",
            "when": "weather.quiet and weather.rain_in \u003c= 12",
            "description": "Rain likely within 12 hours while the sky is still dry: the rain glyph, in blue.",
            "icon": "󰖗",
            "color": "blue"
          },
          {
            "id": "cold",
            "when": "weather.temp \u003c 10",
            "description": "Below the comfort band.",
            "color": "blue"
          },
          {
            "id": "hot",
            "when": "weather.temp \u003e 30",
            "description": "Above the comfort band.",
            "color": "red"
          }
        ]
      }
    },
    "store": {
      "tagline": "A live sky with the weather where you are, and a bar item only when it is worth noticing",
      "category": "system",
      "features": [
        "The reading now with its own picture, over a sky drawn live from the forecast: clouds by cover drifting with the wind, sunset colours, stars, rain, snow, fog and lightning",
        "One plain sentence on what is coming, then the next hours with sunrise and sunset in their place",
        "The days ahead with each one's span against the others, today's reading marked on it",
        "Pick a day and its hours fill the row; walk the hours and the sky turns to each one",
        "Opens at once on the last reading and refreshes behind it; search for a place right in the palette",
        "The bar item hides in ordinary weather and comes back for rain now or within 12 hours, fog, wind, heat or cold"
      ],
      "permissions": [
        "network"
      ],
      "platforms": [
        "macos",
        "linux"
      ],
      "screenshots": [
        {
          "file": "1-now.png",
          "caption": "Showers over Istanbul: the reading with its picture, when the rain eases, the next hours and the days ahead"
        },
        {
          "file": "2-later.png",
          "caption": "The arrows walk the hours: at nine the rain has gone and the sky turns to night"
        },
        {
          "file": "3-days.png",
          "caption": "Down picks a day: Friday's hours fill the row, and its clear sky takes over"
        },
        {
          "file": "4-storm.png",
          "caption": "A thunderstorm: heavy rain blown by the wind, lightning now and then"
        },
        {
          "file": "5-place.png",
          "caption": "L searches for a place and keeps it"
        },
        {
          "file": "bar-menubar.png",
          "caption": "On the menu bar only when the weather is worth a look: a shower passing, its glyph and the temperature in blue",
          "kind": "bar"
        },
        {
          "file": "bar-menubar-storm.png",
          "caption": "A thunderstorm turns it red",
          "kind": "bar"
        },
        {
          "file": "bar-popover.png",
          "caption": "A click opens the popover: the reading on a card tinted by the sky, the next eight hours, five days with each day's span",
          "kind": "bar",
          "box": [
            418,
            64,
            840,
            960
          ]
        },
        {
          "file": "bar-sketchybar.png",
          "caption": "On sketchybar: the weather glyph and the temperature",
          "kind": "bar"
        }
      ],
      "actions": [
        {
          "title": "Open map",
          "description": "Open the place in Maps.",
          "keys": "o"
        },
        {
          "title": "Change place",
          "description": "Search for a place and keep it.",
          "keys": "l"
        },
        {
          "title": "Refresh",
          "description": "Read the forecast again now.",
          "keys": "r"
        },
        {
          "title": "Back to now",
          "description": "Return the hours and the sky to the present.",
          "keys": "n"
        }
      ]
    }
  },
  "playable": false,
  "updated_at": "2026-11-22T01:38:11Z",
  "url": "https://pal.cagdas.io/extensions/weather",
  "tagline": "A live sky with the weather where you are, and a bar item only when it is worth noticing",
  "category": "system",
  "screenshots": [
    "https://pal.cagdas.io/extensions/weather/screenshots/1-now-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/1-now.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-later-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-later.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/3-days-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/3-days.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/4-storm-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/4-storm.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/5-place-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/5-place.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar.png"
  ],
  "panel_screenshots": [
    "https://pal.cagdas.io/extensions/weather/screenshots/1-now.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-later.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/3-days.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/4-storm.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/5-place.png"
  ],
  "bar_screenshots": [
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar.png"
  ],
  "panel_screenshots_dark": [
    "https://pal.cagdas.io/extensions/weather/screenshots/1-now-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-later-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/3-days-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/4-storm-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/5-place-dark.png"
  ],
  "bar_screenshots_dark": [
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar-dark.png"
  ],
  "has_bar": true,
  "bar_items": [
    {
      "id": "weather",
      "title": "Weather",
      "description": "A quiet condition-led weather signal: hidden by its rules in ordinary weather (a quiet sky between 10 and 30 degrees), visible for rain now or likely within 12 hours, fog, wind or temperatures outside that band, blue when cold and red when hot. The popover is the forecast: the reading now on a card tinted by the sky, humidity, wind, UV and the next sunrise or sunset, the next eight hours, then five days with each day's span against theirs.",
      "refresh": {
        "every": 600,
        "on": [
          "wake",
          "network"
        ]
      },
      "refresh_words": "every 10 min, on wake, when the network is back"
    }
  ],
  "has_links": false,
  "links": [],
  "multi": false,
  "has_readme": true
}
