Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Static Suite

Security covered Under active development 14 sites

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.

Drupal 10–11

Ask your assistant about Static Suite

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • locale Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
31
Tracked since
Feb 2024
Latest release
2 days ago
Releases (12 mo)
21 ▲ from 9
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 9–11 Apr 27, 2026
1.1.0-rc5 Pre-release 9–11 Oct 4, 2025
1.1.0-rc4 Pre-release 9–11 Oct 2, 2025
1.1.0-rc3 Pre-release 9–11 Sep 29, 2025
1.1.0-rc2 Pre-release 9–11 Feb 19, 2025
1.1.0-rc1 Pre-release 9–11 Jan 14, 2025
1.1.0-beta5 Pre-release 9–11 Nov 11, 2024
1.1.0-beta4 Pre-release 9–11 Nov 8, 2024
1.1.0-beta3 Pre-release 9–11 Oct 30, 2024
1.1.0-beta2 Pre-release 9–11 Oct 29, 2024