{"id":15079712,"url":"https://github.com/aneeshrao/page-load-time-auditor","last_synced_at":"2026-02-10T22:04:02.630Z","repository":{"id":256184436,"uuid":"854537384","full_name":"aneeshrao/Page-Load-Time-Auditor","owner":"aneeshrao","description":"This script performs performance audits on a list of specified URLs using Lighthouse. It launches a headless instance of Chrome, runs Lighthouse audits for each URL, and extracts the load time for each page.","archived":false,"fork":false,"pushed_at":"2024-09-10T05:07:34.000Z","size":19107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T16:38:54.368Z","etag":null,"topics":["automation","chrome","lighthouse","lighthouse-score","loadtest","pageloadspeed","performance-monitoring","performance-testing","testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aneeshrao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T11:01:05.000Z","updated_at":"2024-09-10T05:07:37.000Z","dependencies_parsed_at":"2024-09-10T07:39:32.210Z","dependency_job_id":null,"html_url":"https://github.com/aneeshrao/Page-Load-Time-Auditor","commit_stats":null,"previous_names":["aneeshrao/lighthouse-audit-script","aneeshrao/page-load-time-auditor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aneeshrao/Page-Load-Time-Auditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneeshrao%2FPage-Load-Time-Auditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneeshrao%2FPage-Load-Time-Auditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneeshrao%2FPage-Load-Time-Auditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneeshrao%2FPage-Load-Time-Auditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneeshrao","download_url":"https://codeload.github.com/aneeshrao/Page-Load-Time-Auditor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneeshrao%2FPage-Load-Time-Auditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272466733,"owners_count":24939458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","chrome","lighthouse","lighthouse-score","loadtest","pageloadspeed","performance-monitoring","performance-testing","testing"],"created_at":"2024-09-25T05:01:30.619Z","updated_at":"2026-02-10T22:04:02.577Z","avatar_url":"https://github.com/aneeshrao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lighthouse Audit Script\n\nA Node.js utility for running automated Lighthouse audits on multiple URLs, outputting the results into an Excel file. This tool is especially useful if you have a set of URLs and need to measure their load times for performance monitoring or benchmarking.\n\n# Script Details:\n\n**Features**\n\n - Runs Lighthouse audits using headless Chrome for the performance category.\n - Supports concurrent audits for multiple URLs.\n - Saves audit results (URL and load time) into an Excel file.\n - Flexible URL input: uses a urls.json file for easy URL management.\n\n**Ideal Use Case**\n - This tool is perfect when you have a set of URLs and need to retrieve their load times for performance analysis or optimization efforts.\n\n**Installation**\n\n - clone the repository.\n - cd Lighthouse-Audit-Script\n - Install the required dependencies: ``` npm install ```\n - Set Up the urls.json File (Add all the URLS to the list)\n - Once your urls.json file is ready, execute the script with the command: ```node lighthouseAudit.js```\n\n**Dependencies**: \n\n - ``` nvm \u003e= 18.14.0 ```\n - ```chrome-launcher```: Used to launch a headless Chrome instance.\n - ```lighthouse```: To run the performance audits.\n - ```xlsx```: To generate Excel files from the results.\n - ```fs```: To handle file reading operations for urls.json.\n\n**Check the Results**\n\n - After the script completes, the results will be saved in an Excel file in the same directory. The file name will include a timestamp to \n   distinguish between different runs.\n\n**Output**\n\n - The results of the audit, including the URLs and their corresponding load times, will be saved in an Excel file named ```lighthouse-results-YYYY-MM-DD.xlsx```, where YYYY-MM-DD is the \n   current date.\n\n - The Excel file will contain two columns:\n   1. **URL**: The audited URL.\n   2. **Load Time**: The page load time (in milliseconds) as measured by Lighthouse.\n\n**Reference**\n\nFor more detailed information on using Lighthouse programmatically, refer to the official documentation : \nhttps://github.com/GoogleChrome/lighthouse/blob/main/docs/readme.md#using-programmatically\n\n**Contributing**\n\nFeel free to submit issues or pull requests if you'd like to contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneeshrao%2Fpage-load-time-auditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneeshrao%2Fpage-load-time-auditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneeshrao%2Fpage-load-time-auditor/lists"}