Skip to main content

YOUR LOCAL SKY

Tonight’s Stargazing Conditions Widget

Hourly cloud forecasts during astronomical darkness, with calculated Moon illumination and altitude.

Working preview

Customize your widget

Location coordinates (default: Los Angeles)

Width follows its container. All source credits and the provider attribution remain visible.

Embed code

Open standalone widget

Installation

  1. Copy the code into a custom HTML block on your website. WordPress, school sites and publisher pages must allow iframes.
  2. The widget loads independently of your page. Allow https://www.spaceweathertracker.com in your site’s frame-src policy.
  3. Keep the frame’s stated height, or make it taller. Narrow screens may scroll within the frame; do not crop its attribution.

About the readings

Nighttime hours are selected using the Sun below −18° at your coordinates. Cloud cover is a weather forecast, not an observation. Moon altitude indicates whether moonlight is present. This widget does not estimate light pollution or promise clear skies.

Example use cases

Observatories, campsites, astronomy clubs and local photography guides.

Free to use with visible SWT attribution. Not for navigation, emergency decisions or safety-of-life applications.

Refresh, sources & privacy

Data loads asynchronously and is checked every five minutes while the widget is visible. Observation timestamps belong to the source; forecast-valid times and ephemeris calculation times are labeled separately. A refresh failure preserves last available data with a warning. The widget sets no cookies, stores no location history, and includes no ads or analytics scripts. Standard hosting request logs may still be retained.

If your site blocks frames, shows an empty preview or strips HTML, check its iframe permissions and content security policy. During upstream outages, use the widget’s Refresh control. No API key or account is required.