paint-brush
Generate Fancy Link Previews With Rails 7by@matiascarpintini
2,950 reads
2,950 reads

Generate Fancy Link Previews With Rails 7

by Matias Carpintini5mMay 10th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A ruby gem to transform HTML into PDFs, PNGs, or JPEGs using Google Puppeteer and Chromium is easy to use. We're going to build an HTML view and take a screenshot of it. We can create a blank HTML view, or just add additional functionality to your current app. We use the Ruby gem Grover and let Grover do the magic with a simple HTML/CSS/JSJS controller. Grover accepts a URL or inline HTML and. inline HTML. and optional parameters.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Generate Fancy Link Previews With Rails 7
Matias Carpintini HackerNoon profile picture
Matias Carpintini

Matias Carpintini

@matiascarpintini

Doer

Learn More
LEARN MORE ABOUT @MATIASCARPINTINI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Matias Carpintini HackerNoon profile picture
Matias Carpintini@matiascarpintini
Doer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite