Custom weather app using the OpenWeatherMap OneCall API and Geocoding API.
-
Current weather info
-
Weather icon (according to the current weather)
-
Video background (according to the current weather)
-
Temperature
-
Sunrise / -set
-
Moonrise / -set
-
Winddirection
-
Windspeed
-
Pressure
-
Humidity
-
Probability of precipitation
-
UV Index
-
-
Hourly weather report
-
Weather icon (according to the hourly weather forecast)
-
Temperature
-
Time
-
-
Daily weather report
-
Day
-
Date
-
Weather icon (according to the hourly weather forecast)
-
Temperature (including min / max values)
-
Probability of precipitation
-
Windspeed
-
-
Bonus
- Animated icons avaiable on the branch "animated icons" (wip)
-
Clone / Download repository
-
Create an OpenWeather account ( Signup )
-
Go to "My API Keys" ( Link ) and generate a new key
-
Open script.js from the repository you just cloned in a text editor
-
Replace YOUR API KEY HERE at the top of the file with the key you just generated
-
Save changes
-
Upload files to your desired hosting platform
-
Visit the URL where you uploaded everything in mobile Safari or Chrome browser
-
Select "Add to startscreen" in the browser menu
-
The app is now avaiable on your home screen 🎉
- Run
npm run watch
for development - Run
npm run build
for a production build- The production build will be available under the
public
directory
- The production build will be available under the
- Run
npx stylelint "**/*.scss" --fix
for style linting and auto fixes of SCSS files
See UI mockups here: