HTML to PDF
in one API call
+ Convert HTML, Markdown, or URLs to pixel-perfect PDFs. Built-in templates for invoices & receipts. No headless browser headaches.
+Already have an account? Lost your API key? Recover it →
+ +diff --git a/Dockerfile b/Dockerfile index 367f83d..1143405 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,9 @@ COPY package*.json ./ RUN npm install --omit=dev COPY dist/ dist/ +COPY scripts/ scripts/ COPY public/ public/ +RUN node scripts/build-html.cjs RUN rm -f public/swagger-ui && ln -s /app/node_modules/swagger-ui-dist public/swagger-ui # Create data directory and set ownership to docfast user diff --git a/public/index.html b/public/index.html index 05458a3..70f1ac6 100644 --- a/public/index.html +++ b/public/index.html @@ -17,7 +17,7 @@ \ No newline at end of file diff --git a/public/src/index.html b/public/src/index.html new file mode 100644 index 0000000..f40dc96 --- /dev/null +++ b/public/src/index.html @@ -0,0 +1,255 @@ + + +
+ + +Convert HTML, Markdown, or URLs to pixel-perfect PDFs. Built-in templates for invoices & receipts. No headless browser headaches.
+Already have an account? Lost your API key? Recover it →
+ +Your data never leaves the EU • GDPR Compliant • Hetzner Germany (Nuremberg)
+A complete PDF generation API. No SDKs, no dependencies, no setup.
+Persistent browser pool — no cold starts. Your PDFs are ready before your spinner shows.
+Full CSS support including flexbox, grid, and custom fonts. Your brand, your PDFs.
+Invoice and receipt templates out of the box. Pass JSON data, get beautiful PDFs.
+REST API. JSON in, PDF out. Works with curl, Python, Node, Go — anything with HTTP.
+A4, Letter, custom sizes. Portrait or landscape. Headers, footers, and margins.
+HTTPS only. Rate limiting. No data stored. PDFs stream directly — nothing touches disk.
+Start free. Upgrade when you're ready. No surprise charges.
+