{"repo":"razvandimescu/gopdf","free":true,"listed":false,"github":"https://github.com/razvandimescu/gopdf","clone":"git clone https://github.com/razvandimescu/gopdf.git","description":"Pure Go table extraction for PDFs - structured rows and columns from invoices, statements, and reports. Also supports positioned text, search, merging, PDF creation, and overlays. MIT licensed, with no CGo or external dependencies.","language":"Go","stars":14,"topics":["go","golang","pdf","pdf-merge","pdf-parser","pure-go","text-extraction","bank-statement-parser","data-extraction","document-processing"],"license":"MIT","category":"media-processing","readme_excerpt":"gopdf Pure Go table extraction from PDFs — plus positioned text, search, creation, merge, and editing. No CGo, no AGPL, no dependencies outside the standard library. Generated entirely from Go code — go run ./cmd/sample/ Getting structured rows and columns out of an invoice, bank statement, or report normally means shelling out to pdftotext -layout and regexing the columns back together, or leaving Go for Python's camelot/tabula. gopdf does it natively: tables are located by header anchors or auto-detected from column gaps, with multi-line cell merging and multi-page continuation. Why gopdf? Table extraction in pure Go, under a permissive licence. unipdf extracts tables too, but is AGPL or commercial. ledongthuc/pdf gives you positioned text and groups it into rows and columns, but has no header anchoring, multi-line cell merging, or multi-page continuation. gopdf unipdf pdfcpu ledongthuc/pdf MuPDF bindings --- --- --- --- --- --- License MIT AGPL / Commercial Apache-2.0 BSD-3 AGPL CGo required No No No No Yes Text extraction Positioned (X/Y) Positioned Raw streams Positioned (X/Y) Positioned Table detection Yes Yes No Row/column grouping No Text search With rects Yes No No Yes PDF merge Yes (size-constrained) Yes Yes No No Text overlay Yes Yes Watermark No No Visual redaction Yes Yes No No No PDF creation Yes Yes Yes No Yes Reads encrypted PDFs Yes Yes Yes No Yes Dependencies 0 Many 0 0 System lib When to use something else - pdfcpu — for document operations as your primary ","default_branch":null,"files":null,"tree":[],"storefront":"/r/razvandimescu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/razvandimescu/gopdf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}