Skip to content
r.

sghtmltopdf

waka/sghtmltopdf · Public GitHub repository

The second generation of wkhtmltopdf and wicked_pdf

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

sghtmltopdf live demo screenshot
Captured from the live demo · 2026-11-06

About this project

Author-written excerpt from the project README.

An HTML-to-PDF renderer like wkhtmltopdf written in Rust that does not depend on Chromium, WebKit, or Gecko.

sghtmltopdf turns HTML into PDF without starting a browser process. It is aimed at documents that flow top to bottom with explicit breaks invoices, receipts, reports rather than at rendering arbitrary web pages.

That receipt is examples/receipt.html plus examples/main.css, rendered with one command and no browser:

Requirements and intended audience

An HTML-to-PDF renderer like wkhtmltopdf written in Rust that does not depend on Chromium, WebKit, or Gecko.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-15. Source: https://github.com/waka/sghtmltopdf/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-01. Saved release: v0.5.1 · 2026-09-23. These dates do not guarantee ongoing maintenance.

Technologies
Rust
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-06. This does not test every feature.

Browse related categories