Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). migrate_tools 6.1.4 Minor update available for module migrate_tools (6.1.4). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). colorbox_inline 2.1.1 Minor update available for module colorbox_inline (2.1.1). node_view_permissions 8.x-1.7 Minor update available for module node_view_permissions (8.x-1.7).

typdf

No security coverage
View on drupal.org

Typdf is a high-performance document engine for Drupal built on the Rust-based Typst open-source compiler. It offers a fast, memory-efficient way to generate complex, multi-page documents without putting heavy strain on your web server.

A Different Approach to PDF Generation

The Drupal community has long relied on excellent tools like Entity Print, Dompdf, and Wkhtmltopdf. We want to thank the developers of those projects for building the foundation that so many of us have used for years.

Typdf exists as an alternative for those who need a "markdown-first" workflow. Rather than converting heavy HTML and CSS—which can sometimes be unpredictable for print—Typdf uses a native typesetting system. This results in significantly faster generation times and lower RAM usage, making it a great fit for high-traffic or enterprise environments.

Drupal Coding Standards

  • PHPCS - Passes
  • PHPSTAN Level 8 - Passes

Key Features

  • Performance: Documents compile in milliseconds using the Rust-based engine, preventing server timeouts during heavy loads.
  • Editor Friendly: You don’t need to know Typst syntax. A built-in filter automatically translates standard CKEditor content (tables, lists, styles) into clean Typst markdown.
  • Secure Media Handling: Securely fetches external images with SSRF protection and integrates directly with the Drupal Media Library.
  • Workflow Integration: Includes support for Webforms, Views Bulk Operations (VBO), and ECA, allowing you to automate document generation across your site.
  • Administration: Manage templates directly within the Drupal UI without needing to deploy physical files.

Efficiency and Caching

Typdf is designed for scale. By saving generated PDFs as static files, subsequent downloads bypass PHP entirely, serving documents in under 5ms. It also provides granular control over CDN headers (like Varnish or Cloudflare) and ensures private files remain secure with strict local caching rules.

Activity

Total releases
2
First release
May 2026
Latest release
1 day ago
Release cadence
0 days
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha2 Pre-release May 12, 2026
1.0.x-dev Dev May 12, 2026