How gabrielvesal/x2pdf works
Project type and purpose
• This is a lightweight, single-service web API (“X2Pdf”) built on .NET 9 Minimal APIs.
• Purpose: accept multiple image files, convert each to a PDF page, and return a single PDF.
File structure
• Program.cs: entry point, defines Minimal API endpoints.
• X2Pdf.csproj / X2Pdf.sln: .NET project and solution files.
• appsettings.json / appsettings.Development.json: configuration.
• Dockerfile: container build instructions.
• Properties/launchSettings.json: local launch profiles.
• No separate frontend or database—pure backend service.
Extract insights from README
• Exposes POST /api/convert/images-to-pdf
• Uses Kestrel under the hood and Swagger UI for interactive testing.
• Packaged and deployed as a Docker container exposing port 8080.