Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a meme generator using React, Headless Chrome and Nodejs

Karan Thakkar
September 10, 2017

Building a meme generator using React, Headless Chrome and Nodejs

Chrome recently launched cross platform support for Headless mode from Chrome 59 onwards. There has already been a lot of buzz regarding the variety of use cases that can be achieved with it like automated testing, screenshot/pdf generation, access to all of devtools features using the devtools protocol including audits, performance, coverage, etc. Having previously built an image generation service using phantomjs, I wanted to see how complex it was to do something similar using headless chrome. The talk involves building a minimal meme generator using: React(for meme preview), Node & Hapi(for API server) and Headless Chrome (for image generation)

Karan Thakkar

September 10, 2017
Tweet

More Decks by Karan Thakkar

Other Decks in Technology

Transcript

  1. - Type some text - Choose different background images -

    Preview the output - Send data to server Client / Webapp
  2. Headless Chrome - Launch Chrome and communicate with it -

    Load simple page which takes image and text - Take page screenshot and save it