Document Templating Service
A microservice to process Word documents with a templating system, inject data, and return PDF (@PapiHack)
Official site consultedSenegalese open-source projects
Last verified: 1 October 2026
Lightweight microservice that treats Word documents as templates, injects JSON data and returns a PDF. It is built on FastAPI and requires a Gotenberg instance for DOCX to PDF conversion.
Services
- POST /api/v1/process-template-document endpoint
- Variable injection into a Word template
- PDF output
- Docker, Compose and Kubernetes deployment
- Swagger (/docs) and ReDoc (/redoc) documentation
Access requirements
Open source (MIT license), self-hosted, Docker image papihack/document-template-processor.
Sources
- Document Templating Service (new tab), verified on 1 October 2026Official site consulted