Skip to main content

Monitoring performance data by lighthouse.

Project description

Lighthouse Garden

Lighthouse

Aggregate a performance overview for various target pages using the lighthouse service.

Example dashboard

Features

  • Track multiple target pages
  • Lighthouse audits for performance, accessibility, best practices and SEO
  • Average performance data
  • History performance graph with stored lighthouse reports
  • Informational badges: badge

Installation

Prerequisite

The script needs python 3.5 or higher. It is necessary for some additional functionalities to have pip installed on your local machine.

pip

The library can be installed from PyPI:

$ pip3 install lighthouse-garden-kmi

Configuration

The configuration file contains important information about the script processing and target pages.

{
    "export_path": "path/to/export/",
    "keep_history": 10,
    "targets": [
        {
            "title": "Google",
            "identifier": "google",
            "url": "https://www.google.com"
        }
    ]
}

Usage

Run the python script via command line.

$ python3 lighthouse_garden
usage: lighthouse_garden [-h] [-v] [-c CONFIG]

Monitoring performance data by lighthouse.

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Enable extended console output
  -c CONFIG, --config CONFIG
                        Path to config file

Cronjob

Register optionally a cronjob for regularly updates

0 5 * * * python3 lighthouse_garden -c /var/www/html/config.json

Test

Run the script within the DDEV container:

$ ddev start
$ ddev ssh
/var/www/html$ python3 lighthouse_garden -c tests/config.json

Open http://lighthouse-garden.ddev.site/

Build

The packaging process of the python module is described on python.org.

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lighthouse_garden-kmi-1.2.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

lighthouse_garden_kmi-1.2.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file lighthouse_garden-kmi-1.2.0.tar.gz.

File metadata

  • Download URL: lighthouse_garden-kmi-1.2.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for lighthouse_garden-kmi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ff7f1b4c6cb037af976cf4be2ac02f7d25a31749d6f3c56632e36f7ba2b6643c
MD5 14d5b2604bf46f5476a8d6c2ab557d33
BLAKE2b-256 62df06692e1231ecc5c5bfbaf93c72577f634d15bcfa3c1acf9debfe8fceca3a

See more details on using hashes here.

File details

Details for the file lighthouse_garden_kmi-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: lighthouse_garden_kmi-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for lighthouse_garden_kmi-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08bd1bb17006c490fd8d5647a8fa86ebe2297a6046711065bda622a02b96a2e6
MD5 e10f503f2bfb514fc34b13fe11c51256
BLAKE2b-256 2a9247c692d5b369077132b93c1e2d1cd14e7dc3cf892e9b718b3d05014dab19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page