Our great sponsors
pdfcpu | gofpdf | |
---|---|---|
30 | 8 | |
6,236 | 3,688 | |
4.4% | - | |
9.1 | 0.0 | |
2 days ago | over 4 years ago | |
Go | Go | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pdfcpu
- Show HN: A PDF Processing CLI/API Written in Go
- Show HN
-
Making a PDF that's larger than Germany
Slightly tangential: if you are hacking on PDFs, manually or otherwise, this is an incredibly useful tool: https://pdfcpu.io/ (not the author, just a user)
-
Stirling-PDF: local web application to perform various operations on PDFs
A really nice, stand-alone command line tool is pdfcpu.
https://github.com/pdfcpu/pdfcpu
-
pdfcpu v0.6.0 out! - pdfcpu.io
Check it out => https://github.com/pdfcpu/pdfcpu/releases/tag/v0.6.0
-
Marker: Convert PDF to Markdown quickly with high accuracy
I can report that the closest I've came before is with PDFMiner (https://pypi.org/project/pdfminer/) for Python. The benefit of this one is that it retains styling information, so that italics and the like can be retained, at least with some post-processing (I think one might need to convert certain CSS-classes to actual or tags).
The other option I have started looking into is the PDFCPU library for Go. It is a bit more low-level than PDFMiner, but one gets out very well structured info, that seem it might be possible to post-process quite well, for one's particular use case and PDF layouts: https://github.com/pdfcpu/pdfcpu
I also now tried the Marker tool in the OT, and it seems to do a reasonable job. It did intermingle some columns though, at least in some tricky cases such as when there were a round shaped image in between the two columns. One note is that Marker doesn't seem to retain styling like italics though.
-
PDFcpu snippet for read text of PDF file?
Of course, the best way would be to solve it via the API without CLI. But this doesn't seem to work. https://github.com/pdfcpu/pdfcpu/issues/122
- wie splittet ihr denn PDFs - ich hab hier einige - die ich zerlegen muss in Teile
- Do you know any library to make pdf in golang?
- Pdfcpu: A Go PDF Processor
gofpdf
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
I'm with you..
We ended up writing a similar wrapper around https://github.com/jung-kurt/gofpdf library. We haven't open sourced it yet. But it's made it a lot easier to deal with rendering a PDF, especially over pagebreaks ect.
- Ask HN: Slimvoice Alternative?
- Do you know any library to make pdf in golang?
-
Create PDF Form and fill PDF Form
I use: github.com/jung-kurt/gofpdf
- How To Create a PDF in Go: A Step-By-Step Tutorial
-
[Advice] Generating PDFs in Golang.
I used gofpdf before but it's not updated anymore.
-
Is there a good library for pdf generation golang?
gofpdf is an archived project but still works very well for me https://github.com/jung-kurt/gofpdf
-
tdewolff/canvas: vector graphics in Go (mayor update)
draw2d's PDF renderer uses https://github.com/jung-kurt/gofpdf which is not supported anymore, it includes a semi-functioning font system
What are some alternatives?
gopdf - A simple library for generating PDF written in Go lang
go-wkhtmltopdf - Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface
maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
qpdf - QPDF: A content-preserving PDF document transformer
Jet Template Engine for GO - Jet template engine
merge2pdf - Merge Image and PDF files (optionally with selective pages) with lossless quality
raymond - Handlebars for golang
markpdf - Watermark PDF files using image or text
quicktemplate - Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template
ngrok - Unified ingress for developers
unipdf - Golang PDF library for creating and processing PDF files (pure go)