This is a lightweight MacOS menubar app for watching the status of services that use StatusPage. When a monitored service logs an incident, the icon will change to indicate the severity. Clicking the entry for the service will take you to the configured StatusPage for more information about the status.
Example preferences file:
{
"profiles": [
{
"name": "Github",
"hostname": "www.githubstatus.com"
}
]
}
The value for the hostname field must be the domain name serving the StatusPage site. If you're unsure if you have the correct hostname, you can test it by browsing directly to the status api page: https://foo.bar.baz/api/v2/status.json. If you get a valid json response, then you likely have the correct hostname.
Set up the environment and dependencies
virtualenv -p python3 venv
source ./venv/bin/activate
pip install -r requirements.txt
Now you can build the development version of the app and run it:
make build-dev
make run
Once you're ready, you can build the full release version by running:
make build
-
make runafter building gives an error message aboutpkg_resources.py2_warn:File "pkg_resources/__init__.pyc", line 86, in <module> ModuleNotFoundError: No module named 'pkg_resources.py2_warn' 2020-05-25 05:16:55.759 StatusPage Monitor[96205:49278291] StatusPage Monitor Error make: *** [run] Error 255This is due to an issue with setuptools, but can be worked around by updating setuptools:
pip install --upgrade 'setuptools<45.0.0'
