explaingit

googlechrome/lighthouse

📈 Trending30,203JavaScriptAudience · developerComplexity · 2/5ActiveLicenseSetup · easy

TLDR

Automated tool that grades web pages on performance, accessibility, best practices, and SEO, then gives you a scored report with specific fixes.

Mindmap

mindmap
  root((Lighthouse))
    What it does
      Grades web pages
      Measures performance
      Checks accessibility
      Audits SEO
    How to use it
      Chrome DevTools tab
      Browser extension
      Command-line tool
      JavaScript module
    What you get
      Scores 0-100
      HTML reports
      JSON output
      Fix recommendations
    Use cases
      Catch regressions
      Build automation
      Quality audits
      Site health checks

Things people build with this

USE CASE 1

Run automated performance checks in your build pipeline to catch regressions before deploying.

USE CASE 2

Audit a live website for accessibility issues and get a prioritized list of fixes.

USE CASE 3

Generate scored reports on SEO and best practices to improve search rankings.

USE CASE 4

Integrate Lighthouse into your CI/CD workflow to enforce quality gates on every commit.

Tech stack

JavaScriptNode.jsChrome DevTools

Getting it running

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Lighthouse is an automated tool that analyzes web pages and produces a scored report covering performance, accessibility, best practices, and SEO (search engine optimization). Think of it as a health check for a website: you point it at a URL, it loads the page in a controlled environment, measures how fast it loads and how well it is built, and then gives you a score from 0 to 100 in each category along with specific recommendations for improvement. It works by launching a browser in the background, loading the page, collecting data (how long key content takes to appear, whether images have descriptive labels for screen readers, whether the page is secure, and so on), and then running those measurements through a set of audits, checks against defined best practices. The results are saved as an HTML report you can open in a browser, or as JSON for automated pipelines. You can run Lighthouse in several ways: directly from the Lighthouse tab in Chrome's built-in developer tools, as a browser extension, or as a command-line tool for automated or repeated testing. The command-line version is useful for running audits as part of a build process so that performance regressions are caught before a site goes live. It can also be imported as a module into your own JavaScript code. You would use it whenever you want objective measurements of a web page's quality and a prioritized list of specific things to fix. The tech stack is JavaScript, running on Node.

Copy-paste prompts

Prompt 1
How do I set up Lighthouse to run automatically on every pull request in my GitHub Actions workflow?
Prompt 2
Show me how to use Lighthouse as a Node.js module to audit multiple URLs and save results as JSON.
Prompt 3
What does a Lighthouse performance score measure, and how do I interpret the recommendations?
Prompt 4
How do I run Lighthouse from the command line to audit a local development server?
Prompt 5
Can I use Lighthouse to check accessibility compliance on my website, and what does it look for?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.