Skip to content

captainjex/headless-chrome-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEADLESS CHROME HEADLESS

puppeteer as an independent nodejs app. forked from mailtarget

Usage

docker run -p 3000:3000 wkwksama/headless-chrome-api

example create pdf

POST http://localhost:3000/pdf

{
    "html": "<h1>my awesome dpf</h1>",
    "paperSize": "A5" // default A4
}

It will response the pdf file generated from html

About

headless chrome accessible by rest api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.3%
  • Dockerfile 41.6%
  • Shell 2.1%