Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Typdf is a document generation engine for Drupal that uses the Rust-based Typst compiler for fast and efficient PDF creation. It allows users to generate documents from markdown or automatically convert content from CKEditor, supporting integrations with Webforms and Views Bulk Operations. The module also offers secure media handling and allows for template management within Drupal's administration interface.

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.

* Gemini Pro 3.1 Preview Model was used to help in development of this module.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
13
Tracked since
May 2026
Latest release
1 month ago
Releases (12 mo)
13 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.2.0-alpha7 Pre-release 10–11 Aug 15, 2026
1.2.0-alpha6 Pre-release 10–11 Jul 27, 2026
1.2.0-alpha5 Pre-release 10–11 Jul 23, 2026
1.2.0-alpha4 Pre-release 10–11 Jul 22, 2026
1.2.0-alpha2 Pre-release 10–11 Jul 17, 2026
1.2.0-alpha1 Pre-release 10–11 Jun 23, 2026
1.1.0-alpha7 Pre-release 10–11 May 26, 2026
1.1.0-alpha3 Pre-release 10–11 May 21, 2026
1.1.0-alpha2 Pre-release 10–11 May 21, 2026
1.1.0-alpha1 Pre-release 10–11 May 16, 2026
1.1.x-dev Dev 10–11 May 16, 2026
1.0.0-alpha2 Pre-release 10–11 May 12, 2026
1.0.x-dev Dev 10–11 May 12, 2026