Create lighthouse reports for multiple sites
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.


Uses Google's lighthouse ( to build a set of reports from the URL list you pass into the configuration file.

It's a Node.JS script, so you need Node / NPM installed on your machine.


After cloning the repo, run

npm install

to install the dependencies.

In config.json, edit the following fields:

Field Example Description
url ["", ""] Array with list of fully formatted URLs to audit.
lighthouseFlags {"output": "csv", "disableDeviceEmulation": true} List of flags to pass to lighthouse. Full list available here:
chromeFlags ["--headless"] List of flags to pass to the Chrome launcher. Full list available here:
writeTo "/users/sahava/Desktop/" The path where to write the reports - the tool will create the path if it doesn't exist. Remember the trailing slash in the end.
sortByDate true If true, stores the report in a folder structure of writeTo/year/month/url_1.csv, for example. If set to false, sorts by file, so writeTo/url_1/year/month/url_1.csv.


Once you've set it up, you can run the audit tool with

node script.js

The process will be logged into the console.

The reports will be written in the format you chose for the output key in the configuration, and they will be written in the folder structure you specified in the writeTo and sortByDate keys of the configuration file.