{"id":13519138,"url":"https://github.com/two9seven/fancycompanysite2","last_synced_at":"2025-03-31T12:31:18.473Z","repository":{"id":87639784,"uuid":"284138213","full_name":"two9seven/fancycompanysite2","owner":"two9seven","description":"🚀⚡️ Blazing fast blog built with Gatsby and the Cosmic Headless CMS 🔥","archived":false,"fork":false,"pushed_at":"2023-06-10T00:37:40.000Z","size":1368,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-02T01:32:29.856Z","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/two9seven.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-07-31T22:06:33.000Z","updated_at":"2020-07-31T22:06:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"662db074-adfe-446f-80c4-6337630727e7","html_url":"https://github.com/two9seven/fancycompanysite2","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/two9seven%2Ffancycompanysite2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two9seven%2Ffancycompanysite2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two9seven%2Ffancycompanysite2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two9seven%2Ffancycompanysite2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/two9seven","download_url":"https://codeload.github.com/two9seven/fancycompanysite2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246469137,"owners_count":20782679,"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:54.426Z","updated_at":"2025-03-31T12:31:18.140Z","avatar_url":"https://github.com/two9seven.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Gatsby + Cosmic\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](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 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 Bucket\n\n``` javascript\n{\n  resolve: 'gatsby-source-cosmicjs',\n  options: {\n    bucketSlug: '', /* Find this in Your Bucket \u003e Settings \u003e Basic Settings after logging in at https://app.cosmicjs.com/login */\n    objectTypes: ['posts', 'settings'], /* Object types to fetch */\n    apiAccess: {\n      read_key: '', /* Find this in Your Bucket \u003e Settings \u003e API Access after logging in at https://app.cosmicjs.com/login */\n    },\n    localMedia: true /* Optional. If you want to enable local image for Gatsby Image */\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 their 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%2Ftwo9seven%2Ffancycompanysite2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwo9seven%2Ffancycompanysite2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwo9seven%2Ffancycompanysite2/lists"}