Software Alternatives, Accelerators & Startups

Ask HN: What is nowadays (opensource) way of converting HTML to PDF?

Not enough products to filter down. Redirecting to the primary Predictive Analytics.
WeasyPrint iTextPDF Typst jsPDF Ghostscript Carbone
  1. WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF.
    Pricing:
    • Open Source

    #HTML To PDF #PDF Conversion API #PDF Tools 37 social mentions

  2. iText offers flexible tools for PDF creation, editing and inspection.
    Pricing:
    • Open Source
    Is this an xy problem? If you have the original document (in Markdown), one possibility would be to use my software, KeenWrite[1], to convert Markdown to XHTML then typeset XHTML to PDF via ConTeXt. See the user manual[2] for an example of a Markdown document typeset in this fashion, along with instructions. If you only have HTML to work with, you can also use Flying Saucer[3], which is what KeenWrite uses to preview Markdown documents as HTML. Flying Saucer uses an open-source version of iText[4] to produce PDF documents. [1]: https://keenwrite.com/ [2]: https://keenwrite.com/docs/user-manual.pdf [3]: https://github.com/flyingsaucerproject/flyingsaucer [4]: https://itextpdf.com/.

    #Office & Productivity #PDF Tools #Word 8 social mentions

  3. 3
    Focus on your text and let Typst take care of layout and formatting. Join the wait list so you can be part of the beta phase.
    Pricing:
    • Open Source
    If generating PDF dynamically is what you really care about, consider Typst. https://typst.app/.

    #Document Management #Writing Tools #Writing 36 social mentions

  4. 4
    Generate professional PDFs easily with jsPDF, the open-source solution for PDF generation. Create event tickets, reports, certificates, and more in minutes with our intuitive interface.
    Pricing:
    • Open Source
    JsPDF is a work of art https://parall.ax/products/jspdf.

    #PDF #PDF Tools #PDF Converter 1 social mentions

  5. Documentation.
    Pricing:
    • Open Source
    Ghostscript. Depending on specific needs it may be much more turnkey than Pandoc, which isnโ€™t actually doing much directly with things other than intermediating, iiuc. (LaTex) does the heavy lifting. Ghost script is working with postscript natively and will likely manage idiosyncrasies of web content better. Itโ€™s got a decent ecosystem, command line, you can find guiโ€™s if thatโ€™s your thing (no judgement, your lifestyle is none of my business). Many other good tools mentioned here as well, but if your asking because you need more, or fine grained (near infinite) control over the pdf composition, thereโ€™s nothing OSS I can think of that approaches its capabilities. https://ghostscript.com/.

    #PDF Editor #PDF Tools #PDF 1 social mentions

  6. Automate the creation of your documents using your favorite editor and your JSON data. Carbone generates the document in any format!
    Pricing:
    • Open Source
    • Freemium
    • โ‚ฌ29.0 / Monthly (1000 documents)
    If you want lots of differently styled templates, template management and editing/styling capabilites in word or excel (ie. You can just ask your customer/employer/.. To make an example document), I can really recommend Carbone [0]. I've been a happy customer for a few years now. Extra advantage is also that it also offers you excel outout generation as well, which is also often a requirement in applications. They have a SaaS offering as well if you'd like. [0]: https://carbone.io/.

    #Document Automation #Documents #SaaS 1 social mentions

Discuss: Ask HN: What is nowadays (opensource) way of converting HTML to PDF?

Log in or Post with