{"id":16144650,"url":"https://github.com/officialrajdeepsingh/nextjsghostcms","last_synced_at":"2025-04-23T03:52:23.139Z","repository":{"id":150114184,"uuid":"618039373","full_name":"officialrajdeepsingh/nextjsghostcms","owner":"officialrajdeepsingh","description":"Combine the Nextjs and Ghost CMS API ","archived":false,"fork":false,"pushed_at":"2024-04-12T09:55:47.000Z","size":500,"stargazers_count":27,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T19:17:36.109Z","etag":null,"topics":["ghost","ghost-api","ghost-cms","ghost-cms-api","nextjs","nextjsandghostapi","react"],"latest_commit_sha":null,"homepage":"https://nextjsghostcms.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/officialrajdeepsingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-03-23T16:16:39.000Z","updated_at":"2025-03-01T12:19:13.000Z","dependencies_parsed_at":"2024-11-01T19:40:50.293Z","dependency_job_id":"1ed1d442-7b70-47d9-956e-3f30d1313671","html_url":"https://github.com/officialrajdeepsingh/nextjsghostcms","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/officialrajdeepsingh%2Fnextjsghostcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officialrajdeepsingh%2Fnextjsghostcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officialrajdeepsingh%2Fnextjsghostcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officialrajdeepsingh%2Fnextjsghostcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/officialrajdeepsingh","download_url":"https://codeload.github.com/officialrajdeepsingh/nextjsghostcms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366687,"owners_count":21418768,"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":["ghost","ghost-api","ghost-cms","ghost-cms-api","nextjs","nextjsandghostapi","react"],"created_at":"2024-10-10T00:13:47.313Z","updated_at":"2025-04-23T03:52:23.110Z","avatar_url":"https://github.com/officialrajdeepsingh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Set up your blog with Next 13 (appDir) and Ghost CMS; combine both packages with building a static site blog.\n\n## Getting Started\nFirst clone the repo with the `git clone` command\n\n### Installation\n```bash\n#  clone the repo\ngit clone  https://github.com/officialrajdeepsingh/nextjsghostcms.git\n\n# go to clone folder\ncd nextjsghostcms\n\n#  install all depe\n\nnpm install\n# or\nyarn install\n# or\npnpm install\n```\n### Environment Variable ( Require )\nThe next setup is adding an environment variable in your nextjs app. without config, and the environment app does not work.\n\n```javascript\nGHOST_URL=https://nextghost.blog\nGHOST_KEY=d762c******0a299\n```\n\nThen run your development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n#### Note\nCurrently, the project is not ready for typescript. That way, I disable typescript on build time in nextjs. \n```typescript\n\n// next.config.js\n\n/** @type {import('next').NextConfig} */\nconst nextConfig = {\n\n  typescript: {\n    ignoreBuildErrors: true, // ignore typescipt error on build time \n  },\n  // ....\n}\n\nmodule.exports = nextConfig\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofficialrajdeepsingh%2Fnextjsghostcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofficialrajdeepsingh%2Fnextjsghostcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofficialrajdeepsingh%2Fnextjsghostcms/lists"}