HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
GoogleChrome
lighthouse
JavaScript2016–2025
GoogleChrome / lighthouse

lighthouse

Automated auditing, performance metrics, and best practices for the web.

23Distinct people
29Mentions
0Explicit recommenders
31.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Automated auditing, performance metrics, and best practices for the web.

GitHub

Where it is used

The source check is incomplete. Verified examples will appear here.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year29 dated mentions

Observed mentions: 2016-05-24 08:56:05 UTC to 2025-02-13 14:10:23 UTC.

0123452016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 5 mentions; 3 submissions, 2 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 4 mentions; 2 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC532
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC110
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC422
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC505
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC514
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC321
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Lighthouse Lighthouse analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices. Using Lighthouse Using Lighthouse in Chrome DevTools Using the Chrome extension Using the Node CLI CLI options Using the Node module Viewing a report Online Viewer Docs & Recipes Developing Lighthouse Setup Run Tests Docs Associated Products and Projects Lighthouse Integrations in Web Perf services Lighthouse Integrations in non-Web Perf services Plugins Related projects FAQ How does Lighthouse work? Can I configure the lighthouse run? How does Lighthouse use network throttling, and how can I make it better? Are results sent to a remote server? How do I get localized Lighthouse results? How do I author custom audits to extend Lighthouse? How do I contribute? Using Lighthouse in Chrome DevTools Lighthouse is integrated directly into the Chrome DevTools, under the "Lighthouse" panel. Installation: install Chrome. Run it: open Chrome DevTools, select the Lighthouse panel, and hit "Generate report". Using the Chrome extension The Chrome extension was available prior to Lighthouse being available in Chrome Developer Tools, and offers similar functionality. Installation: install the extension from the Chrome Web Store. Run it: follow the extension quick-start guide. Using the Node CLI The Node CLI provides the most flexibility in how Lighthouse runs can be configured and reported. Users who want more advanced usage, or want to run Lighthouse in an automated fashion should use the Node CLI. NoteLighthouse requires Node 22 (LTS) or later. Installation: npm install -g lighthouse # or use yarn: # yarn global add lighthouse Run it: lighthouse https://airhorner.com/ By default, Lighthouse writes the report to an HTML file. You can control the output format by passing flags. CLI options $ lighthouse --help lighthouse <url> <options> Logging: --verbose Displays verbose logging [boolean] [default: false] --quiet Displays no progress, debug logs, or errors [boolean] [default: false] Configuration: --save-assets Save the trace contents & devtools logs to disk [boolean] [default: false] --list-all-audits Prints a list of all available audits and exits [boolean] [default: false] --list-trace-categories Prints a list of all required trace categories and exits [boolean] [default: false] --additional-trace-categories Additional categories to capture with the trace (comma-delimited). [string] --config-path The path to the config JSON. An example config file: core/config/lr-desktop-config.js [string] --preset Use a built-in configuration. WARNING: If the --config-path flag is provided, this preset will be ignored. [string] [choices: "perf", "experimental", "desktop"] --chrome-flags Custom flags to pass to Chrome (space-delimited). For a full list of flags, see https://bit.ly/chrome-flags Additionally, use the CHROME_PATH environment variable to use a specific Chrome binary. Requires Chromium version 66.0 or later. If omitted, any detected Chrome Canary or Chrome stable will be used. [string] [default: ""] --port The port to use for the debugging protocol. Use 0 for a random port [number] [default: 0] --hostname The hostname to use for the debugging protocol. [string] [default: "localhost"] --form-factor Determines how performance metrics are scored and if mobile-only audits are skipped. For desktop, use --preset=desktop instead. [string] [choices: "mobile", "desktop"] --screenEmulation Sets screen emulation parameters. See also --preset. Use --screenEmulation.disabled to disable. Otherwise set these 4 parameters individually: --screenEmulation.mobile --screenEmulation.width=360 --screenEmulation.height=640 --screenEmulation.deviceScaleFactor=2 --emulatedUserAgent Sets useragent emulation [string] --max-wait-for-load The timeout (in milliseconds) to wait before the page is considered done loading and the run should continue. WARNING: Very high values can lead to large traces and instability [number] --enable-error-reporting Enables error reporting, overriding any saved preference. --no-enable-error-reporting will do the opposite. More: https://github.com/GoogleChrome/lighthouse/blob/main/docs/error-reporting.md [boolean] --gather-mode, -G Collect artifacts from a connected browser and save to disk. (Artifacts folder path may optionally be provided). If audit-mode is not also enabled, the run will quit early. --audit-mode, -A Process saved artifacts from disk. (Artifacts folder path may be provided, otherwise defaults to ./latest-run/) --only-audits Only run the specified audits [array] --only-categories Only run the specified categories. Available categories: accessibility, best-practices, performance, seo [array] --skip-audits Run everything except these audits [array] --disable-full-page-screenshot Disables collection of the full page screenshot, which can be quite large [boolean] --ignore-status-code Disables failing on all error status codes, and instead issues a warning. [boolean] --url-file The path to a file containing newline-delimited URLs to audit. [string] --fail-fast Stop auditing remaining URLs immediately if a run fails. [boolean] Output: --output Reporter for the results, supports multiple values. choices: "json", "html", "csv" [array] [default: ["html"]] --output-path The file or directory path to output the results. Use 'stdout' to write to stdout. Directories in the path must already exist. If a directory is spec
Read the full README on GitHub

What Hacker News says

29 sources
Another optimization in the same vein: make sure the first KB contains the <meta charset> element, to avoid false-starts in the HTML parser. In fact, it's actually specified as an _error_ in the spec to have it come after 1KB! It's mentioned in passing on the Lighthouse docs for the charset audit[1], but here's a great breakdown by hsivonen[2]. Of course, in the headers is even better. Point is, try not to have too much cruft before the charset. [1] https://web.dev/charset/ [2] https://github.com/GoogleChrome/lighthouse/issues/10023#issu...
In A 14kb page can load much faster than a 15kb page

Showing the 15 most recent of 29 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.