Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app clients(viewer): update manifest icons (#10002) Nov 21, 2019
test tests(viewer): don't override puppeteer's chromium (#9877) Oct 24, 2019
types report(viewer): add option for loading from the PSI API (#9546) Aug 21, 2019
.eslintrc.js
README.md
tsconfig.json devtools: enable sticky header, top bar, and report ui features (#9023) May 30, 2019

README.md

Lighthouse Viewer

Online at https://googlechrome.github.io/lighthouse/viewer/

Development

Run the following in the root folder of a Lighthouse checkout:

  • yarn
  • yarn build-viewer

This compiles and minifies app/src/main.js. Results are written to dist/viewer/.

Deploy

Deploys should be done as part of the Lighthouse release process. To push the viewer to the gh-pages branch under viewer/, run the following in the root folder of a Lighthouse checkout:

yarn deploy-viewer

For more information on deployment, see releasing.md.

Gist

http://localhost:8000/?gist=bd1779783a5bbcb348564a58f80f7099

PSI

Example:

http://localhost:8000/?psiurl=https://www.example.com&category=pwa&category=seo

Options:

psiurl - URL to audit category - Category to enable. One per category. strategy - mobile, desktop locale - locale to render report with utm_source - id that identifies the tool using the viewer

You can’t perform that action at this time.