Skip to content
This repository has been archived by the owner. It is now read-only.
Look under the hood of any website and tweak all the things
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
public iframe height should not be 100% Feb 19, 2017
views Update help.html Jun 6, 2017
.bowerrc bug978786 - Implement new language picker Mar 7, 2014
.travis.yml update node Nov 9, 2017
Gruntfile.js fixed bracketing and initialized recess module to make RECESS work Apr 9, 2014
Procfile Update Sep 26, 2016
bower.json OS and browser detection Dec 2, 2015

Mozilla X-Ray goggles

This is a client-side (with small server component) application that hosts the Mozilla X-Ray Goggles library. It is dependent on having an [id.wmo] and [publish.wmo] end point to talk to for its user authentication and data publication functionality, respectively. The end point URLs can be set in the .env file used.

Getting up and running

In your Git directory (or whichever directory you want to place the goggles in), type:

$> git clone
$> cd
$> npm install
$> cp env.dist .env

Then any time you wish to (re)compile the library and run the Goggles server, type:

$> npm start

Environment variables

The following environment variables are important to change, if you want to use the goggles in an atypical enviroment (i.e. one where any of the services used or relied upon does not use the default supplied .env file)

PORT: the port the service will run on.
APP_HOSTNAME: the domain the service will be running on, port included.
HACKPUBURL: the domain the service will be running on, port included.
ID_WMO_URL: the URL for the service, port included.
ID_WMO_CLIENT_ID: the client identifier assigned to goggles by thje instance pointed to.
PUBLISH_WMO_URL: the URL for the service, port included.


Deployment uses a Heroku pipeline.

You can’t perform that action at this time.