{"id":13517112,"url":"https://github.com/Novvum/gatsby-cloud-cosmicjs","last_synced_at":"2025-03-31T07:31:04.174Z","repository":{"id":97372150,"uuid":"241379464","full_name":"Novvum/gatsby-cloud-cosmicjs","owner":"Novvum","description":"🚀⚡️ Blazing fast blog built with Gatsby and Cosmic JS 🔥","archived":false,"fork":false,"pushed_at":"2023-06-10T00:11:01.000Z","size":939,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T08:32:13.493Z","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/Novvum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-02-18T14:16:25.000Z","updated_at":"2020-02-18T14:16:33.000Z","dependencies_parsed_at":"2023-03-04T12:15:23.420Z","dependency_job_id":null,"html_url":"https://github.com/Novvum/gatsby-cloud-cosmicjs","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/Novvum%2Fgatsby-cloud-cosmicjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novvum%2Fgatsby-cloud-cosmicjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novvum%2Fgatsby-cloud-cosmicjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novvum%2Fgatsby-cloud-cosmicjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novvum","download_url":"https://codeload.github.com/Novvum/gatsby-cloud-cosmicjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246433096,"owners_count":20776528,"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-08-01T05:01:29.910Z","updated_at":"2025-03-31T07:31:03.032Z","avatar_url":"https://github.com/Novvum.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Gatsby + Cosmic JS\n\n![gatsby-blog-cosmicjs](https://cdn.cosmicjs.com/fe5196f0-42c2-11ea-8d10-df553329919a-gatsby-blog-cosmic.png \"The index page of the starter blog\")\n\n\u003e This repo contains an example blog website that is built with [Gatsby](https://www.gatsbyjs.org/), and [Cosmic JS](https://www.cosmicjs.com).\n\n\u003e [See live demo hosted on Netlify](https://gatsby-blog-cosmicjs.netlify.com/)\n\n\u003e Uses the [Cosmic JS Gatsby Source Plugin](https://www.npmjs.com/package/gatsby-source-cosmicjs)\n\n## Prerequisites\n\n- Node (I recommend using v8.2.0 or higher)\n- [Gatsby CLI](https://www.gatsbyjs.org/docs/)\n\n## Install\n\n``` bash\n# Make sure that you have the Gatsby CLI program installed\nnpm install --global gatsby-cli\n\n# run from your CLI\ngatsby new gatsby-example-blog https://github.com/cosmicjs/gatsby-blog-cosmicjs\n```\nIn `gatsby-config.js` you need to add configuration for your Cosmic JS Bucket\n\n``` javascript\n{\n  resolve: 'gatsby-source-cosmicjs',\n  options: {\n    bucketSlug: '', /* bucket slug */\n    objectTypes: ['posts', 'settings'], /* object slugs you want to populate */\n    apiAccess: {\n      read_key: '', /* optional */\n    }\n  }\n},\n```\n\nThen\n\n``` bash\n# Then you can run it by\ncd gatsby-example-blog\nnpm run develop\n```\n\n## Deploy to Netlify\nYou can deploy to Netlify in a few steps using thier CLI. Run the following commands from the root folder.\n```\nnpm i -g netlify-cli\nnetlify deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNovvum%2Fgatsby-cloud-cosmicjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNovvum%2Fgatsby-cloud-cosmicjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNovvum%2Fgatsby-cloud-cosmicjs/lists"}