{"id":22533644,"url":"https://github.com/codestian/codestian-blog","last_synced_at":"2025-10-25T04:15:51.558Z","repository":{"id":110174874,"uuid":"412779807","full_name":"Codestian/codestian-blog","owner":"Codestian","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-09T08:52:59.000Z","size":22370,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T06:41:31.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Codestian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-02T11:43:47.000Z","updated_at":"2021-10-10T10:57:06.000Z","dependencies_parsed_at":"2023-09-01T11:46:20.161Z","dependency_job_id":null,"html_url":"https://github.com/Codestian/codestian-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codestian%2Fcodestian-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codestian%2Fcodestian-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codestian%2Fcodestian-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codestian%2Fcodestian-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codestian","download_url":"https://codeload.github.com/Codestian/codestian-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978231,"owners_count":20703677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-07T09:09:07.392Z","updated_at":"2025-10-25T04:15:51.463Z","avatar_url":"https://github.com/Codestian.png","language":"JavaScript","readme":"# Gatsby + Netlify CMS Starter\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/b654c94e-08a6-4b79-b443-7837581b1d8d/deploy-status)](https://app.netlify.com/sites/gatsby-starter-netlify-cms-ci/deploys)\n\n**Note:** This starter uses [Gatsby v2](https://www.gatsbyjs.org/blog/2018-09-17-gatsby-v2/).\n\nThis repo contains an example business website that is built with [Gatsby](https://www.gatsbyjs.org/), and [Netlify CMS](https://www.netlifycms.org): **[Demo Link](https://gatsby-netlify-cms.netlify.com/)**.\n\nIt follows the [JAMstack architecture](https://jamstack.org) by using Git as a single source of truth, and [Netlify](https://www.netlify.com) for continuous deployment, and CDN distribution.\n\n## Features\n\n- A simple landing page with blog functionality built with Netlify CMS\n- Editable Pages: Landing, About, Product, Blog-Collection and Contact page with Netlify Form support\n- Create Blog posts from Netlify CMS\n- Tags: Separate page for posts under each tag\n- Basic directory organization\n- Uses Bulma for styling, but size is reduced by `purge-css-plugin`\n- Blazing fast loading times thanks to pre-rendered HTML and automatic chunk loading of JS files\n- Uses `gatsby-image` with Netlify-CMS preview support\n- Separate components for everything\n- Netlify deploy configuration\n- Netlify function support, see `lambda` folder\n- Perfect score on Lighthouse for SEO, Accessibility and Performance (wip:PWA)\n- ..and more\n\n## Prerequisites\n\n- Node (I recommend using v8.2.0 or higher)\n- [Gatsby CLI](https://www.gatsbyjs.com/docs/reference/gatsby-cli/)\n- [Netlify CLI](https://github.com/netlify/cli)\n\n## Getting Started (Recommended)\n\nNetlify 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. The example here is the Kaldi coffee company template (adapted from [One Click Hugo CMS](https://github.com/netlify-templates/one-click-hugo-cms)). Use the button below to build and deploy your own copy of the repository:\n\n\u003ca href=\"https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/gatsby-starter-netlify-cms\u0026amp;stack=cms\"\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 authorize users to log in to the CMS.\n\n### Access Locally\n\nPulldown a local copy of the Github repository Netlify created for you, with the name you specified in the previous step\n```\n$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git\n$ cd [REPO_NAME]\n$ yarn\n$ netlify dev # or ntl dev\n```\n\nThis uses the new [Netlify Dev](https://www.netlify.com/products/dev/?utm_source=blog\u0026utm_medium=netlifycms\u0026utm_campaign=devex) CLI feature to serve any functions you have in the `lambda` folder.\n\nTo test the CMS locally, you'll need to run a production build of the site:\n\n```\n$ npm run build\n$ netlify dev # or ntl dev\n```\n\n### Media Libraries (installed, but optional)\n\nMedia Libraries have been included in this starter as a default. If you are not planning to use `Uploadcare` or `Cloudinary` in your project, you **can** remove them from module import and registration in `src/cms/cms.js`. Here is an example of the lines to comment or remove them your project.\n\n```javascript\nimport CMS from 'netlify-cms-app'\n// import uploadcare from 'netlify-cms-media-library-uploadcare'\n// import cloudinary from 'netlify-cms-media-library-cloudinary'\n\nimport AboutPagePreview from './preview-templates/AboutPagePreview'\nimport BlogPostPreview from './preview-templates/BlogPostPreview'\nimport ProductPagePreview from './preview-templates/ProductPagePreview'\nimport IndexPagePreview from './preview-templates/IndexPagePreview'\n\n// CMS.registerMediaLibrary(uploadcare);\n// CMS.registerMediaLibrary(cloudinary);\n\nCMS.registerPreviewTemplate('index', IndexPagePreview)\nCMS.registerPreviewTemplate('about', AboutPagePreview)\nCMS.registerPreviewTemplate('products', ProductPagePreview)\nCMS.registerPreviewTemplate('blog', BlogPostPreview)\n```\n\nNote: Don't forget to also remove them from `package.json` and `yarn.lock` / `package-lock.json` using `yarn` or `npm`. During the build netlify-cms-app will bundle the media libraries as well, having them removed will save you build time.\nExample:\n```\nyarn remove netlify-cms-media-library-uploadcare\n```\nOR\n```\nyarn remove netlify-cms-media-library-cloudinary\n```\n## Getting Started (Without Netlify)\n\n```\n$ gatsby new [SITE_DIRECTORY_NAME] https://github.com/netlify-templates/gatsby-starter-netlify-cms/\n$ cd [SITE_DIRECTORY_NAME]\n$ npm run build\n$ npm run serve\n```\n\n### Setting up the CMS\n\nFollow the [Netlify CMS Quick Start Guide](https://www.netlifycms.org/docs/quick-start/#authentication) to set up authentication, and hosting.\n\n## Debugging\n\nWindows users might encounter `node-gyp` errors when trying to npm install.\nTo resolve, make sure that you have both Python 2.7 and the Visual C++ build environment installed.\n\n```\nnpm config set python python2.7\nnpm install --global --production windows-build-tools\n```\n\n[Full details here](https://www.npmjs.com/package/node-gyp 'NPM node-gyp page')\n\nMacOS users might also encounter some errors, for more info check [node-gyp](https://github.com/nodejs/node-gyp). We recommend using the latest stable node version.\n\n## Purgecss\n\nThis plugin uses [gatsby-plugin-purgecss](https://www.gatsbyjs.org/packages/gatsby-plugin-purgecss/) and [bulma](https://bulma.io/). The bulma builds are usually ~170K but reduced 90% by purgecss.\n\n# CONTRIBUTING\n\nContributions are always welcome, no matter how large or small. Before contributing,\nplease read the [code of conduct](CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestian%2Fcodestian-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodestian%2Fcodestian-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestian%2Fcodestian-blog/lists"}