GoogleChromeLabs/lighthousebot

Public-facing URL: needed?

helloguille opened this issue · 6 comments

Does this work with a localhost:XX-type URL?

The example shows https://staging.example.com, which looks to me like a public URL.

It might be a good idea to clarify this in the doc. I can contribute with the doc change if that's the case.

It is necessary except when you running your own API which has access to the "local" website (e.g. two servers that "know each other").

@ebidel I interpreted it as: "Can I test local pages that are not exposed to the WWW with lighthousebot."

Yes, this is what I meant!

I was under the impression that it depended on an external service, and I wanted to integrate this in my CI build, so I needed to use a private URL.

Maybe it would be nice to clarify this in the README.

For that case, I'd just run the lighthouse CLI or NPM module against your local app.

You could use ngrok to expose a local server...

related question: in case my website is public available but behind a http-basic auth would it be possible to pass a auth/pw combination to the bot?