Open-source Go projects categorized as PDF | Edit details

Top 17 Go PDF Projects

  • GitHub repo gotenberg

    A Docker-powered stateless API for PDF files.

    Project mention: Laravel development & production ready Docker build - help needed | reddit.com/r/laravel | 2021-11-11

    If you need it for PDF conversions, I suggest you take a bit larger container, but one that everyone else uses. Gotenberg is a popular project that has it's own API wrapper to provide access to libreoffice among others.

  • GitHub repo pdfcpu

    A PDF processor written in Go.

    Project mention: Show HN: Pdfcpu – Generate PDF from JSON | news.ycombinator.com | 2021-12-01
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo unipdf

    Golang PDF library for creating and processing PDF files (pure go)

    Project mention: [Advice] Generating PDFs in Golang. | reddit.com/r/golang | 2021-11-23

    Like other have commented, probably wkhtmltopdf is easier than writing a bunch of code. However it will not scale up well imo. In the past I have used this package: https://github.com/unidoc/unipdf

  • GitHub repo go-wkhtmltopdf

    Golang commandline wrapper for wkhtmltopdf (by SebastiaanKlippert)

    Project mention: [Advice] Generating PDFs in Golang. | reddit.com/r/golang | 2021-11-23

    Simplest way is to use a Go package: https://github.com/SebastiaanKlippert/go-wkhtmltopdf

  • GitHub repo maroto

    A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.

    Project mention: Creating a PDF With Go, Maroto & Gofakeit | dev.to | 2021-05-01

    The Maroto package is described as being bootstrap-inspired, but you don't need to know Bootstrap to use it. However if you have used Bootstrap before, the approach Maroto takes will feel familiar to you. A document is built using rows, columns and components. The package gives us the ability to include features such as:

  • GitHub repo one-file-pdf

    A minimalist Go PDF writer in 1982 lines. Draws text, images and shapes. Helps understand the PDF format. Used in production for reports.

  • GitHub repo pdftilecut

    pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.

    Project mention: Ask HN: Tools you have made for yourself? | news.ycombinator.com | 2021-06-12
  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo pdfinverter

    darken (or lighten) a PDF

    Project mention: I joined a startup as an intern and I've been assigned a project in golang and I have no idea how to even start with. If someone can help me, I'd really appreciate. Here's the problem statement. | reddit.com/r/golang | 2021-11-27

    Golang's image package is fairly easy to use. Here is an example.

  • GitHub repo goldmark-pdf

    A PDF renderer for the goldmark markdown parser.

    Project mention: Goldmark-pdf: A PDF renderer for the goldmark Markdown parser written in Go | news.ycombinator.com | 2021-04-21
  • GitHub repo go-wkhtmltopdf

    Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface

  • GitHub repo gopdf

    pdf document generation library (by tiechui1994)

    Project mention: TimeZone Database in Golang | reddit.com/r/u_quinnqi | 2021-09-17

    github link: https://github.com/tiechui1994/tzdb

  • GitHub repo markpdf

    Watermark PDF files using image or text

  • GitHub repo merge2pdf

    Merge Image and PDF files (optionally with selective pages) with lossless quality

  • GitHub repo jisui

    Convert scanned image PDF file to text annotated PDF file

    Project mention: Jisui - Convert scanned image PDF file to text annotated PDF file by Cloud Vision API | reddit.com/r/googlecloud | 2021-02-01
  • GitHub repo ZiniGo

    Utility to backup magazines from the Zinio service as PDF, bypassing/Removing their DRM.

    Project mention: Does anyone know how to get Zinio magazines into Calibre? | reddit.com/r/Calibre | 2021-01-24

    Ah-ha! I managed to solve my own problem. Looks like somebody new has started a project called "ZiniGo" which uses the current Zinio API to convert to PDF. It's running on my machine now, and so far it looks like I have some valid .pdfs. I'll leave the answer here for anyone coming from the future (assuming this project is still running).

  • GitHub repo fay

    Stateless, Fast and Reliable PDF rendering service. (by StarpTech)

    Project mention: Fast and reliable HTML to PDF rendering service based on Playwright | news.ycombinator.com | 2020-12-22
  • GitHub repo ocrmymail

    OCRmyMail is an SMTP server relay that adds an OCR text layer to PDF mail attachments and sends them to the original recipient.

    Project mention: OCR through mail attachments | reddit.com/r/selfhosted | 2021-04-12

    OCRmyMail is an SMTP server relay that adds an OCR text layer to PDF mail attachments and sends them to the original recipient. OCRmyPDF is used to do the heavy lifting a.k.a perform the OCR.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-12-01.

Go PDF related posts


What are some of the best open-source PDF projects in Go? This list will help you:

Project Stars
1 gotenberg 3,113
2 pdfcpu 2,720
3 unipdf 1,412
4 go-wkhtmltopdf 678
5 maroto 482
6 one-file-pdf 434
7 pdftilecut 278
8 pdfinverter 155
9 goldmark-pdf 79
10 go-wkhtmltopdf 79
11 gopdf 78
12 markpdf 68
13 merge2pdf 29
14 jisui 25
15 ZiniGo 16
16 fay 8
17 ocrmymail 0
Find remote jobs at our new job board 99remotejobs.com. There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives