{"id":21169165,"url":"https://github.com/cosmicjs/cosmic-react-blog","last_synced_at":"2025-09-01T05:36:13.659Z","repository":{"id":37855049,"uuid":"134731803","full_name":"cosmicjs/cosmic-react-blog","owner":"cosmicjs","description":"Clean, minimalist, content-first Blog powered by Cosmic JS ","archived":false,"fork":false,"pushed_at":"2022-07-18T17:51:05.000Z","size":326,"stargazers_count":5,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T19:49:15.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cosmicblog.chriso.io","language":"JavaScript","has_issues":false,"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/cosmicjs.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}},"created_at":"2018-05-24T15:05:05.000Z","updated_at":"2023-08-29T07:32:51.000Z","dependencies_parsed_at":"2022-08-19T09:12:09.609Z","dependency_job_id":null,"html_url":"https://github.com/cosmicjs/cosmic-react-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cosmicjs/cosmic-react-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-react-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-react-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-react-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-react-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmicjs","download_url":"https://codeload.github.com/cosmicjs/cosmic-react-blog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-react-blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273077227,"owners_count":25041358,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-20T15:24:44.489Z","updated_at":"2025-09-01T05:36:13.585Z","avatar_url":"https://github.com/cosmicjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cosmic Blog\n\n![Preview](https://cosmic-s3.imgix.net/36dd5d40-5dde-11e8-8b90-49cb251195d1-smartmockups_jhhwhno1.jpeg)\n\n### [View Demo](https://cosmicblog.chriso.io)\n\n### [Cosmic JS](https://cosmicjs.com/)\nThis project was created to expirement with and demonstrate the Cosmic JS tooling. All of the backend data is stored, edited, and retreived using Cosmic JS.\n\n### [React](https://reactjs.org/) + [Next.js](https://nextjs.org/)\nThis is a universal web application, meaning it is rendered on the server, as well as the client. This provides better initial load times and search engine optimization.\n\n### Getting Started\n```\ngit clone https://github.com/chrisoverstreet/cosmic-blog\ncd cosmic-blog\nnpm i\n```\n\n### Develop\n\n#### Add required development config files\n\n - /.env _- secret variables (used on backend)_\n```\nPORT=\u003c__PORT__\u003e\nBUCKET_SLUG=\u003c__BUCKET_SLUG__\u003e\n```\n\n#### Run in development\n```\nnpm run dev\n```\n\n### Deploy\n\n#### Add required production config files\n- /.env.production _- secret variables (used on backend)_\n```\nPORT=\u003c__PORT__\u003e\nBUCKET_SLUG=\u003c__BUCKET_SLUG__\u003e\n```\n- /.config.js _- public variables (used on frontend)_\n```\nAPI_URL: 'https://\u003c__YOUR_DOMAIN__\u003e/api',\nBASE_URL: 'https://\u003c__YOUR_DOMAIN__\u003e',\n```\n\n- /now.json _- Now deployment configuration_\n```\n{\n  \"alias\": [\n    \u003c__YOUR_DOMAIN__\u003e\n  ],\n  \"dotenv\": \".env.production\",\n  \"public\": false\n}\n```\n\n#### Deploy via [Now](https://zeit.co/now)\n```\nnpm run deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fcosmic-react-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmicjs%2Fcosmic-react-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fcosmic-react-blog/lists"}