https://github.com/benoitkugler/go-weasyprint
(WIP) Golang port to weasyprint python html to pdf library
https://github.com/benoitkugler/go-weasyprint
golang html pdf-generation
Last synced: 4 months ago
JSON representation
(WIP) Golang port to weasyprint python html to pdf library
- Host: GitHub
- URL: https://github.com/benoitkugler/go-weasyprint
- Owner: benoitkugler
- License: bsd-3-clause
- Created: 2019-06-14T11:55:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-03-04T11:32:45.000Z (5 months ago)
- Last Synced: 2026-03-04T18:29:04.244Z (5 months ago)
- Topics: golang, html, pdf-generation
- Language: Go
- Homepage: https://pkg.go.dev/github.com/benoitkugler/go-weasyprint
- Size: 17.8 MB
- Stars: 36
- Watchers: 7
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-weasyprint
[](https://pkg.go.dev/github.com/benoitkugler/go-weasyprint)
[](https://github.com/benoitkugler/go-weasyprint/actions/workflows/build.yml)
[](https://goreportcard.com/report/github.com/benoitkugler/go-weasyprint)
[](https://github.com/benoitkugler/go-weasyprint/releases)
Golang port of [Weasyprint](https://github.com/Kozea/WeasyPrint) python Html to Pdf library.
This project is still in alpha state; you should try it carefully before using it in production.
## Outline
This package converts an HTML document (with its associated CSS files) to a PDF file.
The heavy lifting is actually delegated to [webrender](https://github.com/benoitkugler/webrender), but this package implements a backend for PDF files, relying on [benoitkugler/pdf](https://github.com/benoitkugler/pdf).