Widgets

Dynamic Weather Widget

Minimal, responsive weather widget with gradient themes.

Weather widget preview

Overview

A clean weather widget that adapts to small, medium, and large sizes. It auto-detects location, adjusts typography based on city names, and refreshes every 30 minutes.

Setup

  1. Create a free OpenWeather account and generate an API key.
  2. Save the script as Weather Widget in Scriptable.
  3. Replace the API key string near the top of the script.
  4. Add a Scriptable widget in any size and select the script.

Customization

  • Switch between metric and imperial units by updating the WEATHER_UNITS constant.
  • Swap background gradients in createGradientBackground.

Notes

  • Location permissions are required for auto-detect.
  • If the widget looks cramped, switch to a larger size.