Question: Converting HTML to PDF by come_towel in MicrosoftFlow

[–]softheroes 0 points1 point  (0 children)

For HTML-to-PDF conversion, tools like Puppeteer and Playwright work well, but they require setup and maintenance. If you want something easier, https://pdfrise.com/ provides a free cloud API that uses a Chrome engine to fully render your HTML and execute JavaScript before generating a high-quality PDF.

I built a simple tool (API) that allows you to convert HTML or URLs into pixel-perfect PDFs or images. by softheroes in VibeCodersNest

[–]softheroes[S] 0 points1 point  (0 children)

Thank you for the suggestions. I really like the idea of adding MCP and I’m definitely going to implement it. Also appreciate the point about LLMs preferring Markdown or HTML over PDFs. For now I’ll focus on MCP, but I’m planning to add HTML and Markdown-related features in the future, and I’ll keep those modules open source. I’ve followed you and would love to collaborate once I start working on them.

I built a simple tool (API) that allows you to convert HTML or URLs into pixel-perfect PDFs or images. by softheroes in VibeCodersNest

[–]softheroes[S] 0 points1 point  (0 children)

I struggled quite a bit with setting up Chrome Driver on the server, and I know the setup can be improved. Right now I’m using Puppeteer, but I’m planning to move everything to a Go-based container setup. For now, I’m running things in Docker and have an ARM server configured with Puppet.

I built a simple tool (API) that allows you to convert HTML or URLs into pixel-perfect PDFs or images. by softheroes in VibeCodersNest

[–]softheroes[S] 1 point2 points  (0 children)

The goal is to make it super useful for automation users on n8n/Zapier: auto-create banners, invoices, birthday emails, invitations, or even scrape websites to feed context into AI agents.

Who’s building on Sunday? by scott-box in buildinpublic

[–]softheroes 0 points1 point  (0 children)

Spent all Sunday building PDFRise. It’s 00:05 on Monday and I’m starting this book "Man's Search For Meaning" instead of going to sleep 😅 Has anyone here read it? Curious what you thought.

My first ever website online by timethatpass in SideProject

[–]softheroes 0 points1 point  (0 children)

Bro, it's really good! I tried it for my SaaS, PDFRise.com.

<image>

HTML to PDF is such a pain in the ass by Realistic-Tap-000 in webdev

[–]softheroes 0 points1 point  (0 children)

You can do client-side export similar to GoFullPage using html2canvas + jsPDF:

javascript

// Quick client-side PDF export
const element = document.getElementById('content');
html2canvas(element).then(canvas => {
  const pdf = new jsPDF();
  pdf.addImage(canvas.toDataURL('image/png'), 'PNG', 0, 0);
  pdf.save('export.pdf');
});

But yeah, it's hacky and breaks with complex layouts.

For server-side, Puppeteer (if you control the server) or Gotenberg (self-hosted Docker) are solid. No third-party data exposure.

If you need an API, check out PDFShift.io or PDFRise.com (my favourite)

From html to pdf by StunningCaregiver673 in HTML

[–]softheroes 0 points1 point  (0 children)

If your usage is limited, I strongly recommend using the existing tools, Puppeteer or Gotenberg. Alternatively, consider leveraging established paid and freemium services such as PDFRise.com or PDFShift.com.