NightmareJS on Heroku.

Nightmare is a high-level browser automation library from Segment.

Nightmare is an alternative to using something like PhantomJS or Selenium, but much much better. Its goal (and it accomplishes it) is to have a very high level scraping and automation library, that can easily mimic user actions. Under the covers it uses Electron (as a headless browser), which is similar to PhantomJS but two times faster and more modern.

Example use-cases:

  1. Web scraping:
    • scrape sports scores
    • scrape user data
    • create api's for sites that dont have existing apis
  2. Automation and testing
    • run user tests with predefined actions
    • etc. etc.

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. Heroku is super easy platform, that makes deploying and managing applications painless. There free options are super generour, and ideal for small projects. The heroku + heroku scheduler + nightmare js combined make for a super power setup.

Beautiful together.

NightmareJS on Heroku is a setup for nightmarejs on heroku checkout it out here:

https://github.com/oscarmorrison/nightmare-heroku

and ⭐️