Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Static Suite

8 sites Security covered
View on drupal.org

This module suite transforms your Drupal site into a static site by exporting data and integrating with static site generators like Gatsby or Next.js. It enables building and deploying static sites to various hosting services, with features like instant previews and incremental builds, all managed within Drupal.

A suite of modules to decouple Drupal and turn it into a static site, built by a Static Site Generator like Gatsby or Next.js. It exports data to static files (JSON, XML, etc), runs a build process on them (Gatsby, Next.js Eleventy, Hugo, etc), and deploys the result to any hosting service (AWS S3, Netlify, etc). It also provides an instant preview system for Gatsby.

It includes several modules:

  • Static Export: exports Drupal data to static files (JSON, XML, etc) using GraphQL, JSON:API, or any other resolver.
  • Static Build: it uses a Static Site Generator (Gatsby, Eleventy, Hugo, etc) to build a static site
  • Static Deploy: deploys the above site to any kind of hosting service (AWS S3, Netlify, etc)
  • Static Preview: enables previewing content without building the whole site. There is also an instant preview system for Gatsby.

This suite is completely extensible, configurable and adaptable to multiple scenarios, but it's been extensively tested with JSON files, Gatsby and AWS S3. It allows getting the same features as Gatsby Cloud (previews, fast builds and incremental builds) but fully integrated into your Drupal installation. All those features are achieved without using any external service: this suite of modules is not a wrapper over Gatsby Cloud, but a complete implementation of their features in a "Drupal way".

Documentation about each module can be found inside each one's folder.

DISCLAIMER

This is not a suite of modules for beginners. To take real advantage of it, you should have a solid foundation on Drupal, to be able to adapt it to your needs.

On the other hand, this is a WORK IN PROGRESS and is subject to change. Some coming features could break things and you should expect some current features to be completely refactored (most of them won't break things).

While we will do our best to ensure backward compatibility, you should expect some kind of instability while this project is in alpha state.

Static Suite is the result of several years of working with decoupled Drupal and Gatsby, and all you can find here is the response to real needs on our projects. Most of them are sites with thousands of pages, so expect some features to be focused on performance and scalability and not so much on ease of use.

INSTALLATION

Run `composer require drupal/static_suite`. Enable static_suite, static_export, static_export_data_resolver_graphql, static_export_output_formatter_json and static_export_stream_wrapper_local to get a basic working functionality.

CONFIGURATION

Configuration available at /admin/config/static.

Activity

Total releases
15
First release
Feb 2025
Latest release
6 hours ago
Releases (12 mo)
14 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.2.8 Stable Jul 17, 2026
1.2.7 Stable Jul 15, 2026
1.2.6 Stable Jul 13, 2026
1.2.5 Stable Jun 25, 2026
1.2.4 Stable Jun 24, 2026
1.2.3 Stable Jun 22, 2026
1.2.2 Stable May 27, 2026
1.2.1 Stable May 15, 2026
1.2.0 Stable May 15, 2026
1.1.1 Stable Apr 27, 2026
1.1.0 Stable Apr 27, 2026
1.1.0-rc5 Pre-release Oct 4, 2025
1.1.0-rc4 Pre-release Oct 2, 2025
1.1.0-rc3 Pre-release Sep 29, 2025
1.1.0-rc2 Pre-release Feb 19, 2025