generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 10
Improve the quality of website with Unlighthouse
Nataliia Makarenko edited this page Nov 26, 2024
·
3 revisions
Unlighthouse scans your entire site using Google Lighthouse, with a modern UI, minimal config and smart sampling. It helps to improve the quality of web pages.
Node 18.x or higher
Run the command below in your terminal. It will scan your site and generate a report.
npx unlighthouse --site <site> --disable-dynamic-sampling --output-path <path>
to see more options type:
npx unlighthouse --help
Note: By default Unlighthouse saves your reports in <./unlighthouse> folder or if you set this option.
e.g.
To improve reports` analyse put data into one .csv-file.
- Download file "reports_to_csv.rb"
- Add file “reports_to_csv.rb” into root folder.
- In terminal move to root folder.
- Type
ruby reports_to_csv.rb
and press Enter. - New file "unlighthouse_data_extanded_#.csv" will be created.
- Import .csv into Google Excel and perform analyse.
e.g.