Prawn is a fast, tiny, and nimble PDF generator for Ruby
Experimental Ruby FFI bindings for libBeresta, a free, cross-platform PDF generation C library forked from libHaru. Bindings are auto-generated from libBeresta's canonical S-expression definitions (gen/data/*.lsp). v0.1.x exposes a faithful low-level surface; an idiomatic high-level API is planned as a separate gem. Tested on macOS and Linux. libBeresta itself is not bundled and must be installed separately. Part of the libBeresta org's brst-binding-<lang> family.
Generate chart images, diagrams, barcodes, QR codes and thermal labels on demand. PNG, SVG or PDF output.
Ruby client for the ShotWolf API - capture screenshots, render device mockups, generate Open Graph cards, convert HTML to PDF, and run pixel-level visual regression diffs through a single JSON HTTP API. Zero dependencies.
This HTML to PDF API renders raw HTML markup into downloadable PDF files. Send your escaped HTML string to receive a signed download link, an expiration timestamp, and the generated document filename.
A Ruby library for deterministic PDF generation with embedded TrueType fonts, Japanese text extraction, vector graphics, PNG/JPEG images, links, and outlines.
Typstify gives Rails first-class PDF generation on Typst, the Rust typesetting engine. Controllers get `render pdf:`, templates live in app/views like every other view, and your data arrives as JSON so user content can never change the document — injection-safe by construction, compiled in an isolated sandbox directory. Ships professionally designed invoice, receipt, report and certificate templates, and can emit accessible PDF/UA-1 output for EAA and ADA compliance. No headless Chrome, no archived wkhtmltopdf binary.
Spree extension for managing image and PDF materials, allowing users to upload files and generate shareable links for use in product descriptions.
Invoice Generator is an invoice generation API that creates downloadable PDF invoices from party addresses, line items, and payment terms. It computes subtotals with discounts and sales tax, returning an expiring download link.
Markdown to PDF is a PDF generator API that converts markdown text into professionally formatted PDF documents and returns a temporary download URL for each file. Paid plans can set the paper size, orientation and margins, style the document with their own CSS, and print a header and footer with page numbers on every page.
A pure-Ruby ZPL II renderer. Parses ^XA..^XZ label formats and rasterizes them at true printer resolution (dots), producing PNG images and print-size PDF documents. Code 128 (^BC, incl. Zebra subset invocation codes and GS1 modes), QR (^BQ), Code 39 (^B3) and Interleaved 2 of 5 (^B2) are generated module-exact so scanners read them reliably. Also supports text fields, field blocks, graphic boxes/circles/diagonals, ^GF images (ASCII hex, Zebra RLE, B64/Z64) and ~DG/^XG stored graphics.
Ruby wrapper for PDF Generator API
Generates a Terminology section from AsciiDoc index term markup for Asciidoctor PDF documents, with support for abbreviations and optional external definitions.
WeasyPDF generates PDFs from Rails views using WeasyPrint as backend. Near-100% API compatible with Wicked PDF 2.x: same render pdf: options, weasy_pdf_* view helpers (one-command rename from wicked_pdf_*), same railtie auto-include behaviour. Native vite_ruby support. No Chromium. No services. Modern CSS.
An asciidoctor extension that generates List of Figures, List of Tables, List of Listings, and List of Examples. Works with HTML5 (xref links) and asciidoctor-pdf (dot-leader style matching the ToC, optional ToC integration, PDF bookmarks). Compatible with asciidoctor-lists macro syntax. No hardcoded anchors required — IDs are auto-generated.
Official Ruby client for the Anvil API. Anvil is a suite of tools for managing document workflows including PDF filling, PDF generation from HTML/Markdown, e-signatures, and webhooks. Built with zero runtime dependencies and designed to be Rails-friendly while remaining framework agnostic.
A Ruby gem providing Prawn-compatible API bindings to the pdfcrate Rust PDF generation library using Magnus.
CLI utility and Ruby API for generating structured release notes and changelog documents from various issue-tracking platforms or YAML definitions into plaintext drafts (<strong>AsciiDoc</strong>, <strong>Markdown</strong>, <strong>YAML</strong>) and rich-text output (<strong>HTML</strong> and <strong>PDF</strong>).
Wraps pdfjam/podofocrop/pdfinfo to automate stacked layouts, relying on stacking-order for sequencing.
REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### ✍️ Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification ### 📋 Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### 📊 Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### 📡 AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### 🏛️ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### ⏳ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \ -H "Content-Type: application/json" \ -d '{ "username": "your_email@example.com", "password": "your_password" }' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \ -H "Content-Type: application/json" \ -d '{ "username": "your_email@example.com", "password": "your_password", "client_uid": "550e8400-e29b-41d4-a716-446655440000" }' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { "access": "eyJ0eXAiOiJKV1QiLCJhbGc...", // Access token (validity: 30 min) "refresh": "eyJ0eXAiOiJKV1QiLCJhbGc..." // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the "Generate Test Token" or "Generate Production Token" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
UrlReport fetches a webpage, extracts headings, links, and images, and generates a PDF report.
Advanced Ruby gem for legal document analysis featuring AI-powered plain language generation, multilingual processing (8 languages), PDF annotations, model training, risk analysis, and clause detection. Supports PDF, DOCX, RTF formats with comprehensive CLI tools.
Allows that some documents, or pages to have a pdf version pre generated.
Ruby gem to generate automated test reports for academic assignments with HTML templates, CSV export, optional PDF (via prawn), class-wide reporting, and basic Jaccard code similarity.
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.
Bidi2pdf is a powerful PDF generation tool that uses Chrome's BiDirectional Protocol to render web pages as high-quality PDF documents. It offers: * Command-line interface for easy PDF generation * Support for cookies, headers, and basic authentication * Waiting conditions (window loaded, network idle) * Headless Chrome operation for server environments * Docker compatibility * Customizable PDF output options Bidi2pdf uses ChromeDriver to control Chrome through its BiDi protocol, providing precise rendering for reports, invoices, documentation, and other PDF documents from web-based content. It automatically manages the ChromeDriver binary and browser sessions for a seamless experience.
Origami is a pure Ruby library to parse, modify and generate PDF documents.
This gem is built to convert HTML document into PDFs. There are lots of tools out there that do this. This one uses Selenium+Chromedriver to render the HTML and generate the PDF.
This gem provides a simple access using Ruby to the Hybiscus.dev PDF reports generator API.
Add support for generating PDFs with chrome to a rails app
Generate PDF with Google Cloud Function.
An API and template builder to generate PDF documents from Your software, from Your data
This plugin generates thumbnails for each PDF in your site using the pdftoimage gem
Helper library to generate PDFs from Rails.
Prawn is a fast, tiny, and nimble PDF generator for Ruby