{"repo":"carlos7ags/folio","free":true,"listed":false,"github":"https://github.com/carlos7ags/folio","clone":"git clone https://github.com/carlos7ags/folio.git","description":"PDF library for Go: layout engine, HTML to PDF, forms, signatures, barcodes, and PDF/A. Apache 2.0.","language":"Go","stars":849,"topics":["acroform","apache-2-0","barcode","digital-signatures","document-generation","go","golang","html-to-pdf","html-to-pdf-converter","pdf"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"Folio A PDF library for Go — layout engine, HTML to PDF, text shaping for left-to-right, right-to-left, Indic, and CJK scripts, redaction, forms, digital signatures, barcodes, page import, and PDF/A compliance. Try it live in your browser --- Install Requires Go 1.25+. Three external dependencies, all from the Go x/ extended standard library: golang.org/x/image (font parsing, TIFF decoding), golang.org/x/net (HTML parsing), and golang.org/x/text (Unicode bidirectional algorithm for RTL text). Language SDKs Language Package Status ---------- --------- -------- Go go get github.com/carlos7ags/folio This repo Java dev.foliopdf:folio-java folio-java WASM Playground Built-in --- Quick Start --- HTML to PDF Pass an HTML string to a document with AddHTML and folio wires the converted content into it — normal-flow elements, @page size and margins, running headers/footers, and absolutely/ position:fixed elements alike. Runs in-process — no subprocess, no headless browser, no external service. AddHTML is the canonical entry point. When you need the raw conversion result to inspect or transform it first, use html.ConvertFull and add it back with doc.AddConvertResult(result) — adding result.Elements by hand drops absolutes, margin boxes, and @page config. Supports 40+ HTML elements, inline and block CSS, flexbox, CSS grid, SVG, named/hex/rgb colors, @page rules, multi-level list numbering via CSS counters, and tables with colspan/rowspan. For the full list of recognized CSS properties, a","default_branch":null,"files":null,"tree":[],"storefront":"/r/carlos7ags","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/carlos7ags/folio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}