{"id":18517820,"url":"https://github.com/femtopixel/docker-google-lighthouse","last_synced_at":"2025-04-07T10:26:54.068Z","repository":{"id":56008388,"uuid":"109293713","full_name":"femtopixel/docker-google-lighthouse","owner":"femtopixel","description":"Google Lighthouse - Docker Image","archived":false,"fork":false,"pushed_at":"2025-03-28T18:05:30.000Z","size":119,"stargazers_count":69,"open_issues_count":1,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T08:12:21.478Z","etag":null,"topics":["docker","docker-image","google","google-lighthouse","lighthouse","multiarch","pagespeed","performance-testing"],"latest_commit_sha":null,"homepage":"https://brands.jaymoulin.me/femtopixel/docker-google-lighthouse","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-02T16:52:47.000Z","updated_at":"2025-03-28T18:05:33.000Z","dependencies_parsed_at":"2023-01-30T20:46:06.380Z","dependency_job_id":"0dd904f3-80f8-468d-bae0-aa02be5e92f9","html_url":"https://github.com/femtopixel/docker-google-lighthouse","commit_stats":{"total_commits":134,"total_committers":5,"mean_commits":26.8,"dds":"0.11194029850746268","last_synced_commit":"e7c9a74119d365193b2a021faf0e2e25f332cd73"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femtopixel%2Fdocker-google-lighthouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/femtopixel","download_url":"https://codeload.github.com/femtopixel/docker-google-lighthouse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247634377,"owners_count":20970519,"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":["docker","docker-image","google","google-lighthouse","lighthouse","multiarch","pagespeed","performance-testing"],"created_at":"2024-11-06T17:09:28.882Z","updated_at":"2025-04-07T10:26:54.020Z","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":[],"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 - Docker Image\n================================\n\n[![latest release](https://img.shields.io/github/release/femtopixel/docker-google-lighthouse.svg \"latest release\")](http://github.com/femtopixel/docker-google-lighthouse/releases)\n[![Docker Pulls](https://img.shields.io/docker/pulls/femtopixel/google-lighthouse.svg)](https://hub.docker.com/r/femtopixel/google-lighthouse/)\n[![Docker Stars](https://img.shields.io/docker/stars/femtopixel/google-lighthouse.svg)](https://hub.docker.com/r/femtopixel/google-lighthouse/)\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[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\nThis image is greatly inspired from [Justin RIBEIRO's work](https://github.com/justinribeiro/dockerfiles/tree/master/lighthouse)\n\nUsage\n-----\n\n```\ndocker run --rm --name lighthouse -it -v /path/to/your/report:/home/chrome/reports femtopixel/google-lighthouse \u003cyour_site_url\u003e \u003coptional_args\u003e\n```\n\nWith `\u003cyou_site_url\u003e` url to your site (e.g. http://www.google.com). You can pass args **AFTER** the `url` if you want to.\n\nFor example, you can export as json with this command:\n\n```\ndocker run --rm --name lighthouse -it -v /path/to/your/report:/home/chrome/reports femtopixel/google-lighthouse http://www.google.com --output json\n```\n\nYou can specify `CHROME_FLAGS` environment variable (`-e` parameter in your docker command) to be used in chrome-flags parameter. (default: `--headless --disable-gpu --no-sandbox`)\n\nFurther reading on [Google Lighthouse](https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md#using-programmatically)\n\nFAQ\n---\n\n* Error while writing files\n```\nRuntime error encountered: { Error: EACCES: permission denied, open '/home/chrome/reports/myawesome_site_admin_heavypage.report.json'\nerrno: -13,\ncode: 'EACCES',\nsyscall: 'open',\npath: '/home/chrome/reports/myawesome_site_admin_heavypage.report.json' }\n```\nMake sure your folder has the write right for others (chmod o+w)\n\nIf the issue still occurs, you may want to add `--disable-shm-dev-usage` Chrome flag (cf. https://stackoverflow.com/questions/69173469/meaning-of-selenium-chromeoptions/69175552#69175552 and https://issues.chromium.org/issues/40517415; thx @kevinbreit - https://github.com/femtopixel/docker-google-lighthouse/issues/25)\n\nYou can add this flag with the `-e` flag in your docker command `docker run --rm --name lighthouse -it -e CHROME_FLAGS=\"--headless --disable-gpu --no-sandbox --ignore-certificate-errors --disable-dev-shm-usage --allow-insecure-localhost --silent\" -v /path/to/your/report:/home/chrome/reports femtopixel/google-lighthouse http://www.google.com --output json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemtopixel%2Fdocker-google-lighthouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffemtopixel%2Fdocker-google-lighthouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemtopixel%2Fdocker-google-lighthouse/lists"}