
Template details
Gatsby Starter Ghost
A Gatsby starter template for building fast websites with Ghost as a headless CMS, now deprecated and no longer maintained.
About this template
Gatsby Starter Ghost is a deprecated open-source starter template that builds a fast, static React website from a Ghost headless CMS using the Ghost Content API. This GitHub project by TryGhost pairs Gatsby with Ghost so content created in Ghost's admin (posts, pages, tags) is fetched at build time and rendered as a static site. The repository is no longer maintained — the README opens with a "Deprecated" notice — but the demo, code, and deployment configuration remain available.
What is Gatsby Starter Ghost?
Gatsby Starter Ghost is a starter template that connects a Gatsby static site to a Ghost CMS backend. As input it takes a Ghost installation's Content API URL and key, defined in a .ghost.json config file, and as output it produces a Gatsby site whose pages and posts are generated from that Ghost content. It was created by the Ghost team (TryGhost) and released under the MIT license. The project is no longer updated; the README carries a "Deprecated" notice at the top. The live demo is hosted at https://gatsby.ghost.org.
Key Features
- Ghost Content API integration — Pulls posts and pages from Ghost by reading
apiUrlandcontentApiKeyfrom.ghost.json; keys can stay in the repo or be overridden with Netlify environment variables. - Static site generation with Gatsby — Uses Gatsby's build pipeline to create a pure static site; run
gatsby buildfor production output andgatsby serveto preview it locally. - Broad Ghost version support — Requires Ghost 2.10.0 or newer; the default config targets Ghost 5.x, and older installs add a
versionproperty such asv4.0in.ghost.json. - Netlify deployment configs — Ships with
netlify.toml, a/static/_headersfile with security headers, and/static/_redirectsfor custom domain redirects, plus a one-click deploy button. - Ghost + Netlify rebuild hooks — After deploying, users can wire Ghost's Netlify integration so content edits trigger automatic Netlify builds.
- SEO control — Enabling Ghost's "Make this site private" flag adds a
noindexmeta to the Ghost front-end, making the Gatsby site the primary SEO source. - Separate dev and production configs —
.ghost.jsonsupports bothdevelopmentandproductionsections, used bygatsby developandgatsby buildrespectively. - Configurable site settings —
siteConfig.jslets you set the canonical site URL andpostsPerPagefor pagination.
Who is it for?
Gatsby Starter Ghost is aimed at Ghost publishers who want to leave Ghost's default Handlebars theme behind and serve a faster, React-generated static site while still writing in Ghost's admin. It also suits developers learning how a Gatsby front-end consumes a headless CMS through a Content API. Netlify users benefit from the included deployment files and integration path, making the starter a practical base for Ghost-powered static sites.
What can you do with Gatsby Starter Ghost?
- Ghost publishers: Host a static, Gatsby-built blog or news site fed by Ghost, improving performance and security while keeping the Ghost editor for content.
- Netlify deployers: Use the packaged
netlify.toml, headers, and redirects to start a production deploy immediately, then enable deploy hooks for automation. - Developers: Study or adapt the starter to build custom Gatsby and Ghost integrations, with the MIT license permitting reuse.
How does Gatsby Starter Ghost work?
The setup flow starts with cloning or generating the starter via the Gatsby CLI, then installing dependencies with yarn. You edit .ghost.json to point apiUrl at your Ghost site and contentApiKey at an integration key created in Ghost Admin; for Ghost versions older than 5.x, a version property is also required. After configuring siteConfig.js, running gatsby develop serves a local site that fetches content from Ghost, and deploying to Netlify uses the included config files.
FAQ
Is Gatsby Starter Ghost still maintained?
No. The repository README begins with a "Deprecated" notice stating the project is no longer maintained, so there may be no future updates or security patches.
What Ghost versions does it support?
The starter requires at least Ghost 2.10.0. The default configuration is for Ghost 5.x; for Ghost versions from 2.10.0 up to 5.x, you must set version in .ghost.json to a matching API version, such as v4.0.
How do I connect my own Ghost site?
Create an integration in Ghost Admin (Integrations → Add new integration), copy the generated Content API key, then set the apiUrl and contentApiKey values in your .ghost.json file. For production builds, these can be moved to Netlify environment variables.
Can I deploy this to Netlify?
Yes. The starter includes netlify.toml, static security headers, and redirect rules, plus a deploy button that triggers a Netlify site from the GitHub repository. The Ghost + Netlify integration can then trigger rebuilds on content changes.
What license is Gatsby Starter Ghost released under?
It is released under the MIT license, with copyright held by the Ghost Foundation (2013-2025).














