Run locally
Sky AI Forecast has no build step and no dependencies to install. All you need is a modern browser.Open index.html in your browser
On macOS:On Linux:On Windows:The app opens directly from the filesystem — no local server required.
Explore the forecast views
After the results load, use the three tabs to switch between views:
| Tab | Function called | What it shows |
|---|---|---|
| Current | showCurrent() | Live temperature and humidity |
| 24h Forecast | show24h() | Hour-by-hour forecast for the next 24 hours |
| 16-Day Outlook | show30d() | Daily high temperatures for up to 16 days |
If your browser blocks Then open
fetch() calls from file:// URLs due to CORS restrictions, serve the files with any static server:http://localhost:3000 in your browser.Project structure
The entire app consists of three files:| File | Purpose |
|---|---|
index.html | App markup — input, buttons, and display containers |
style.css | All visual styling and the logo arc animation |
script.js | All logic — geocoding, weather fetching, and view rendering |
Deploy to the web
- GitHub Pages
- Netlify
- Vercel
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.