Gatsby Source Google Sheets screenshot

Gatsby Source Google Sheets

Author Avatar Theme by Brandonmp
Updated: 9 Apr 2019
90 Stars

A GatsbyJS plugin that pulls nodes from rows in a Google Sheet.

Overview

If you’re a developer looking to streamline your content management process, the gatsby-source-google-sheets plugin may just be the solution you need. This innovative tool eliminates the cumbersome setup associated with traditional headless CMS platforms by transforming your Google Sheets into a powerful data source for your Gatsby projects. With its user-friendly interface and built-in functionalities like user permissions and revision history, Google Sheets seamlessly integrates into your workflow while enhancing your site’s build-time capabilities.

The plugin operates by converting your Google Sheets data into GraphQL types, allowing for efficient data consumption during the build process. It’s designed for ease of use while exposing robust features that cater to both novice and experienced developers alike.

Features

  • GraphQL Integration: Turns any Google Sheets worksheet into a GraphQL type for easier data consumption during site builds.

  • Data Type Conversion: Automatically converts numbers from their original format in Sheets to proper number types in Gatsby, ensuring accurate data representation.

  • Boolean Handling: Converts “TRUE” and “FALSE” strings into boolean values, simplifying your data structure.

  • Null Handling: Transforms empty cells in Google Sheets into null values, maintaining consistency in your data model.

  • CamelCase Conversion: Automatically converts lowercase column names into camelCase format, streamlining the integration process and preventing naming conflicts.

  • User Permissions: Utilizes existing Google Sheets user permission settings, ensuring secure data access without extra configuration.

  • Revision History: Leverages Google Sheets’ built-in revision history, providing an easy way to track changes over time.

  • Troubleshooting Support: The plugin offers insights for common issues, making it easier for developers to diagnose and resolve potential setup hiccups.