Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wm3ndez/simple-html-to-pdf-server
https://github.com/wm3ndez/simple-html-to-pdf-server
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wm3ndez/simple-html-to-pdf-server
- Owner: wm3ndez
- License: mit
- Created: 2023-09-30T16:40:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-11T12:15:55.000Z (5 months ago)
- Last Synced: 2024-08-11T13:31:43.921Z (5 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Simple HTML to PDF server
=========================How to use
----------Build and run the docker image
```bash
$ docker build -t html_to_pdf_server .
$ docker run -p 5000:5000 html_to_pdf_server
```Send the HTML as text:
```bash
$ curl -o mypdf.pdf -X POST -d "Hello
" http://localhost:5000/pdf
```