pdfcpu
gopdf
Our great sponsors
pdfcpu | gopdf | |
---|---|---|
30 | 7 | |
6,206 | 2,385 | |
4.4% | - | |
9.0 | 6.9 | |
10 days ago | 6 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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
gopdf
-
Generate Invoices from the Command Line
HTML to PDF is orders of magnitude slower than more direct PDF manipulation libraries in my experience, although I haven't used this particular library ( https://github.com/signintech/gopdf ) that this project uses so I can't say for sure.
- [Golang] Y a-t-il une bonne bibliothèque pour la génération PDF Golang?
-
How to create a PDF?
Form me the bestis https://github.com/signintech/gopdf, but you have to build programmatically every things
-
How To Create a PDF in Go: A Step-By-Step Tutorial
Now, a good example of PDF processing in Go can be found in the gopdf library. Their source is clear and uses an actual FOSS license. Example: https://github.com/signintech/gopdf
-
Generating PDFs
Try this as a alternative: https://github.com/signintech/gopdf
-
Is there a good library for pdf generation golang?
https://github.com/signintech/gopdf is not declarative. Our use-case is to generate a receipt which contains a lot of dynamic data depending on the customer. Other ways to achieve this could be to use html templates and generate html and use tools like wkhtmltopdf for conversion from html to pdf. But, are these tools good enough to handle the pdf styling?
What are some alternatives?
go-wkhtmltopdf - Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface
gofpdf
qpdf - QPDF: A content-preserving PDF document transformer
unipdf - Golang PDF library for creating and processing PDF files (pure go)
merge2pdf - Merge Image and PDF files (optionally with selective pages) with lossless quality
fpdf - A PDF document generator with high level support for text, drawing and images
markpdf - Watermark PDF files using image or text
gofpdf - A PDF document generator with high level support for text, drawing and images
ngrok - Unified ingress for developers
gotenberg - A developer-friendly API for converting numerous document formats into PDF files, and more!
pdfsam - PDFsam, a desktop application to split, merge, mix, rotate PDF files and extract pages
maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.