Skip to content

YoshiFan13/SweaterWeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SweaterWeather

A simple weather Web app for a college project, tailored to my desires.

Features

  • Design based on Apple's Weather app (pre-iOS 15, mainly iOS 11)
  • 24/48 hour and 7 day forecasts
  • Extra info such as sunrise/sunset, wind speed/direction...
  • Choose between metric and imperial units
  • Refresh info without reloading the entire app
  • Supports iOS 10.3+ (or any major browser version since ~2016)
  • Different background modes:
    • No background (black background)
    • Gradients
    • Weather photos from Unsplash
    • Featured photos from Unsplash
    • Custom image URL
    • Custom image upload (stored in LocalStorage)
    • And more...

What it uses

Getting started

  1. Sign up for OpenWeatherMap's free tier and get your API key here
  2. With your API key on hand, go to the SweaterWeather page
    (You can also host it yourself by downloading/cloning the repo and then starting a local server containing the files)
  3. Click/tap OK on the alert that says you're using the app for the first time
    (Note for iOS: If you want to add SweaterWeather to your home screen, you can do it right after the alert appears and you won't have to set it up a second time)
  4. Enter your location in the topmost text field
  5. Enter your API key in the bottommost text field
  6. Click/tap on the checkmark in the bottom-right corner
  7. Enjoy!

Future improvements

  • Improve readme (especially add images)
  • Add light theme (with option to choose theme)
  • Add location-based weather
  • Add an easter egg?!
  • Adjust media queries for optimal tablet layout
  • Add more background modes (Unsplash Source)
  • Fix compatibility with older Safari/iOS/WebKit/browser versions
    (I went as much as possible without major rewriting)
  • Fix favicon in (some) browsers (I tried)

Feel free to contribute however you can!

About

A simple weather Web app for a college project, tailored to my desires.

Resources

License

Stars

Watchers

Forks