Blog — TongoRender

Blog

Guides, tutorials, and best practices for developers.

Tutorials
March 18, 202611 min

How to Create PDF Reports from Database Data

Learn how to connect to a database, query data, build an HTML report, and convert it to a polished PDF using an API. Includes step-by-step code examples in Node.js.

reportsdatabaseautomation
Read article
Tutorials
March 15, 20269 min

Screenshot API: Capture Any Website Programmatically

Learn how to capture full-page screenshots of any website using an API. Explore use cases like monitoring, testing, archiving, and social proof with practical code examples.

screenshotautomationmonitoring
Read article
Guides
March 10, 202610 min

Complete Guide to HTML-to-PDF APIs in 2026

Everything you need to know about HTML-to-PDF APIs: how they work, key features to evaluate, and how to integrate one into your project with practical code examples.

pdfapitutorial
Read article
Guides
March 8, 20268 min

HTML Email to PDF: Archive Email Campaigns

Learn how to convert HTML email campaigns into PDF archives. Understand the challenges of email-specific CSS and how to handle them for perfect PDF output.

emailpdfarchival
Read article
Tutorials
March 3, 202612 min

How to Generate Invoices Programmatically

Learn how to automate invoice generation with HTML templates and a PDF API. Step-by-step tutorial with JavaScript code examples.

invoiceautomationpdf
Read article
Tutorials
February 28, 202612 min

Building a Certificate Generator with React and TongoRender

Step-by-step tutorial for building a certificate generator in React. Design templates, collect form data, generate PDFs via API, and download them instantly.

certificatereacttutorial
Read article
Tutorials
February 24, 20269 min

Creating Dynamic OG Images for Social Media

Learn how to generate dynamic Open Graph images for social media using HTML, CSS, and an image rendering API. Boost your click-through rates with unique, auto-generated preview images.

og-imagesocial-mediamarketing
Read article
Tutorials
February 20, 202611 min

Automating Invoice Generation with Node.js

Learn how to build an automated invoice generation pipeline with Node.js. Covers Stripe integration, batch processing, email delivery, and PDF creation via API.

invoicenodejsautomation
Read article
Comparison
February 15, 202611 min

Cloud PDF API vs Self-Hosted: Which Is Right for You?

A detailed comparison of cloud PDF APIs versus self-hosted solutions like Puppeteer. Learn about the trade-offs in cost, scalability, maintenance, and developer experience.

cloudself-hostedarchitecture
Read article
Guides
February 12, 20269 min

PDF Accessibility: Making Your Generated PDFs ADA Compliant

Learn how to make your generated PDFs accessible and ADA compliant. Covers tagged PDFs, alt text, reading order, semantic structure, and best practices for inclusive documents.

accessibilitya11ycompliance
Read article
Guides
February 8, 20268 min

Reducing PDF File Size: Optimization Techniques

Practical techniques for reducing PDF file size: image compression, font subsetting, CSS optimization for print, and API quality settings for optimal results.

optimizationperformancepdf
Read article
Guides
February 5, 202610 min

Best Practices for HTML-to-PDF Rendering

Practical tips for creating HTML that renders perfectly as PDF: print CSS, page breaks, fonts, images, headers, footers, and debugging techniques.

best-practicescsspdf
Read article
Tutorials
January 30, 202610 min

Multi-Page PDF Generation: Headers, Footers, and Page Breaks

Master multi-page PDF generation with CSS page breaks, repeated headers and footers, page numbers, and practical code examples for professional documents.

multi-pageheadersfooters
Read article
Tutorials
January 22, 202610 min

Generating Shipping Labels and Barcodes via API

Learn how to generate shipping labels with barcodes using HTML templates and a PDF API. Covers barcode generation, label design, and e-commerce integration.

shippingbarcodeecommerce
Read article
Guides
January 15, 20269 min

API Rate Limiting and Batch Processing Best Practices

Master API rate limiting and batch processing: understand rate limits, use batch endpoints effectively, manage queues, and implement robust error handling with retries.

rate-limitingbatchperformance
Read article