Skip to content

Weather webapp written in HTML/JS. Minimal, self-hosted, and no config required.

License

Notifications You must be signed in to change notification settings

seanvree/Weather

Repository files navigation

Weather

Weather webapp written in HTML/JS. Minimal, self-hosted, and no config required.

DEMO: https://seanvree.github.io/Weather/

Features:

  • Self-hosted, HTML-pure, minimal.
  • Mobile ready
  • Weather data auto generated via Geolocation.
  • Weather API provided via OpenWeatherMap.
  • Animated icons.
  • Click-to-convert Celsius/Fahrenheit.
  • 5-day forecast data (Click on right icon).
  • See this integrated into a dope custom home/start page here: https://github.com/seanvree/homepage

Screenshot :

Animated Icons :

Notes:

  • Acquire your FREE API key and replace the default key in /main.js : LINE 11 https://home.openweathermap.org/users/sign_up

  • Weather auto refresh default setting is set at 30 seconds (2 calls per minute), or 30000(ms). Max is 60 API calls per 1 minute. Change in /main.js : LINE 264:

var t = window.setInterval(searchByLocation, 30000);
  • Change the default temp unit from F to C by changing the following two items:

/index.html: LINE 50:

<div id="unit" class="unit">&degC</div>

/main.js: LINE 9:

var unit = 'metric';

About Me:

  • seanvree (Windows Wizard)

  • I usually hang out here Discord

  • Buy me a beer Donate

Credits:

About

Weather webapp written in HTML/JS. Minimal, self-hosted, and no config required.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published