Skip to content

hg-f19n/lighthouse-script-electron

This branch is 22 commits ahead of, 9 commits behind franzenzenhofer/lighthouse-script:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3f82bad · Jun 14, 2024

History

60 Commits
Jun 13, 2024
Jun 13, 2024
Apr 13, 2023
Jun 14, 2024
Apr 13, 2023
Jul 6, 2023
Apr 15, 2023
Apr 24, 2023
Sep 4, 2023
Apr 16, 2023
Apr 24, 2023
May 2, 2023
Jul 6, 2023
Jun 13, 2024
Apr 13, 2023
Jun 13, 2024
Sep 4, 2023
Jun 13, 2024
Jun 14, 2024
Apr 15, 2023
Jun 13, 2024
Sep 4, 2023
Apr 24, 2023

Repository files navigation

Franz Enzenhofers Lighthouse Script

This is a Lighthouse script that automates performance tests for multiple webpages. It uses the Lighthouse library, Chrome Launcher, and Express for serving the results. The project allows users to read and write URLs, run Lighthouse tests, and view the results in a browser.

Detailed Results

Prerequisites

  1. Node.js (version 14 or newer)
  2. Google Chrome browser installed

Installation

  1. Clone the GitHub repository:

git clone https://github.com/franzenzenhofer/lighthouse-script.git

  1. Change to the project directory:

cd lighthouse-script

  1. Install the required dependencies:

npm install

How to Run

  1. Start the script by running the following command:

node main.js

  1. The script will launch a local server at http://localhost:3000. Open this address in your browser to view the Lighthouse test results.

Overview

  1. To add or edit URLs for testing, go to http://localhost:3000/urls-editor. Edit the URLs and save your changes.

  2. To rerun the tests for the updated URLs, click the "Rerun Tests" button on the main page.

  • Delete Previous Results To delete all previous results and start with a clean slate, run: npm run cleanRun.js

Contributing

If you have any suggestions or improvements, feel free to create a fork and submit a pull request on the GitHub repository.

License

License: This project is licensed under the MIT License - see the LICENSE.md file for details.

Recommendations


Just place the images (overview.png, detailed-results.png, and recommendations.png) in the same directory as the README.md file, and the Markdown syntax will correctly display them when viewed on GitHub or any Markdown renderer.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.4%
  • HTML 11.1%
  • Shell 1.3%
  • CSS 1.2%