https://github.com/rekgrpth/ngx_http_htmldoc_module
Nginx HTML, FILE or URL to PDF or PS
https://github.com/rekgrpth/ngx_http_htmldoc_module
c html nginx pdf ps
Last synced: 5 months ago
JSON representation
Nginx HTML, FILE or URL to PDF or PS
- Host: GitHub
- URL: https://github.com/rekgrpth/ngx_http_htmldoc_module
- Owner: RekGRpth
- License: mit
- Created: 2019-08-06T06:46:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-24T16:40:13.000Z (6 months ago)
- Last Synced: 2025-12-26T07:38:12.459Z (6 months ago)
- Topics: c, html, nginx, pdf, ps
- Language: C
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```nginx
location =/file2pdf { file2pdf "file.html"; } # transform FILE to PDF
location =/file2ps { file2ps "file.html"; } # transform FILE to PS
location =/file2pdf { file2pdf "file1.html" "file2.html"; } # transform several FILEs to PDF
location =/file2ps { file2ps "file1.html" "file2.html"; } # transform several FILEs to PS
location =/html2pdf { html2pdf "Hello, world!"; } # transform HTML to PDF
location =/html2ps { html2ps "Hello, world!"; } # transform HTML to PS
location =/html2pdf { html2pdf "Hello, world!" "Good bye, world!"; } # transform several HTMLs to PDF
location =/html2ps { html2ps "Hello, world!" "Good bye, world!"; } # transform several HTMLs to PS
location =/url2pdf { url2pdf "https://google.com"; } # transform URL to PDF
location =/url2ps { url2ps "https://google.com"; } # transform URL to PS
location =/url2pdf { url2pdf "https://google.com" "https://google.ru"; } # transform several URLs to PDF
location =/url2ps { url2ps "https://google.com" "https://google.ru"; } # transform several URLs to PS
```