alvarcarto/url-to-pdf-api
Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3261
- days_rel: n/a
- days_push: 958
- n_releases_24m: 0
Adoption not part of the score
7105 stars · 779 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A self-hosted microservice that converts URLs or raw HTML into PDF or PNG/JPEG images using Headless Chrome via Puppeteer. It exposes a simple HTTP API with sensible defaults, SPA support, and optional API key authentication.
Use cases
- generate pdf invoices from html templates
- render web page to pdf via api
- self-hosted html to pdf service
- take screenshot of url as png
- generate receipts automatically from html
- convert single page app to pdf
When to choose
- you need programmatic HTML-to-PDF rendering that matches desktop Chrome output
- you want a self-hosted or Heroku-deployable rendering microservice
- you need to render SPAs or lazy-loaded content to PDF/images
When to avoid
- you need to expose the API publicly without strict access controls - it allows arbitrary JavaScript execution in Chrome on the server
- you need a lightweight PDF generator without a headless Chrome dependency
- you need actively developed features - the project is in maintenance mode
Facets
service · maturity maintenance
pdf http-server api-framework web-scraping pdf web-development self-hosted self-hosted cli puppeteer headless-chrome pdf-generation html-to-pdf microservice invoice-rendering screenshot automation nodejs docker web-server
1 source
- readme: https://github.com/alvarcarto/url-to-pdf-api · fetched 2026-08-28 · 5a0edd39c300
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alvarcarto/url-to-pdf-api | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="alvarcarto/url-to-pdf-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem