Skip to content

Madz-21/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SkyPulse

🌀 SkyPulse β€” Real-Time Weather Intelligence

A sleek, fully responsive weather web app powered by real open data sources.
Search any city on Earth, track live conditions, and verify accuracy through official meteorological agencies.

HTML5 CSS3 JavaScript Open-Meteo


SkyPulse Preview


✨ Features

Feature Description
πŸ” Global Search + Autocomplete Search any city, region, or country worldwide with real-time suggestions
πŸ“ GPS Location One-click detection of your current location via browser geolocation
🌑️ °C / °F Toggle Switch temperature units instantly across all values
⏰ Local City Clock Live clock synced to the searched city's exact timezone
πŸ“Š 24-Hour Forecast Scrollable hourly breakdown with temperature & precipitation probability
πŸ“… 7-Day Forecast Weekly overview with temperature range bars and weather icons
🌬️ Wind Compass Animated compass showing real-time wind direction and gusts
β˜€οΈ Sun Arc Visualizer Live sun position arc with sunrise, sunset & day length
🟑 UV Index Meter Color-coded UV scale from Low to Extreme
🚨 Severe Weather Alerts Auto-triggered banner for thunderstorms, heavy rain, and extreme events
πŸ”— Official Source Verification Direct links to BMKG, NOAA, ECMWF, Met Office, WMO for cross-checking
πŸ“± Fully Responsive Optimized for desktop, tablet, and mobile screens
πŸ”„ Auto Refresh Weather data refreshes automatically every 10 minutes

πŸ›°οΈ Data Sources

SkyPulse fetches data exclusively from trusted, official meteorological sources:

Source Role Link
Open-Meteo Primary weather API (ECMWF model) open-meteo.com
Nominatim / OpenStreetMap Geocoding & reverse geocoding nominatim.openstreetmap.org
TimeAPI.io Timezone resolution per coordinate timeapi.io
BMKG Indonesian official meteorology agency bmkg.go.id
NOAA US National Oceanic & Atmospheric Administration noaa.gov
UK Met Office British national weather service metoffice.gov.uk
ECMWF European Centre for Medium-Range Weather Forecasts ecmwf.int
WMO World Meteorological Organization wmo.int

All data is fetched live with no caching layer β€” what you see is real-time.


πŸš€ Getting Started

No build tools, no dependencies, no installation required.

Option 1 β€” Open directly in browser

git clone https://github.com/Madz-21/weather-app.git
cd skypulse
# Open weather-app.html in your browser
open weather-app.html        # macOS
start weather-app.html       # Windows
xdg-open weather-app.html    # Linux

Option 2 β€” Serve locally (recommended)

Using Python:

python3 -m http.server 8080
# Then open http://localhost:8080/weather-app.html

Using Node.js (npx serve):

npx serve .

Option 3 β€” Deploy to GitHub Pages

  1. Push this repo to GitHub
  2. Go to Settings β†’ Pages
  3. Set source to main branch, root /
  4. Your app will be live at https://yourusername.github.io/weather-app/index.html

πŸ“ Project Structure

skypulse/
β”‚
β”œβ”€β”€ weather-app.html     # Main app β€” single self-contained file
β”œβ”€β”€ README.md            # You are here

SkyPulse is intentionally built as a zero external dependencies, zero build steps, portable and lightweight.


🌐 Live Demo

πŸ”— My weather web app


🧰 Tech Stack

  • HTML5 β€” Semantic markup structure
  • CSS3 β€” Custom properties, CSS Grid, Flexbox, keyframe animations
  • Vanilla JavaScript β€” Zero frameworks, zero dependencies
  • Google Fonts β€” Montserrat + Nunito typography
  • SVG Icons β€” All icons hand-crafted inline (no icon libraries)
  • Open-Meteo REST API β€” Free, no API key required
  • Nominatim API β€” Free geocoding via OpenStreetMap

βš™οΈ How It Works

User Input (city name / GPS)
        ↓
Nominatim Geocoding API
  β†’ Resolves to lat/lon coordinates
        ↓
Open-Meteo Forecast API
  β†’ Fetches current, hourly & daily weather
        ↓
TimeAPI.io
  β†’ Resolves local timezone for the city
        ↓
SkyPulse renders:
  Current conditions Β· 24h forecast Β· 7-day forecast
  UV index Β· Wind compass Β· Sun arc Β· Alerts
        ↓
Official source links (BMKG, NOAA, ECMWF, etc.)
  β†’ User can verify data independently

πŸ”’ Privacy

  • No data is stored or sent to any server controlled by this project
  • All API calls go directly from your browser to the respective public APIs
  • Location access is only used when you explicitly click "My Location" and is never stored

🀝 Contributing

Contributions, bug reports, and feature requests are welcome!

# Fork the repo, then:
git checkout -b feature/your-feature-name
git commit -m "feat: add your feature"
git push origin feature/your-feature-name
# Open a Pull Request

Made with ☁️ by AhmadSP

If this project helped you, consider giving it a ⭐ on GitHub!

About

🌀 Real-time weather web app for any location on Earth. Built with vanilla HTML/CSS/JS. Powered by Open-Meteo API with official source verification via BMKG, NOAA, ECMWF & WMO. No API key required.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors