{"id":19520995,"url":"https://github.com/rodneylab/gatsby-starter-climate","last_synced_at":"2026-04-13T19:31:41.959Z","repository":{"id":108599256,"uuid":"355836016","full_name":"rodneylab/gatsby-starter-climate","owner":"rodneylab","description":"Gatsby 3 MDX blog starter for an accessible, fast and secure blog site","archived":false,"fork":false,"pushed_at":"2021-08-19T18:31:28.000Z","size":6240,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T19:23:50.286Z","etag":null,"topics":["a11y","blog","cypress","gatsby","markdown","mdx","minimal","netlify","netlify-headers","preact","pwa","pwa-app","react","reactjs","scss","starter","static","static-site","stylelint"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodneylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"custom":"https://www.buymeacoffee.com/rodneylab"}},"created_at":"2021-04-08T09:06:47.000Z","updated_at":"2021-12-04T23:32:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"36ac7fe8-9a60-429d-a3e8-9e9106c7a87b","html_url":"https://github.com/rodneylab/gatsby-starter-climate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rodneylab/gatsby-starter-climate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fgatsby-starter-climate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fgatsby-starter-climate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fgatsby-starter-climate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fgatsby-starter-climate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodneylab","download_url":"https://codeload.github.com/rodneylab/gatsby-starter-climate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fgatsby-starter-climate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a11y","blog","cypress","gatsby","markdown","mdx","minimal","netlify","netlify-headers","preact","pwa","pwa-app","react","reactjs","scss","starter","static","static-site","stylelint"],"created_at":"2024-11-11T00:28:44.015Z","updated_at":"2026-04-13T19:31:41.932Z","avatar_url":"https://github.com/rodneylab.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/rodneylab"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./images/rodneylab-github-gatsby-starter-climate.png\" alt=\"Rodney Lab gatsby-functions-fauna Github banner\"\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Open Rodney Lab site\" href=\"https://rodneylab.com\" rel=\"nofollow noopener noreferrer\"\u003e\n    \u003cimg alt=\"Rodney Lab logo\" src=\"https://rodneylab.com/assets/icon.png\" width=\"60\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/da1e88fb-4fbc-48a4-b8fa-7ca55800ab81/deploy-status)](https://app.netlify.com/sites/affectionate-keller-1a8489/deploys)\n\n\u003ch1 align=\"center\"\u003e\n  Gatsby 3 Starter Climate\n\u003c/h1\u003e\n\n[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/rodneylab/gatsby-starter-climate)\n\nBoilerplate code for a \u003ca aria-label=\"Vist the Gatsby website\" href=\"https://www.gatsbyjs.org\" rel=\"nofollow\"\u003eGatsby 3\u003c/a\u003e blog using \u003ca aria-label=\"Vist the Gatsby website\" href=\"https://www.netlify.com/\" rel=\"nofollow\"\u003eNetlify\u003c/a\u003e for hosting. Based on principles of:\n\n- Accessibility\n- Security\n- Speed\n\nFeatures:\n\n- Optimised for Gatsby 3 - using File Route API, new Gatsby 3 Image Plugin\n- 100% score of Lighthouse accessibility\n- No accessibility warning on axe check\n- High lighthouse speed scores\n- A or higher \u003ca aria-label=\"See demo site security header rating\" href=\"https://securityheaders.com/?q=https%3A%2F%2Fgatsby-mdx-starter.rodneylab.com%2F\u0026followRedirects=on\"\u003esecurity rating for headers from securityheaders.com\u003c/a\u003e\n- Correct use of semantic HTML (only one `\u003ch1\u003e` per page, sections and posts use `\u003csection\u003e` and `\u003carticle\u003e` correctly etc.).\n\n## 🚀 Quick start\n\n1.  **Create a Gatsby 3 site.**\n\n    Use the Gatsby 3 CLI to create a new site, specifying the hello-world starter.\n\n    ```shell\n    # create a new Gatsby 3 MDX blog site using gatsby-starter-climate\n    gatsby new my-mdx-blog-starter https://github.com/rodneylab/gatsby-starter-climate\n    ```\n\n1.  **Start developing.**\n\n    Navigate into your new site’s directory, copy the example environment variables (and customise them to suit your needs) and start it up.\n\n    ```shell\n    cd my-mdx-blog-starter/\n    cp .env.EXAMPLE .env.development\n    cp .env.EXAMPLE .env.production\n    gatsby develop\n    ```\n\n1.  **Open the source code and start editing!**\n\n    Your site is now running at `http://localhost:8000`!\n\n    _Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby 3 tutorial](https://www.gatsbyjs.com/tutorial/part-five/#introducing-graphiql)._\n\n    Open the `my-mdx-blog-starter` directory in your code editor of choice and edit `src/pages/index.jsx`. Save your changes and the browser will update in real time!\n\n## 🧐 What's inside?\n\nA quick look at the top-level files and directories you'll see in a Gatsby 3 project.\n\n    .\n    ├── cypress\n    ├── node_modules\n    ├── src\n    ├── .env.EXAMPLE\n    ├── .eslintrc.js\n    ├── .gitignore\n    ├── .prettierrc\n    ├── commitlint.config.js\n    ├── csp-util\n    ├── gatsby-browser.js\n    ├── gatsby-config.js\n    ├── gatsby-node.js\n    ├── gatsby-ssr.js\n    ├── LICENSE\n    ├── netlify.toml\n    ├── package-lock.json\n    ├── package.json\n    └── README.md\n\n1.  **`/cypress`**: This directory contains Cypress axe accessibility end-to-end tests. You can expand the tests to suit your needs.\n\n2.  **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.\n\n3.  **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for “source code”.\n\n4.  **`.env.EXAMPLE`**: This file contains example environment variables. Make two copies to this same root folder: `.env.development` and `.env.production` and add your personal environment variables. These two files will be excluded from git commits by default.\n\n5.  **`.eslintrc.js`**: This file tells ESLint which linting rules to apply. Set to use Airbnb rules by default. Adjust to suit your taste. As well as code style rules, it applies a11y recommended accessibility checks.\n\n6.  **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for.\n\n7.  **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent.\n\n8.  **`.stylelintrc.json`**: This is a configuration file for [StyleLint](https://stylelint.io/). Stylelint is a tool to help keep the formatting of your code consistent. It can be used in teams to enforce a consistent coding style.\n\n9.  **`commitlint.config.js`**: Configuration for commitlint which is used to enforce conventional git commits. This works in tandem with husky configuration in the `package.json` file.\n\n10. **`csp-util`**: This is a script for placing CSP hashes in Netlify headers, improving site security when running on Netlify.\n\n11. **`gatsby-browser.js`**: This file is where Gatsby 3 expects to find any usage of the [Gatsby 3 browser APIs](https://www.gatsbyjs.com/docs/browser-apis/) (if any). These allow customisation/extension of default Gatsby settings affecting the browser.\n\n12. **`gatsby-config.js`**: This is the main configuration file for a Gatsby 3 site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby 3 plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.com/docs/gatsby-config/) for more detail). To improve security, fairly strict security header parameters are set. **You will almost certainly need to tweak these for your own use case**. For help use the following resources:\n\n    - \u003ca aria-label=\"See security heading ratings and tips\" href=\"https://securityheaders.com/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"\u003esecurityheaders.com\u003c/a\u003e\n    - \u003ca aria-label=\"See security heading tips\" href=\"https://csper.io/\"  target=\"_blank\" rel=\"nofollow noopener noreferrer\"\u003ecsper.io\u003c/a\u003e\n    - \u003ca aria-label=\"Open the Google C S P evaluator tool\" href=\"https://csp-evaluator.withgoogle.com/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"\u003ecsp-evaluator.withgoogle.com\u003c/a\u003e\n\n13. **`gatsby-node.js`**: This file is where Gatsby 3 expects to find any usage of the [Gatsby\u0026nbsp;3 Node APIs](https://www.gatsbyjs.com/docs/node-apis/) (if any). These allow customisation/extension of default Gatsby 3 settings affecting pieces of the site build process.\n\n14. **`gatsby-ssr.js`**: This file is where Gatsby 3 expects to find any usage of the [Gatsby\u0026nbsp;3 server-side rendering APIs](https://www.gatsbyjs.com/docs/ssr-apis/) (if any). These allow customisation of default Gatsby 3 settings affecting server-side rendering.\n\n15. **`LICENSE`**: This Gatsby 3 starter is licensed under the BSD-3-Clause license.\n\n16. **`netlify.toml`** This file contains configuration for Netlify builds. It includes an instruction to use the Netlify `@netlify/plugin-gatsby` plugin which helps improve build speed on Netlify and adds support for \u003ca aria-label=\"Read mroe about Gatsby Functions\" href=\"https://rodneylab.com/gatsby-functions-netlify/\"\u003eGatsby Functions\u003c/a\u003e. It also includes the custom build command, defined in `package.json`, which generates Netlify headers with CSP hashes.\n\n17. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).**\n\n18. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.\n\n19. **`README.md`**: A text file containing useful reference information about your project.\n\n## 🎓 Learning Gatsby 3\n\nLooking for more guidance? Full documentation for Gatsby 3 lives [on the website](https://www.gatsbyjs.com/). Here are some places to start:\n\n- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby 3](https://www.gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.\n\n- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.\n\n## 💫 Deploy\n\n[Build, Deploy, and Host On Netlify](https://www.netlify.com/)\n\nNetlify offers an easy to configure environment and a generous free tier. With baked-in CDN and automated TLS certificates it is a great choice for getting your Gatsby 3 MDX blog up and running at warp speed.\n\nRun the custom build script to ensure CSP hashes are generated and added to Netlify headers:\n\n```bash\nnpm run build\n```\n\n[Netlify](https://netlify.com) CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:\n\n\u003ca arai-label=\"Deploy climate on Netlify\" href=\"https://app.netlify.com/start/deploy?repository=https://github.com/rodneylab/gatsby-starter-climate\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"\u003e\u003cimg src=\"https://www.netlify.com/img/deploy/button.svg\" alt=\"Deploy to Netlify\"\u003e\u003c/a\u003e\n\nAfter clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorise users to log in to the CMS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodneylab%2Fgatsby-starter-climate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodneylab%2Fgatsby-starter-climate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodneylab%2Fgatsby-starter-climate/lists"}