speedata/publisher 是一个托管在 GitHub 上的开源项目,主要使用 Lua 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 332 个 Star、38 次 Fork。
仓库全名
speedata/publisher
README 摘要
Database in. PDF out. Layout-as-code for high-volume, high-precision PDFs — catalogs, reports, manuals, anything where InDesign would mean fifty thousand clicks. Open source, deterministic, scriptable, in production since 2011. Real-world performance Three projects, same binary, same machine (M4 MacBook Air): Sample brochure spread — layout-driven, image cutouts, branded tables, cross-references with page numbers…
Database in. PDF out. Layout-as-code for high-volume, high-precision PDFs — catalogs, reports, manuals, anything where InDesign would mean fifty thousand clicks. Open source, deterministic, scriptable, in production since 2011.
Real-world performance
Three projects, same binary, same machine (M4 MacBook Air):
# Multi-level TOC, cross-references, PDF bookmarks
$ sp --data produkte.xml --layout katalog.xml
1828 pages rendered in 2m 56s
exit status 0
# Table of contents
$ sp --layout reisebroschuere.xml --data kundendaten.xml
13 pages rendered in 0.54s
exit status 0
# ZUGFeRD invoice with PDF/A-3 validation
$ sp --data facturx.xml --layout zugferd.xml
1 page rendered in 0.21s
exit status 0
Grab a ready-to-run package from https://download.speedata.de/ (extract, set PATH, done — no TeX install, no InDesign license, everything bundled including LuaTeX). Then:
sp new mycatalog && cd mycatalog
sp # → publisher.pdf
speedata Publisher uses LuaTeX for PDF generation (GPLv2 or later). LuaTeX is bundled in the release packages; full third-party list in THIRD_PARTY_LICENSES.md.
评论