Registry / web-framework / wicked-pdf

wicked-pdf

JSON →
library2.8.2rbrubygemsunverified

Wicked PDF uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML, allowing you to write HTML views normally.

gem install wicked_pdf
INSTALL
IMPORT
SIG · WICKED-PDF
W
wicked-pdf
web-frameworkrubyv2.8.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WickedPdf
✓ require 'wicked_pdf'

Generate PDF from HTML string

require 'wicked_pdf' html = '<h1>Hello</h1>' pdf = WickedPdf.new.pdf_from_string(html) File.write('output.pdf', pdf)
Debug
Known issues
breakingRequires wkhtmltopdf binary installed on system
fix
Install wkhtmltopdf via your package manager or download from wkhtmltopdf.org
affects: all
Upgrade
Version history
2.8.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
wicked-pdf — gem install wicked-pdf · libregistry