Show HN: TemplateDocs – An API for generating PDF documents from DOCX templates

templatedocs.io

2 points by alonbar 9 hours ago

Hey HN,

I built TemplateDocs (https://templatedocs.io), a service that lets you generate documents from Microsoft Word templates using a simple API or web interface.

I previously created easy-template-x (https://github.com/alonrbar/easy-template-x), an open source library for generating Word documents (~30K downloads/month). After leaving my job at a big tech company, I decided to turn my experience with document generation into a proper SaaS product.

TemplateDocs lets you:

- Use regular .docx files as templates with a simple {{variable}} syntax - Generate documents via REST API or web interface - Keep all your Word formatting (fonts, styles, tables) intact - Handle loops for dynamic content like invoice line items - Get output in DOCX or PDF format

The web editor lets non-technical users generate documents without coding, while developers can integrate it into their workflows using the API.

There's a small free tier (20 docs) and pricing starts at $9 for 500 documents (one-time payment) up to $99/month for 25,000 documents.

Would love to hear your feedback! Next things I thought of working on:

- Zapier, Make.com and n8n integrations. - Adding template features like inserting images and links.

Try it out: https://templatedocs.io Docs: https://templatedocs.io/docs

Let me know what you think or if you have any questions!