You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fastest React frontend for headless Ghost CMS.
Create and publish flaring fast blogs with next-cms-ghost. Powered by the React framework Next.js and content fed by headless Ghost, you'll get a production ready hybrid frontend that combines the best of static and server-rendered sites. Most importantly, your website can be easily distributed globally to be served from the edge. At the same time your content creators can continue to work with the Ghost authoring system they are used to.
Β
β¨ Features
Ghost CMS integration
Supports Ghost `v3` and `v4`
Ghost Casper look & feel
Infinite scroll
Fully responsive
Sticky navigation headers
Hover on author avatar
Styled 404 page
Preview Section in posts
Sitemap
RSS feed
SEO optimized
Extened Casper Styles β¨
Dark Mode
Featured posts pinned on top
Customizable navigation headers
Zoom images on click to full-screen
Render GitHub Gists
Images with Next/Images π
Feature and inline images
Auto-optimized images
No content shifts due to consistent placeholders
Advanced Routing
Auto-detects custom paths
Configurable collections
Developer friendly
MIT licenced
Truly open-source
Easy to contribute
Made typesafe with TypeScript
Integrated Plugins
Member Subscriptions
Commenting with Commento or Disqus
Syntax highlighting with PrismJS
Table Of Contents
Contact Page with built-in notification service
Google Analytics
NextJS Features
Incremental Regeneration
Support for Preview
Β
π Performance
Scores calculated with Lighthouse 6.4.0.
Β
π Getting Started
git clone https://github.com/styxlab/next-cms-ghost.git
cd next-cms-ghost
yarn
# Development
yarn dev
# Production
yarn build
Β
π NextJS image optimizations
The IMAGE_DOMAINS environment variable must contain a comma separated list of all domains that you use for in-sourcing images. For example:
For best results, deploying to Vercel is recommended. As an alternative, you can also deploy to Netlify.
Β
π€― Ensure headless mode of Ghost CMS
For best SEO results it is strongly recommended to disable the default Ghost Handlebars theme front-end by selecting the Make this site private flag within your Ghost admin settings.