A simple tool to monitor Front-End regression using the API of Google Pagespeed Insight and Regular Expressions.
Very useful for media company because many of the suggestions of the Google Pagespeed Insight service are flooded with resources not directly managed by the publisher (Advertising, Tracking etc...)
This tool use regex to filter these resources and get a cleaner report with only suggestions on specifc resources pattern, so you can take directly take action.
This tool has a Google Hangouts Chat hook that give you this kind of message:
Pipenv - https://pipenv.readthedocs.io/en/latest/
Env variable: PAGESPEED_KEY as your Google API Key
- Launch virtualenv
pipenv shell
- Launch the script with a config as first argument
python -m pagespeed_monitoring.app config/{website}.json