Documentation / Lighthouse

Lighthouse

We’ve been missing an plugin for Lighthouse for a long time. But now it’s time (thank you Lorenzo Urbini for sharing your version a long time ago).

You can find the plugin at https://github.com/sitespeedio/plugin-lighthouse and it will work with sitespeed.io 7.5 and later.

We also made it easy to use Lighthouse and the Google PageSpeed Insights plugin by releasing the +1 Docker container #2175!

You can run it with:

docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:7.7.2-plus1 https://www.sitespeed.io/

And you will also automatically run Lighthouse and GPSI. We will automatically release a new version of the container per release by adding -plus1 to the tag. If you use Graphite/InfluxDb the score from Lighthouse and GPSI will be automatically stored. If you want to add functionality please send PRs to https://github.com/sitespeedio/plugin-lighthouse and https://github.com/sitespeedio/plugin-gpsi.

The Lighthouse tests will run after Browsertime finished and run Chrome headless.

Note: If you want to run more plugins with --plugins.add that will override the default settings so you will need to add the Lighthouse plugin again like this:

docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:7.7.2-plus1 https://www.sitespeed.io/ --plugins.add analysisstorer --plugins.add /lighthouse