Skip to content

mdrobny/spa-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPA renderer

Simple server running headless Chrome to render a page.

Uses puppeteer.

How to use

$ npm install
$ npm start

Render page

$ curl http://localhost:3000/render?pageUrl=https://my.page.com

Take screenshot of page

$ curl http://localhost:3000/screenshot?pageUrl=https://my.page.com

About

Renders page using headless Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published