origami
Origami is a pure Ruby library to parse, modify and generate PDF documents. (by gdelugre)
Pdfkit
A Ruby gem to transform HTML + CSS into PDFs using the command-line utility wkhtmltopdf (by pdfkit)
origami | Pdfkit | |
---|---|---|
1 | 4 | |
304 | 2,920 | |
- | 0.1% | |
0.0 | 2.5 | |
about 1 year ago | 8 months ago | |
Ruby | Ruby | |
GNU Lesser General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
origami
Posts with mentions or reviews of origami.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-14.
-
[WIP] Creating Digital Signatures for PDFs with HexaPDF
The only other pure Ruby library that can do digital signatures for PDFs that I know of is origami. However, it has certain limitations, for example, it can't do multiple signatures.
Pdfkit
Posts with mentions or reviews of Pdfkit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-24.
-
Working with PDFs in Ruby
Like the WickedPDF gem, the PDFkit gem uses wkhtmltopdf on the backend to convert plain HTML and CSS files into PDF documents.
-
Solve network errors with PDFKit and wkhtmltopdf
In today's #10stips (where you learn how to solve coding issues within 10 seconds) we talk about the lovely PDFKit gem.
-
Good resources to learn how to dynamically generate pdf's in Rails ?
Alternatively, there tools like pdfkit if you want to build off HTML pages (and are happy to deal with wkhtmltopdf and it's older style CSS).
-
Converting HTML to PDF using Rails
A couple of popular gems to convert HTML to PDF in Rails are PDFKit and WickedPDF. They both use a command line utility called wkhtmltopdf under the hood; which uses WebKit to render a PDF from HTML.
What are some alternatives?
When comparing origami and Pdfkit you can also consider the following projects:
HexaPDF - Versatile PDF creation and manipulation for Ruby
Wicked Pdf - PDF generator (from HTML) plugin for Ruby on Rails
asciidoctor-pdf - :page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
puppeteer - Node.js API for Chrome
kramdown - kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.
Prawn - Fast, Nimble PDF Writer for Ruby
CombinePDF - A Pure ruby library to merge PDF files, number pages and maybe more...
WKHTMLToPDF - Convert HTML to PDF using Webkit (QtWebKit)
Grover - A Ruby gem to transform HTML into PDFs, PNGs or JPEGs using Google Puppeteer/Chromium