Skip to content

Explore Ferrum as alternative to Grover #16

@reefdog

Description

@reefdog

Ferrum is a pure Ruby API to Chrome that doesn't require Puppeteer. Thus, it could potentially collapse our Grover (Ruby) → Puppeteer (Node) → Chrome stack to just Ferrum (Ruby) → Chrome.

(It's not documented yet, but Ferrum recently added the necessary call (set_content) for passing in HTML rather than a URL to scrape.)

This would hopefully be a fast drop-in replacement that would decrease system complexity and improve performance. A significant question is whether Ferrum will run properly on Heroku; doing Grover+Puppeteer required a few Heroku-specific tweaks (like the puppeteer buildpack and the GROVER_NO_SANDBOX var). The community says yes and includes a link to an example, though we have to verify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions