Free widget

Can we observe tonight? Show it on your website

Add the Ouranos stargazing widget to your club, observatory or blog page. It tells visitors whether tonight is clear enough to observe from your site, and when the best window opens.

1. Set up your widget

Observing site
Coordinates: 48.85, 2.35

2. Copy the code

Paste it into your page's HTML, where you want the widget to appear.

<iframe src="https://ouranos-app.com/embed/observation?lat=48.85&amp;lon=2.35&amp;name=Paris"
  width="100%" height="190" style="border:0;max-width:420px;border-radius:16px"
  loading="lazy" title="Tonight’s stargazing forecast by Ouranos"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://ouranos-app.com/">Stargazing forecast by Ouranos</a></p>
<script>addEventListener("message",function(e){if(e.origin!=="https://ouranos-app.com"||!e.data||e.data.type!=="ouranos-widget-height")return;document.querySelectorAll('iframe[src^="https://ouranos-app.com/embed/"]').forEach(function(f){if(f.contentWindow===e.source)f.style.height=e.data.height+"px"})});</script>

Preview

The widget uses your site's position to about 1 km, which is enough for the forecast.

Same forecast as the app

The verdict and the best observing window come from the Ouranos forecast: cloud cover, seeing and humidity, hour by hour, between sunset and sunrise.

Set once, always current

Pick your observing site once. The widget refreshes on every visit, so your page always shows tonight, with the same card as in the Ouranos app.

Free and lightweight

No sign-up and no API key. The widget is a small page with no tracking cookies, loaded lazily in an iframe.