benoitkugler / go-weasyprint

(WIP) Golang port to weasyprint python html to pdf library
https://pkg.go.dev/github.com/benoitkugler/go-weasyprint
BSD 3-Clause "New" or "Revised" License
23 stars 1 forks source link
golang html pdf-generation

go-weasyprint

Go Reference Build Status Go Report Card Latest release

Golang port of Weasyprint python Html to Pdf library.

This is an ongoing work, not production ready just yet.

Outline

This package converts an HTML document (with its associated CSS files) to a PDF file. The heavy lifting is actually delegated to webrender, but this package implements a backend for PDF files, relying on benoitkugler/pdf.