Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

[long term] Use Chrome headless API directly, get rid of Puppetteer #10

Open
VojtechVitek opened this issue Dec 18, 2017 · 3 comments
Open
Assignees

Comments

@VojtechVitek
Copy link
Contributor

This would allow us to get rid of the Node.js server wrapper. And we could write the whole service in Go only, effectively reimplement the Puppetteer.

Pros:

  • HTTP throttling would be super easy
  • Managing Headless processes would be much easier too, ie we could spin up a pool of Headless "workers" in the server, and throttle incoming requests to each available worker.
  • Zero overhead
  • HTTP/2 for free, potentially generate a GRPC client for many languages

Chrome DevTools Protocol

I'll look into feasibility of this option.

@VojtechVitek VojtechVitek self-assigned this Dec 18, 2017
@VojtechVitek
Copy link
Contributor Author

@MarcelRusu crazy idea :)

But especially with GRPC, we could write a "Puppetteer" server with a client that works in any type of language :)

@marcellerusu
Copy link
Contributor

Yea sounds like a lot of work :) but keep me up to date on this, sounds interesting

@VojtechVitek
Copy link
Contributor Author

docker run -it -p 9222:9222 --rm --name chrome-headless knqz/chrome-headless -window-size=1920,1080

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants