Htmldocs: Typeset and Generate PDFs with HTML/CSS

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. typst

    A new markup-based typesetting system that is powerful and easy to learn.

    How does this compare to Typst?[1]

    What I like about Typst is that I can use it completely offline and with my editor of choice. Is this planned for htmldocs too?

    [1] https://typst.app/

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. WeasyPrint

    The awesome document factory

    Flexbox support has been [included][1] since 2018, although my use case was the prototypical one - a single row w/ 3 columns - so YMMV with how it handles more complex layouts.

    [1]: https://github.com/Kozea/WeasyPrint/pull/579

  4. bakso-doc

    PDF Generation Micro-Service

    Cool service! I like that it’s just HTML/CSS but the front end editor looks quite cool.

    I also just open sourced part of my app that does PDF generation, but it’s completely bare bones.

    I basically wanted a wrapper around the pdf generating part of chromium so that i could generate pdfs on pages within my own app.

    Its here if anyone wants to check it out: https://github.com/awongh/bakso-doc

  5. wkhtmltopdf-windows

    wkhtmltopdf - Convert html to pdf using webkit (qtwebkit). Windows binaries

    wkhtmltopdf[1] uses the QT WebKit renderer. I used it as part of my job hut work-flow with pandoc to get pdf resumes from markdown. It got me a job, so there's that.

    [1] https://wkhtmltopdf.org/

  6. flyingsaucer

    XML/XHTML and CSS 2.1 renderer in pure Java

    I've used flying saucer pdf[1] for this in the past, but the missing piece always seems to be a descent WYSIWYG template editor. Either open source or paid.

    Any suggestions on a web solution that allows non-devs to make great templates would be appreciated.

    Historically I've built something simple with Tiny and added a preview button to render, but that super clunky.

    [1] https://github.com/flyingsaucerproject/flyingsaucer

  7. react-pdf

    📄 Create PDF files using React

    Been using https://github.com/diegomura/react-pdf for this purpose for years

    Uses React Native like components and styling.

    WYSIWYG: https://react-pdf.org/repl

  8. gotenberg

    A developer-friendly API for converting numerous document formats into PDF files, and more!

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. weasyprint-rest

    Discontinued The best WeasyPrint container that exists on the web. :fire: :fire:

    Nice Idea, looking forward to using its API in my application.

    I've used https://github.com/xpublisher/weasyprint-rest for a many years but now planning to switch from it as it's archived by the maintainer.

    All the best for the future of htmldocs.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Create PDFs with Tailwind

    3 projects | dev.to | 21 Mar 2024
  • Best solution for generating pdf documents from templates

    3 projects | /r/node | 27 Mar 2023
  • Converting Plotly charts into images in parallel

    2 projects | dev.to | 2 Jan 2025
  • Using Pandoc and Typst to Produce PDFs

    1 project | news.ycombinator.com | 29 Nov 2024
  • Job Adventures - PDF generation | Jun 2024

    3 projects | dev.to | 23 Jun 2024