Skip to content

fossism/bodhya-cert-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bodhya-cert-generator

A robust, server-side PDF generation tool built for the Bodhya initiative. Instantly converts HTML templates into professional PDFs with automatic headers, and contents.

About

This application solves the problem of generating consistent, high-quality formal documents (like Event Permission Letters) for students and volunteers.

Instead of asking users to manually edit Word documents, they simply fill out a web form. The backend uses Puppeteer (Headless Chrome) to "print" the filled data into a PDF that preserves exact branding, logos (SVG/PNG), and layout constraints.

Features

  • Instant Preview: PDFs open directly in the browser for review before downloading.
  • Vector Logo Support: Native support for SVG and PNG logos using Base64 injection.
  • High-Fidelity Rendering: Uses Chrome's rendering engine, ensuring the PDF looks exactly like the HTML/CSS template.

Tech Stack

  • Runtime: Node.js
  • Server: Express.js
  • PDF Engine: Puppeteer (Headless Chrome)
  • Frontend: HTML5, CSS3

About

doc-gen is a lightweight, web-based tool designed to automate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published