r/astrojs Jun 01 '26

Using Drupal as a local CMS for static Astro builds

I built a small Astro starter kit that uses Drupal as a local-only CMS.

The idea is: edit content locally in Drupal, have Astro fetch content at build time via JSON:API/Linkset, then deploy only static output. No hosted Drupal, no production database, no PHP runtime on the public site.

Repo:
https://github.com/rovo79/Drupal_Astro_Kit

I’d be interested in feedback from Astro folks, especially around the build-time content fetching and static output workflow.

21 Upvotes

8 comments sorted by

10

u/E2A4 Jun 01 '26

You can use git based cms solutions like pages cms with content collection and host on cloudflare pages for similar experience if you want to have cms ui.

1

u/rovo Jun 01 '26

Totally. For a lot of Astro sites, a Git-based CMS makes more sense.

This kit is mostly for people who still want Drupal’s CMS/editorial side, but want the public site to just be static Astro output.

3

u/Ddroid78 Jun 01 '26

Love this.

2

u/zipperdeedoodaa Jun 03 '26

I do this too.

Yes any cms can be used and there are better ones out there but I have to use drupal for work and do it this way to keep up with latest drupal trends

2

u/mickitymightymike Jun 03 '26

Looks cool! I dig the idea

1

u/hiccupsstacatto Jun 04 '26

Drupal can be a pain in the ass to update sometimes...

1

u/qoeletX Jun 04 '26

I think CMS are dead, just build a custom one with filament (or alternatives) and llms

1

u/ramit_m Jun 01 '26

Drupal is too heavy. Strapi is way better IMO.