Critical-path latency
Browser startup and page rendering can push documents off the request path.
Rust execution keeps inline render calls predictable for user-facing flows.
Generate production PDFs inline with Rust-powered rendering, versioned template contracts, and practical security controls.
Render path
Synchronous API responses
Runtime
Rust engine, no headless browser
Powered by Typst under the hood.

Workflow canvas
Source to PDF in one synchronous path
Write
main.typ + data.json
Preview
Inline diagnostics path
Ship
Versioned API render
Why PDF stacks fail in production
Treat PDF generation as infrastructure: stable request contracts, predictable runtime behavior, and controlled version promotion.
Browser startup and page rendering can push documents off the request path.
Rust execution keeps inline render calls predictable for user-facing flows.
Queue workers, retries, and webhooks add moving parts to simple PDF delivery.
A synchronous render API removes pipeline complexity for core document paths.
Template edits without clear promotion rules create regressions in production.
Versioned template contracts keep changes explicit and auditable.
Features
Build, validate, and ship templates with explicit contracts and predictable production behavior.
Author templates with Monaco, diagnostics, and a direct path from source to runtime output.
Contract-first templates
Preview and production routes share the same deterministic rendering core.
Inline preview
Upload fonts and images once, then bind them to templates through predictable file references.
Assets once
Track renders, quotas, and API keys with clear limits and observable usage signals.
Usage visibility
Workflow
Follow a three-step release model that mirrors production behavior: author, validate, publish.
Step 01
Templates live beside data contracts so schema and layout evolve together.
Step 02
Render in real time with diagnostics that point directly to the failing line.
Step 03
Promote versions with a clear audit trail and render in production through the API.
Security, API and MCP
Protect customer documents by default and keep audit conversations short. DocuForge gives teams secure delivery controls without slowing down shipping velocity.
TLS transport, authenticated APIs, and hardened defaults help teams clear security reviews without custom hardening projects.
Password-protected PDF delivery is built in for regulated workflows handling sensitive documents.
Credential and token handling defaults are designed to reduce leakage risk across render, billing, and webhook paths.
curl -X POST "$DOCUFORGE_API_URL/v1/render" \
-H "X-API-Key: $DOCUFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "template_id": "tpl_123", "data": { "invoice_id": "1234" } }' \
--output invoice.pdfBlogs
Production-ready workflow
Start with the API reference, then ship the same payloads through your production path.
Built for predictable latency under load.
TLS in transit plus hardened auth defaults.
Ship safely with stable template releases.