bidi2pdf-rails 0.1.4
Bidi2pdf Rails provides a seamless integration between Rails and the Bidi2pdf gem for generating high-quality PDFs using Chrome/Chromium's headless browser. It supports rendering PDFs from controller actions, remote URLs, or HTML strings with configurable options for orientation, margins, page size, and more. The gem handles browser lifecycle management and provides a clean API for PDF generation with proper asset handling.
Gemfile:
=
安裝:
=
Development 相依性套件 (10):
dhash-vips
~> 0.2
pdf-reader
~> 2.14
puma
>= 0
rspec-rails
~> 8.0
rubocop-rake
~> 0.7
rubocop-rspec
~> 3.5
simplecov
~> 0.22
testcontainers
~> 0.2
unicode_utils
~> 1.4
websocket-native
~> 1.0