Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-to-pdf

To install dependencies:

bun install

To run:

bun run index.js

This project was created using bun init in bun v1.3.12. Bun is a fast all-in-one JavaScript runtime.

Usage

curl -X POST http://localhost:3000 --data-binary @file.html --output out.pdf

Docker

docker build -t html-to-pdf .
docker run -p 3000:3000 html-to-pdf
curl -X POST http://localhost:3000 --data-binary @file.html --output out.pdf

About

A Bun HTTP server that converts HTML to PDF. POST HTML, receive a PDF stream.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages