Skip to content

โš›๏ธ๐Ÿ“„๐Ÿš€ Blazing fast site generator for React

License

Notifications You must be signed in to change notification settings

brentryanjohnson/gatsby

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Gatsby

Gatsby v2

โš›๏ธ ๐Ÿ“„ ๐Ÿš€

Blazing fast modern site generator for React
Go beyond static sites: build blogs, e-commerce sites, full-blown apps, and more with Gatsby.

Gatsby is released under the MIT license. Current CircleCI build status. Current npm package version. Downloads per month on npm. Total downloads on npm. PRs welcome! Follow @gatsbyjs

Quickstart ยท Tutorial ยท Plugins ยท Starters ยท Showcase ยท Contribute ยท Support: Spectrum & Discord

Gatsby is a modern framework for blazing fast websites.

  • Go Beyond Static Websites. Get all the benefits of static websites with none of the limitations. Gatsby sites are fully functional React apps so you can create high-quality, dynamic web apps, from blogs to e-commerce sites to user dashboards.

  • Use a Modern Stack for Every Site. No matter where the data comes from, Gatsby sites are built using React and GraphQL. Build a uniform workflow for you and your team, regardless of whether the data is coming from the same backend.

  • Load Data From Anywhere. Gatsby pulls in data from any data source, whether itโ€™s Markdown files, a headless CMS like Contentful or WordPress, or a REST or GraphQL API. Use source plugins to load your data, then develop using Gatsbyโ€™s uniform GraphQL interface.

  • Performance Is Baked In. Ace your performance audits by default. Gatsby automates code splitting, image optimization, inlining critical styles, lazy-loading, and prefetching resources, and more to ensure your site is fast โ€” no manual tuning required.

  • Host at Scale for Pennies. Gatsby sites donโ€™t require servers so you can host your entire site on a CDN for a fraction of the cost of a server-rendered site. Many Gatsby sites can be hosted entirely free on services like GitHub Pages and Netlify.

Learn how to use Gatsby for your next project.

Whatโ€™s In This Document

๐Ÿš€ Get Up and Running in 5 Minutes

You can get a new Gatsby site up and running on your local dev environment in 5 minutes with these three steps:

  1. Create a Gatsby site from a Gatsby starter.

    Get your Gatsby blog set up in a single command:

    # install the Gatsby CLI globally
    npm install -g gatsby-cli
    
    # create a new Gatsby site using the default starter
    gatsby new my-blazing-fast-site
  2. Start the site in develop mode.

    Next, move into your new siteโ€™s directory and start it up:

    cd my-blazing-fast-site/
    gatsby develop
  3. Open the source code and start editing!

    Your site is now running at http://localhost:8000. Open the my-blazing-fast-site directory in your code editor of choice and edit src/pages/index.js. Save your changes, and the browser will update in real time!

At this point, youโ€™ve got a fully functional Gatsby website. For additional information on how you can customize your Gatsby site, see our plugins and the official tutorial.

๐ŸŽ“ Learning Gatsby

Full documentation for Gatsby lives on the website.

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples head to our documentation. In particular, check out the โ€œGuidesโ€, โ€œAPI Referenceโ€, and โ€œAdvanced Tutorialsโ€ sections in the sidebar.

We welcome suggestions for improving our docs. See the โ€œhow to contributeโ€ documentation for more details.

Start Learning Gatsby: Follow the Tutorial ยท Read the Docs

๐Ÿ’ผ Migration Guides

Already have a Gatsby site? These handy guides will help you add the improvements of Gatsby v2 to your site without starting from scratch!

๐Ÿค How to Contribute

Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Gatsby community! ๐Ÿ’ช๐Ÿ’œ

Check out our Contributing Guide for ideas on contributing and setup steps for getting our repositories up and running on your local machine.

Code of Conduct

Gatsby is dedicated to building a welcoming, diverse, safe community. We expect everyone participating in the Gatsby community to abide by our Code of Conduct. Please read it. Please follow it. In the Gatsby community, we work hard to build each other up and create amazing things together. ๐Ÿ’ช๐Ÿ’œ

A note on how this repository is organized

This repository is a monorepo managed using Lerna. This means there are multiple packages managed in this codebase, even though we publish them to NPM as separate packages.

Contributing to Gatsby v1

We are currently only accepting bug fixes for Gatsby v1. No new features will be accepted.

๐Ÿ“ License

Licensed under the MIT License.

๐Ÿ’œ Thanks to Our Contributors and Sponsors

Thanks to our many contributors and sponsors as well as the companies sponsoring our testing and hosting infrastructure: Circle CI, Appveyor, and Netlify.

About

โš›๏ธ๐Ÿ“„๐Ÿš€ Blazing fast site generator for React

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.0%
  • HTML 7.9%
  • CSS 4.7%
  • Other 0.4%