Public Repository

Last pushed: 4 months ago
Short Description
Nodejs based container to summarise weather conditions at multiple Australian locations.
Full Description

Nodejs based container to summarise weather conditions at multiple Australian locations. Initially built for Hang Gliding sites, but can be used for any wind dependent activity. It retrieves the wind and weather information from the BOM MetEye site.

Note: the container does not get or store any information from users. All the filtering, sorting and location awareness is performed in the browser.


The container requires a TLS key and certificate and takes a JSON file containing an array of site details. TLS is required for the location awareness to work and free certificates can be obtained from Let’s Encrypt.

The values in the sites.json file are:


  • sites - Array of sites.


  • title - Used to override the default title of "Where To Fly".

The values for each sites entry are:


  • name - Unique entry name. Used for filtering.
  • title - Name shown on the forecast.
  • lat - site's latitude in decimal to two significant figures.
  • lon - site's longitude in decimal to two significant figures.
  • minSpeed - minimum favourable speed.
  • maxSpeed - maximum favourable speed.


  • url - Link to a description of the site.
  • weather_url - link to a specific forecast for the site.
  • obs_url - link to the site's current weather observations.
  • minDir - minimum favourable direction. See note [1].
  • minDir - maximum favourable direction. Must be clockwise from minDir. See note [2].


  1. Directions must be one of "N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW", "WSW", "W", "WNW", "NW", "NNW".
  2. If no directions are specified all directions are considered favourable.

Example sites.json file:

"title": "Where To Fly",
      "title":"Lake George (Geary's Gap)",
      "minDir": "NE",
      "maxDir": "SE",
      "minSpeed": 5,
      "maxSpeed": 10
      "title":"Spring Hill",
      "minDir": "SW",
      "maxDir": "NW",
      "minSpeed": 5,
      "maxSpeed": 10

Container configuration

The container expects two shares:

  • /usr/src/app/run - read/write - must contain sites.json, key.pem and cert.pem. See Note [1]. An access.log is written here.
  • /usr/src/app/public/run - read/write - stores the forecast history files.

The container exposes two ports:

  • 8080 - http
  • 8443 - https


  1. If using Let’s Encrypt certificates, include the cross signed CA certificate in the cert.pem file to ensure it's accepted by all browsers.

Current Limitations - TODO:

  • Wind speeds are in knots
  • The container timezone is fixed to AEDT.
Docker Pull Command