{"id":13580872,"url":"https://github.com/femtopixel/docker-google-lighthouse-puppeteer","last_synced_at":"2025-04-10T01:42:25.458Z","repository":{"id":97055943,"uuid":"110265858","full_name":"femtopixel/docker-google-lighthouse-puppeteer","owner":"femtopixel","description":"Google Lighthouse + Puppeteer / Docker Image","archived":false,"fork":false,"pushed_at":"2025-04-09T16:00:29.000Z","size":219,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T17:21:24.603Z","etag":null,"topics":["chrome","cli","docker","docker-image","google-lighthouse-puppeteer","lighthouse","metrics","multiarch","npm-module","npm-package","performance-analysis","performance-metrics","performance-testing","puppeteer"],"latest_commit_sha":null,"homepage":"https://brands.jaymoulin.me/femtopixel/docker-google-lighthouse-puppeteer","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/femtopixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"jaymoulin","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.me/jaymoulin","https://www.buymeacoffee.com/jaymoulin","https://www.tipeeestream.com/cursedware/donation","https://streamlabs.com/cursedware/tip"]}},"created_at":"2017-11-10T16:04:15.000Z","updated_at":"2025-04-09T16:00:32.000Z","dependencies_parsed_at":"2023-09-26T13:55:47.195Z","dependency_job_id":"fb8c105c-094f-4891-a859-9abdee221d6c","html_url":"https://github.com/femtopixel/docker-google-lighthouse-puppeteer","commit_stats":{"total_commits":345,"total_committers":3,"mean_commits":115.0,"dds":0.02898550724637683,"last_synced_commit":"5dc22fdd3a9d314c91bf3787eb9fc6c3c99c502e"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse-puppeteer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse-puppeteer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse-puppeteer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse-puppeteer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/femtopixel","download_url":"https://codeload.github.com/femtopixel/docker-google-lighthouse-puppeteer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142240,"owners_count":21054609,"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","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":["chrome","cli","docker","docker-image","google-lighthouse-puppeteer","lighthouse","metrics","multiarch","npm-module","npm-package","performance-analysis","performance-metrics","performance-testing","puppeteer"],"created_at":"2024-08-01T15:01:55.844Z","updated_at":"2025-04-10T01:42:25.440Z","avatar_url":"https://github.com/femtopixel.png","language":"Dockerfile","funding_links":["https://ko-fi.com/jaymoulin","https://www.paypal.me/jaymoulin","https://www.buymeacoffee.com/jaymoulin","https://www.tipeeestream.com/cursedware/donation","https://streamlabs.com/cursedware/tip","https://www.ko-fi.com/jaymoulin"],"categories":["Dockerfile"],"sub_categories":[],"readme":"\u003e [!CAUTION]\n\u003e As-of 2021, this product does not have a free support team anymore. If you want this product to be maintained, please support my work.\n \n\u003e [!NOTE]\n\u003e (This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many  desirable features yet to be added.)\n \n\u003e [!TIP]\n\u003e THIS REPOSITORY IS AUTO-UPDATED BY [GITHUB-RELEASE-NOTIFIER](https://github.com/femtopixel/github-release-notifier) (https://github.com/femtopixel/github-release-notifier)\n\n![logo](logo.png)\n\nGoogle Lighthouse Puppeteer - Docker Image\n==========================================\n\n[![latest release](https://img.shields.io/github/release/femtopixel/docker-google-lighthouse-puppeteer.svg \"latest release\")](http://github.com/femtopixel/docker-google-lighthouse-puppeteer/releases)\n[![Docker Pulls](https://img.shields.io/docker/pulls/femtopixel/google-lighthouse-puppeteer.svg)](https://hub.docker.com/r/femtopixel/google-lighthouse-puppeteer/)\n[![Docker Stars](https://img.shields.io/docker/stars/femtopixel/google-lighthouse-puppeteer.svg)](https://hub.docker.com/r/femtopixel/google-lighthouse-puppeteer/)\n[![PayPal donation](https://github.com/jaymoulin/jaymoulin.github.io/raw/master/ppl.png \"PayPal donation\")](https://www.paypal.me/jaymoulin)\n[![Buy me a coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png \"Buy me a coffee\")](https://www.buymeacoffee.com/jaymoulin)\n[![Buy me a coffee](https://ko-fi.com/img/githubbutton_sm.svg \"Buy me a coffee\")](https://www.ko-fi.com/jaymoulin)\n\n* [Google Chrome Headless](https://developers.google.com/web/updates/2017/04/headless-chrome) is the Google Chrome browser that can be started without graphical interface to accomplish several tasks (PDF printing, performance, automation...)\n* [Google Lighthouse](https://developers.google.com/web/tools/lighthouse/) analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices.\n* [Google Puppeteer](https://github.com/GoogleChrome/puppeteer) is a tool to automate tasks on a Chrome (headless) browser.\n\nDescription\n-----------\n\nThe purpose of this image is to produce performance report for several pages in connected mode and in an automated way to be integrated in a CI environment.\n\nIt uses [lighthouse-batch](https://github.com/mikestead/lighthouse-batch) to be able to automate export of multiple \n\nDocker Usage\n------------\n\n```\ndocker run --rm --name perf -it -v /path/to/your/report/folder:/home/chrome/reports -v /path/to/your/testcases/folder:/home/chrome/testcases --cap-add SYS_ADMIN femtopixel/google-lighthouse-puppeteer \u003cname_of_the_test\u003e  \n```\n\nwith `\u003cname_of_the_test\u003e` the name of the test in the `testcases` folder without `.js`\n\nNote: you should check https://github.com/femtopixel/google-lighthouse-puppeteer/blob/master/README.md to see how to redact your testcases.\n\n### Example\n\n```\ndocker run --rm --name perf -it -v /path/to/your/report/folder:/home/chrome/reports -v /path/to/your/testcases/folder:/home/chrome/testcases --cap-add SYS_ADMIN femtopixel/google-lighthouse-puppeteer my_test  \n```\n\nDocker Usage : Improved\n----------------\n\nUsing the ever-awesome [Jessie Frazelle](https://twitter.com/jessfraz) SECCOMP profile for Chrome, we don't have to use the hammer that is SYS_ADMIN:\n\n```\nwget https://raw.githubusercontent.com/jfrazelle/dotfiles/master/etc/docker/seccomp/chrome.json -O ~/chrome.json\ndocker run --rm --name perf -it -v /path/to/your/report/folder:/home/chrome/reports -v /path/to/your/testcases/folder:/home/chrome/testcases --security-opt seccomp=$HOME/chrome.json femtopixel/google-lighthouse-puppeteer \u003cname_of_the_test\u003e \n```\n\nFAQ\n---\n\n* Using `lighthouse` in authenticated mode : https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md#testing-on-a-site-with-authentication\n* Error while writing files\n```\n  Runtime error encountered: { Error: EACCES: permission denied, open '/home/chrome/reports/myawesome_site_admin_heavypage.report.json'\n  errno: -13,\n  code: 'EACCES',\n  syscall: 'open',\n  path: '/home/chrome/reports/myawesome_site_admin_heavypage.report.json' }\n```\nMake sure your folder has the write right for others (`chmod o+w`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemtopixel%2Fdocker-google-lighthouse-puppeteer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffemtopixel%2Fdocker-google-lighthouse-puppeteer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemtopixel%2Fdocker-google-lighthouse-puppeteer/lists"}