Skip to content

pigmonkey/geoweather

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Geoweather

Geolocated weather forecasts using the power of the World Wide Web.

Problem

Installing a spyware-ridden application on your telephone is dumb. When the only function of that application is to fetch and display data from the internet, installing it is even dumber. We have web browsers that can accomplish that (minus most of the spyware).

You can use your browser to bookmark your favorite weather forecasting site but, after loading, most sites require a second click to identify your current location. That is one too many clicks.

Solution

Geoweather is a simple HTML web page which uses the Javascript geolocation API to get your current coordinates, use those coordinates to build a forecast URL for your location, and redirect you to the URL.

Use

Upload the HTML page someplace on the Information Super Highway, or use mine. Bookmark the URL and add the bookmark to your home screen. You can now get geolocated weather forecasts with a single click.

Bonus: the forecast service doesn't have permission to locate you.

Supported Forecasts

The default forecast service is the National Weather Service. If your screen width is less than 800px, you'll be directed to the mobile version.

Append the ?darksky querystring to be redirected to Dark Sky.

Append the ?windy querystring to be redirected to Windy.

Tips

If they detect that you are on a mobile device, both Both Dark Sky and Windy will waste valuable screen real estate with elements that ask you to install their mobile application. Use the uBlock Origin element picker to eliminate this waste.

About

Geolocated weather forecasts using the power of the World Wide Web.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages