Skip to content

abhijithshetty12/SkySense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌤️ SkySense: Weather Prediction

Modern weather dashboard with real-time data, ML predictions, and glassmorphic UI.


📖 Overview

SkySense is a predictive weather intelligence tool. It combines real-time OpenWeatherMap data with a custom RandomForest ML model to deliver "Best/Likely/Worst" case scenarios. Designed with a glassmorphic Bento-style dashboard, it offers a premium experience for both casual users and industries like Agriculture and Construction.


🚀 Features

  • 🌍 Current Weather & 5-Day Forecast (OpenWeatherMap)
  • 🤖 ML Predictions (Rain probability, temperature forecasts)
  • 📊 Interactive Charts (Hourly trends with Recharts)
  • 🎨 Glassmorphic UI (Dark/Light theme toggle)
  • Fast Development (React 19 + Vite)

📸 Interface Previews

View Light Mode

SkySense Light Overview
Main Dashboard: Real-time weather metrics with glassmorphic cards.

SkySense AI Prediction Light
AI Predictions: Ensemble scenarios using RandomForest ML.

View Dark Mode

SkySense Dark Overview
Dark Mode: High-contrast liquid glass UI for night viewing.

SkySense 5-Day Forecast
5-Day Forecast: Clean, minimal layout for upcoming weather trends.

SkySense AI Prediction Dark
Advanced ML analytics and feature importance visualization.


🛠 Quick Start

Backend (Optional for ML)

cd backend
pip install -r requirements.txt
# Add OPENWEATHER_API_KEY to backend/.env
uvicorn main:app --reload --port 8000

Frontend (Local)

cd frontend
npm install
npm run dev

Vercel Deployment

npm install -g vercel
vercel --prod

Required Environment Variable:

vercel.json configured for:

  • Frontend-only deployment to /frontend/dist
  • Framework: null (raw Vite)
  • Backend excluded (deploy separately if needed)

📂 Project Structure

SkySense/
├── 🐍 backend/                # FastAPI Application
│   ├── ml_model.py           # RandomForest Logic & Scenarios
│   ├── weather_service.py    # OpenWeather API Integration
│   └── main.py               # REST Endpoints
├── ⚛️ frontend/               # React Application
│   ├── src/components/       # Glassmorphic UI Components
│   ├── src/store/            # Zustand State Stores
│   └── src/lib/              # API Client & Mock Data
└── README.md

🔧 Tech Stack

Frontend

  • React 18 + Vite (Vercel compatible)
  • TypeScript
  • Tailwind CSS + shadcn/ui
  • Zustand (Global State)
  • TanStack Query (Server State)

Backend

  • FastAPI (Python)
  • Scikit-Learn (RandomForest Regressor)
  • Pandas & NumPy
  • OpenWeatherMap API

🎯 Usage

  1. Search for a city in the top bar.
  2. Switch tabs: Overview, Forecast, AI Prediction.
  3. Enjoy smooth glassmorphism with real-time insights.

🛣 Roadmap

  • Hyper-local Alerts: Push notifications for sudden weather shifts.
  • Satellite Overlays: Mapbox integration for precipitation visualization.
  • Historical Trends: Compare current weather with 10-year averages.

Developed by Abhijith Shetty

About

SkySense is a modern weather dashboard that combines real-time meteorological data with AI-powered predictions. Featuring glassmorphic UI in light and dark modes, it delivers clean forecasts, ensemble ML analytics, and intuitive visualizations for accurate, user-friendly weather insights.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors