1.4 KiB
DocFast Launch Tweets
1. Announcement
I built an HTML-to-PDF API because I was tired of configuring Puppeteer for every side project.
→ Send HTML or Markdown, get a PDF back → Built-in templates (invoices, receipts, reports) → Free tier: 100 PDFs/mo
2. Code Example
Generate a PDF in one curl command:
curl -X POST https://docfast.dev/v1/convert/html \
-H "Authorization: Bearer $KEY" \
-d '{"html": "<h1>Done.</h1>"}' \
-o doc.pdf
No config files. No Docker. No Puppeteer setup.
Free tier: 100 PDFs/mo → https://docfast.dev
3. Comparison to Alternatives
PDF generation options for developers:
• wkhtmltopdf — ancient WebKit, breaks on modern CSS • Self-hosted Puppeteer — works, but you're managing Chromium in prod • Enterprise APIs — $50+/mo for basic usage
I built DocFast: modern rendering, simple API, free tier (100/mo), $9/mo for 10K.
4. Use Case
If your app generates invoices, you've probably spent more time on PDF layout than on the actual billing logic.
DocFast has built-in invoice templates. Pass your data as JSON, get a styled PDF back. No HTML required.
5. Pain Point
The PDF generation starter pack:
- Install Puppeteer
- Debug Chromium dependencies on Linux
- Figure out why fonts look wrong
- Add 800MB to your Docker image
- Question your career choices
Or just call an API: https://docfast.dev