Projects/UniPDF - Universal CLI Document to PDF Converter v1.0.0
Open Source
systems
Open Source

UniPDF - Universal CLI Document to PDF Converter v1.0.0

Zero-Dependency Statically Compiled Document & PDF Engine in Rust

Overview

A blazingly fast, zero-dependency command-line utility and document engine built in Rust that converts plain text, images, Markdown, DOCX, and XLSX spreadsheet files directly into PDF format without requiring heavyweight runtimes like LibreOffice or headless Chrome.

Key Features

  • Zero external runtime dependencies — compiled to single standalone static binary
  • Native DOCX document and XLSX spreadsheet to PDF conversion engines
  • Multi-image batch compilation (PNG, JPG, BMP, WEBP) into paginated PDF documents
  • Streaming AST Markdown parsing with custom styling via pulldown-cmark
  • High-speed plain text rendering with automatic line-wrapping and pagination
  • Watch mode for automatic real-time PDF recompilation on file edits
  • Automated cross-platform GitHub Actions release pipeline for Linux, macOS, and Windows

Outcomes & Impact

  • Sub-5MB binary size with instant startup and execution speed
  • Eliminates 300MB+ container bloat caused by headless Chrome or LibreOffice
  • v1.0.0 open-source release with full automated CI/CD binary packaging

Tech Stack

Rust

backend

printpdf

other

clap v4

other

image crate

other

docx-rs & calamine

other

GitHub Actions CI/CD

devops

Tags

Rust
printpdf
clap
CLI
DOCX
XLSX
Systems Programming
Image Processing

Project Info

Categories

systems, open-source

Status

Public