Skip to main content
No. Sky AI Forecast uses the Open-Meteo API, which is completely free and requires no registration or API key. You can start making requests immediately without any account setup.
The app requests the temperature_2m variable from Open-Meteo, which returns values in Celsius by default.To display Fahrenheit, apply the standard conversion formula — (°C × 9/5) + 32 — when rendering the temperature value. In script.js, wrap the temperature value before inserting it into the DOM:
const tempF = (tempC * 9 / 5) + 32;
Replace uses of the raw temperature variable with tempF wherever you want Fahrenheit output.
Open-Meteo aggregates data from multiple national weather services, including NOAA, DWD, and ECMWF. Forecast accuracy is comparable to mainstream consumer weather apps.The 16-day forecast range is available, but predictions beyond 7 days carry significantly more uncertainty and should be treated as indicative rather than precise.
The app passes count=1 in the geocoding query, so it always takes the first — and most relevant — result returned by Open-Meteo. For common or ambiguous names (e.g. “Springfield”), the result may not be the city you intended.To disambiguate, include a state or country in your search: Springfield, Illinois or Springfield, US.
No. Sky AI Forecast fetches live data from the Open-Meteo API on every search. An active internet connection is required. There is no local caching or offline mode.
The function name show30d() is a legacy of an earlier version of the app that targeted a 30-day range. The actual API call uses forecast_days=16, so the data covers 16 days. The function name was never updated to match and does not reflect the real forecast range.
Sky AI Forecast is a static app consisting of three files: index.html, style.css, and script.js. Any static hosting platform can serve it. Common options include:
  • GitHub Pages — push your files to a repository and enable Pages in the repository settings.
  • Netlify — drag and drop your project folder into the Netlify dashboard.
  • Vercel — import the repository or run vercel deploy from the project directory.
  • Any web server — upload the three files to the server’s public root directory.
See the Quickstart page for step-by-step deployment instructions.
Yes. Because the app is plain HTML, CSS, and JavaScript, you can integrate it into an existing project:
  1. Copy the relevant HTML structure from index.html into your page.
  2. Copy the styles from style.css into your stylesheet (or import the file).
  3. Copy the JavaScript from script.js into your script bundle (or import the file).
  4. Ensure the Lucide CDN script tag is present in your page’s <head>:
<script src="https://unpkg.com/lucide@latest"></script>
Adjust class names and IDs if they conflict with your existing codebase.

Build docs developers (and LLMs) love