# Show HN Draft ## Title **Show HN: DocFast – HTML/Markdown to PDF API with built-in invoice templates (100 free/mo)** ## Body Hi HN, I built DocFast (https://docfast.dev) — a simple API that converts HTML, Markdown, or URLs to PDF. **Why I built it:** Every project I've worked on eventually needs PDF generation. Setting up Puppeteer, dealing with Chrome memory leaks in production, managing headless browser instances — it's always more painful than it should be. I wanted something where I could just POST some HTML and get a PDF back. **What makes it different:** - **Markdown endpoint** — most PDF APIs only accept HTML. DocFast has a native `/v1/convert/markdown` endpoint with syntax highlighting. - **Built-in templates** — pass JSON data to `/v1/templates/invoice/render` and get a professional invoice PDF. No HTML required. - **Fast** — persistent browser pool, no cold starts. Sub-second generation for most documents. - **Privacy** — your data is never stored. PDFs are generated and streamed directly. **Pricing:** Free tier gives you 100 PDFs/month with access to all endpoints and templates. Pro is $9/month for 10,000 PDFs. **Quick example:** ```bash curl -X POST https://docfast.dev/v1/convert/markdown \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"markdown": "# Hello World\n\nGenerated by DocFast."}' \ -o hello.pdf ``` You can get an API key instantly at https://docfast.dev — just an email, no credit card. I'd love feedback on the API design, pricing, or anything else. Happy to answer questions.