Skip to content

DIP72/weather

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

67 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ Nexus Spring of Code 2026

This project is part of Nexus Spring of Code (NSoC) 2026.

๐Ÿง‘โ€๐Ÿ’ป Contributors can work on open issues and submit pull requests following the contribution guidelines.
๐Ÿท๏ธ Make sure your PR includes the tag NSoC'26 for leaderboard tracking.


๐ŸŒฆ๏ธ Weather App โ€” Beyond Just Weather

โšก Fast. Clean. Insightful.
Not just weather data โ€” weather that helps you decide.


๐ŸŒŒ What Makes This Different?

Most weather apps show:

โ€œ30ยฐC, Humidโ€

This app tells you:

โ€œHot & humid โ€” expect discomfort, stay hydrated ๐Ÿ’งโ€

๐Ÿ‘‰ This project focuses on decision-making, not just data display.


๐Ÿง  Core Concept: Decision Layer

This app includes a logic layer that interprets weather data.

Condition Insight
High Temperature Avoid outdoor activity โ˜€๏ธ
Rain Carry umbrella โ˜”
High Humidity Expect discomfort ๐ŸŒซ๏ธ

๐Ÿ“Œ Future: AI-powered recommendations


โœจ Features

๐Ÿ” City Search

  • Search weather by entering any city

๐ŸŒก๏ธ Real-Time Data

  • Temperature
  • Humidity
  • Wind Speed
  • Weather Conditions

๐ŸŒฅ๏ธ Dynamic Weather Icons

  • UI updates based on live conditions

๐ŸŒ™ Dark Mode

  • Persistent theme toggle

๐ŸŒก๏ธ Unit Converter (ยฐC โ†” ยฐF)

  • Instant conversion without API calls

โš ๏ธ Error Handling

  • Handles invalid inputs gracefully

๐ŸŽจ Minimal UI

  • Clean, distraction-free experience

๐Ÿ”„ How It Works

User Input
   โ†“
API Call (WeatherAPI)
   โ†“
Data Processing Layer
   โ†“
Insight Generation
   โ†“
UI Rendering

โš™๏ธ Engineering Decisions

  • โšก Async API calls for faster response
  • ๐Ÿง  Client-side data processing for instant insights
  • ๐ŸŽฏ Minimal dependencies for performance

Trade-offs

  • No backend โ†’ faster but no persistent history
  • Client-only โ†’ lightweight but limited scalability

๐ŸŒ Real-World Use Cases

  • ๐Ÿƒ Plan workouts
  • ๐ŸŽ’ Student commute planning
  • โœˆ๏ธ Travel preparation
  • ๐ŸŒก๏ธ Daily decision making

โš–๏ธ Why This Over Other Weather Apps?

Feature This App Typical Apps
Clean UI โœ… โŒ cluttered
Insight-based โœ… โŒ raw data only
Lightweight โœ… โŒ heavy
Fast loading โœ… โŒ slower

๐Ÿ› ๏ธ Tech Stack

Technology Usage
HTML Structure
CSS Styling
JavaScript Logic
WeatherAPI Data
Git Version Control

๐Ÿ“‚ Project Structure

๐Ÿ“ weather
โ”ฃ ๐Ÿ“„ index.html
โ”ฃ ๐Ÿ“„ style.css
โ”ฃ ๐Ÿ“„ script.js
โ”ฃ ๐Ÿ“„ config.example.js
โ”ฃ ๐Ÿ“„ README.md

โšก Quick Start

git clone https://github.com/aditya-ai00/weather.git
cd weather
open index.html

๐Ÿ”‘ API Setup

Uses WeatherAPI

Steps:

  1. Go to ๐Ÿ‘‰ https://www.weatherapi.com/api-explorer.aspx
  2. Generate your API key
  3. Create config.js
const config = {
  WEATHER_API_KEY: "YOUR_KEY"
};

๐Ÿš€ Live Demo

๐ŸŒ View Live App


๐Ÿ”ฎ Future Roadmap

  • ๐Ÿ“… 7-Day Forecast
  • ๐Ÿ“Š Weather analytics dashboard
  • ๐ŸŒ Multi-city tracking
  • ๐Ÿ”” Smart alerts
  • ๐Ÿค– AI weather assistant

๐Ÿค Contributing

Want to make this better? ๐Ÿš€

๐Ÿ”ฅ High-impact contributions:

  • Add forecast system
  • Improve UI/UX
  • Build analytics dashboard
  • Add AI insights

Steps:

git checkout -b feature/your-feature
git commit -m "feat: add feature"
git push origin feature/your-feature

Then open a PR with tag NSoC'26.


๐Ÿ› Issues

Found a bug? Open an issue โ€” contributions are welcome!


๐Ÿ“„ License

Licensed under Apache-2.0


๐Ÿ“ฌ Contact

๐Ÿ“ง Email: adityanyo39@gmail.com
๐Ÿ”— LinkedIn: https://www.linkedin.com/in/aditya-kumar23/
๐Ÿ’ป GitHub: https://github.com/aditya-ai00


๐Ÿ’ก Why This Project?

Most weather apps are:

  • โŒ Too complex
  • โŒ Filled with ads
  • โŒ Or too basic

This project aims to be:

  • โšก Fast
  • ๐ŸŽฏ Simple
  • ๐Ÿง  Actually useful

โญ Support

If you like this project: ๐Ÿ‘‰ Star โญ the repo
๐Ÿ‘‰ Share it


โšก Author

Aditya
GitHub: https://github.com/aditya-ai00


๐Ÿ†• Recent Updates

  • ๐ŸŒ™ Dark Mode with persistence
  • ๐ŸŒก๏ธ Unit Converter (ยฐC โ†” ยฐF)
  • โšก Performance improvements

About

Basic Weather Website

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 55.4%
  • CSS 35.0%
  • HTML 9.6%