Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable Lighthouse execution #833

Open
derekperkins opened this issue Mar 17, 2023 · 1 comment
Open

enable Lighthouse execution #833

derekperkins opened this issue Mar 17, 2023 · 1 comment
Labels
enhance New feature or request

Comments

@derekperkins
Copy link

derekperkins commented Mar 17, 2023

We would like to execute Lighthouse in Chrome, but there doesn't seem to be a good way to handle that via rod, and no mention in issues, code, or docs. According to the docs, they suggest either using the cli or calling lighthouse from js.

That's obviously not simple to do in Go. For our purposes, we've considered shipping our go binary embedded in a node runtime container and shelling out to that, though we would prefer to use rod for that too. Using https://github.com/rogchap/v8go, maybe rod could create a VM that runs Lighthouse programmatically.

Maybe this is out of scope for rod, so feel free to close this if so, I just figured that many people do want to use it, and it might be worth adding first class support.

Rod Version: v0.112.6

@derekperkins derekperkins added the enhance New feature or request label Mar 17, 2023
@ysmood
Copy link
Collaborator

ysmood commented Mar 18, 2023

I think it's not hard to implement similar functions like lighthouse:

https://github.com/GoogleChrome/lighthouse/blob/main/docs/architecture.md

It's just time consuming.

What are main features you need from lighthouse? I usually only use those numbers:

CleanShot 2023-03-18 at 17 19 10@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants