Skip to main content

Run locally

Sky AI Forecast has no build step and no dependencies to install. All you need is a modern browser.
1

Clone the repository

2

Open index.html in your browser

On macOS:
On Linux:
On Windows:
The app opens directly from the filesystem — no local server required.
3

Search for a city

Type any city name (e.g. Tokyo) into the input field and click Check Weather.
4

Explore the forecast views

After the results load, use the three tabs to switch between views:
If your browser blocks fetch() calls from file:// URLs due to CORS restrictions, serve the files with any static server:
Then open http://localhost:3000 in your browser.

Project structure

The entire app consists of three files:

Deploy to the web

1

Push to GitHub

2

Enable GitHub Pages

Go to your repository Settings → Pages. Under Source, select Deploy from a branch, choose main, and set the folder to / (root). Click Save.
3

Visit your site

GitHub will publish the app at https://<your-username>.github.io/Sky-AI-Forecast/. It may take a minute to deploy.
Because the app makes API calls to Open-Meteo directly from the browser, there is no backend to configure. Any static hosting platform works.