Lighthouse

Google Lighthouse is an open-source project that can generate highly insightful metrics about a single page of your website. These metrics contain scores about the SEO-friendliness of your site, its accessibility, and much more.

Learn about the project here.

See the Lighthouse report for this site!

read full documentation

installation

Contrary to other dependencies, Lighthouse is not included in the barely PyPI-package, since there currently is no native Python implementation for it.

Instead, you will have to install the following:

usage

To generate a report simply do:

1
2
3
$ barely lighthouse
[barely][  core][ INFO] :: Starting evaluation using lighthouse 8.3.0...
[barely][  core][ INFO] :: Finished the evaluation! Opening the result now.

from your devroot.

Also see the additional available options:

1
2
3
4
5
6
7
8
9
$ barely lighthouse --help
Usage: barely lighthouse [OPTIONS]

  use Google Lighthouse to evaluate a page for SEO- and accessibility scores

Options:
  -d, --desktop    evaluate full-width page. default is mobile.
  -p, --page TEXT  specify a page to be evaluated other than the root
  --help           Show this message and exit.