talira

The React-based, open source framework for fast websites and apps

open sourceMITself-hostablefree

Gatsby is a free, open source framework built on React for building fast, content-rich websites and apps. Source plugins pull data from Markdown files, headless CMSs such as Contentful or WordPress, and REST or GraphQL APIs into one GraphQL data layer that pages query. Each page can be statically generated, generated on first request (Deferred Static Generation) or server-side rendered, and Gatsby automates code splitting, image optimization, critical CSS inlining, lazy loading and prefetching. Its plugin, theme and starter ecosystem covers most integrations, and static sites can be hosted on a CDN such as Netlify. It's MIT licensed.

Problems it solves

  • build a fast marketing site or blog in React from a headless CMS
  • pull content from Markdown, WordPress and an API into one site
  • a static site generator that still lets pages be fully dynamic React apps
  • get good Lighthouse scores without hand-tuning images and code splitting
  • host a React site on a CDN without running servers

Features

  • GraphQL data layer with source plugins
  • static generation, Deferred Static Generation and SSR per page
  • automatic code splitting, image optimization and prefetching
  • plugins, themes and starters
  • Gatsby CLI

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Gatsby does.

  1. Eleventy A simpler static site generator
  2. Astro The web framework for content-driven websites: server-first, with zero JavaScript by default.
  3. Hugo The world's fastest framework for building websites.
  4. Next.js The React framework for the web.
  5. Docusaurus Easy to maintain open source documentation websites.
  6. Starlight Build beautiful, accessible, high-performance documentation websites with Astro

Compare Gatsby with the top 3