Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T16:04:46.000Z (9 months ago)
- Last Synced: 2024-04-18T17:57:56.424Z (9 months ago)
- Topics: c, html, nginx, pdf, ps
- Language: C
- Homepage:
- Size: 82 KB
- Stars: 2
- Watchers: 2
- 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 PSlocation =/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 PSlocation =/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
```