Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilia-public-projects/pdf-converter

Azure function that converts html to pdf
https://github.com/ilia-public-projects/pdf-converter

Last synced: about 2 months ago
JSON representation

Azure function that converts html to pdf

Awesome Lists containing this project

README

        

# HTML to PDF Converter

**HTML to PDF Converter** is a tool that converts HTML content to PDF format. This project allows users to input HTML as an HTTP request and generate a PDF document. It's built using .NET technologies with a focus on delivering fast and accurate PDF generation.

## Features
- **Convert HTML to PDF**: Takes HTML input and converts it into a well-formatted PDF.
- **CSS Support**: Styles embedded within the HTML (via CSS) are applied in the PDF output.
- **Text and Image Handling**: Supports both textual content and images within the HTML.
- **Download PDF**: Users can download the generated PDF after conversion.

## Tech Stack
- **.NET Core**: Backend framework used to handle the HTML to PDF conversion.
- **DinkToPdf Library**: A popular .NET wrapper for the wkhtmltopdf tool used for converting HTML to PDF.
- **REST API**: Exposes an API for converting HTML content to PDF programmatically.

## Getting Started

### Prerequisites
- **.NET 6 SDK** (or higher)
- Any IDE that supports .NET development (e.g., Visual Studio, Rider)