Software Alternatives & Reviews
Table of contents
  1. Social Mentions
  2. Comments

WeasyPrint

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. subtitle

WeasyPrint Reviews and details

Screenshots and images

  • WeasyPrint Landing page
    Landing page //
    2023-10-09

Badges

Promote WeasyPrint. You can add any of these badges on your website.
SaaSHub badge
Show embed code

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about WeasyPrint and what they use it for.
  • Launch HN: Onedoc (YC W24) – A better way to create PDFs
    Is there a reason you didn't consider something like Weasyprint? https://weasyprint.org I've gone through a number of systems to convert CV's, business cards, and other docs and it hasn't let me down yet. - Source: Hacker News / about 2 months ago
  • CSS for Printing to Paper
    You don't _have_ to use a browser. I had very good results with Weasyprint [0]. And there's also PrinceXML [1] if you're willing to pay. [0]: https://weasyprint.org/. - Source: Hacker News / about 2 months ago
  • Show HN: A new open-source library to design PDF using React
    Thanks for your answer! I imagined you would be using PrinceXML behind the scenes since that is probably the gold standard in HTML+CSS rendering. The only open source alternative I know of is WeasyPrint at https://weasyprint.org/. I'm not sure how well it fares against PrinceXML, though. And thanks for the pointer to Taffy - I didn't know it before! - Source: Hacker News / 2 months ago
  • Htmldocs: Typeset and Generate PDFs with HTML/CSS
    Some people might be interested in https://weasyprint.org/. - Source: Hacker News / 3 months ago
  • Ask HN: What's the best way to write a book in Markdown?
    I use Weasyprint [1] to generate a PDF from HTML, and I use a static site generator to convert Markdown to HTML. Weasyprint can handle code highlighting e.g. Using Pygments or another static framework, the only downside is it can't execute JS so if you e.g. Want to dynamically generate content to render you need to first pass your HTML through a headless browser, which is also possible though. There's also... - Source: Hacker News / 6 months ago
  • Show HN: Invoice Dragon – An Open Source App to Create PDF Invoices for Free
    For Python there is Weasyprint: you prepare the invoice as an HTML document, and Weasyprint turns it into a PDF https://weasyprint.org/. - Source: Hacker News / 9 months ago
  • The Gemini protocol seen by this HTTP client person (curl dev)
    Well yes, but you can implement HTML+CSS. WeasyPrint did from scratch, and independent implementations of HTML+CSS are considerably more numerous than HTML+CSS+JS. Source: 11 months ago
  • RE: If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
    You should maybe check out weasyprint. https://weasyprint.org/. Source: about 1 year ago
  • Render PDF with Python
    If you plan to create a PDF document from scratch, there are two methods to consider: RML and WeasyPrint. RML is an XML markup language, while WeasyPrint employs HTML/CSS markup. Both are capable of being converted into PDF. Source: about 1 year ago
  • Typst, a modern alternative to LaTeX, is now open source
    If you don't have high typesetting needs, maybe WeasyPrint fits your use case. [1] https://weasyprint.org/. - Source: Hacker News / about 1 year ago
  • Laying Out a Print Book with CSS
    I would also recommend https://weasyprint.org if you are generating PDFs. Generating invoices, resumes, reports, flyers, etc. From plain Markdown is a two-line affair: https://taoofmac.com/space/notes/2023/03/19/1849#tuesday-2023-03-14. - Source: Hacker News / about 1 year ago
  • Generating a Receipt
    I've used https://weasyprint.org/ successfuly for similar things. Source: over 1 year ago
  • Ask HN: Slimvoice Alternative?
    Has anyone reached out to the author and asked if they'd be willing to toss a few things into a repo between now and April? I'm not asking for open-source maintenance, but it would be nice to self-host something Slimvoice-like on my own domain. I'm curious how it's implemented--maybe https://weasyprint.org/ for the PDFs? - Source: Hacker News / over 1 year ago
  • URL to PDF and Image
    Https://weasyprint.org website seems to be unavailable though. Source: over 1 year ago
  • Question about Django + wkhtmltopdf on AWS
    I'd recommend two options here. First is https://weasyprint.org/. Source: over 1 year ago
  • looking for an "low dependency" or pythonesque way to generate PDF's
    I have used WeasyPrint in the past, it worked very well for the use case I had, which was basically a service that transforms HTML into PDF, it follows the W3C specification that is recommend for print (you can actually generate Headers and Footers that repeats every page, something that chrome doesn't do). Source: over 1 year ago
  • Can I somehow, through the magic of technology, turn this into a PDF?
    I think a possibility would be to run the page through something like https://weasyprint.org/ which is an open source HTML to PDF converter. For this you would need to save the whole page, best including the styling information. Source: over 1 year ago
  • Fixed width tables in PDFs
    Of the HTML-based pdf-engines pandoc supports, prince would have the best typography, but I don't like recommending Prince because it's proprietary and costs money. (I try to stick to open source when I can.) wkhtmltopdf is the fastest, but uses a pretty old codebase, and doesn't even support paged/print css. Weasyprint is a little better in my experience, but still has a ways to go typographically. pagedjs-cli is... Source: over 1 year ago
  • Open-source API to generate invoices
    I have PTSD from 20 years ago trying to convert OpenOffice documents to PDF with ReportLab. It was janky because all elements had to be positioned in absolute coordinates to the virtual page. Nowadays I'll go straight to https://weasyprint.org to produce PDFs in Python. That's what I used for https://scaleway.com invoices. - Source: Hacker News / almost 2 years ago
  • everything is relative
    It’s actually not too bad, we create our PDFs in HTML and CSS with weasyprint ;). Source: almost 2 years ago
  • Ask HN: Admittedly Useless Side Projects?
    There's shiori [0] that's been linked below, and ArchiveBox [1] that seems to do exactly that. Share-links on the other hand can convert the link into a pdf file using weasyprint [2]. [0]: https://github.com/go-shiori/shiori [1]: https://archivebox.io/ [2]: https://weasyprint.org/. - Source: Hacker News / almost 2 years ago

Do you know an article comparing WeasyPrint to other products?
Suggest a link to a post with product alternatives.

Suggest an article

Generic WeasyPrint discussion

Log in or Post with

This is an informative page about WeasyPrint. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.