{"repo":"hausgold/pdfgen","free":true,"listed":false,"github":"https://github.com/hausgold/pdfgen","clone":"git clone https://github.com/hausgold/pdfgen.git","description":"Generate a PDF from a given URL","language":"JavaScript","stars":10,"topics":["puppeteer","chromium","pdf","pdf-generation","browser","utility","oss","npm-package"],"license":"MIT","category":"media-processing","readme_excerpt":"This tool is dedicated to the generation of a PDF file from a given URL in a highly customizable manner. It makes use of the Google Puppeteer API to utilize Chromium to fulfill the task. It also ships some website examples which provide tips on how to design the pages to be printable. - Why another PDF generation tool? - Requirements - Getting started - Commandline options - Units options - Format options - Template injection classes - Example Website - Development - Contributing - License - Code of Conduct - Releasing Why another PDF generation tool? If you are into typesetting/LaTeX or tools like wkhtmltopdf you know they can be hard to manage by web devs or are not intended to be simple at usage. This is especially worse when it comes to dynamic content like user customizable info papers. pdfgen allows you to easily make use of the latest web technologies which are supported by Chromium. (including CSS3 flexbox, custom webfonts, etc) Requirements Node.js ( =25) GNU Make (development) ( =4.2.1) Getting started The first and only preparation step is the installation of the pdfgen utility. Open up your favorite terminal emulator and paste the following command: NPM will take care of the installation of the dependencies, including the Puppeteer API plus the Chromium build for your machine. All you need to do now is to use it like this: Commandline options As the getting started section demonstrated, the usage of the pdfgen utility is straightforward. It just requires two argum","default_branch":null,"files":null,"tree":[],"storefront":"/r/hausgold","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hausgold/pdfgen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}