{"id":27598121,"url":"https://github.com/netlify-templates/nextjs-contentful-starter","last_synced_at":"2025-10-13T14:14:29.790Z","repository":{"id":154205530,"uuid":"607590912","full_name":"netlify-templates/nextjs-contentful-starter","owner":"netlify-templates","description":"Netlify Next.js and Contentful minimal starter with visual editing.","archived":false,"fork":false,"pushed_at":"2025-10-06T06:01:41.000Z","size":4337,"stargazers_count":28,"open_issues_count":2,"forks_count":116,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-06T08:15:50.072Z","etag":null,"topics":["contentful","next","nextjs","tailwindcss","tailwindcss-v4","visual-editor"],"latest_commit_sha":null,"homepage":"https://nextjs-contentful-starter.netlify.app/","language":"JavaScript","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/netlify-templates.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-28T09:31:35.000Z","updated_at":"2025-10-06T06:01:44.000Z","dependencies_parsed_at":"2023-12-07T12:27:54.903Z","dependency_job_id":"c9405bce-fc3c-4165-8a27-0ee25835e933","html_url":"https://github.com/netlify-templates/nextjs-contentful-starter","commit_stats":null,"previous_names":["netlify-templates/nextjs-contentful-starter","stackbit-themes/nextjs-contentful-starter"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/netlify-templates/nextjs-contentful-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fnextjs-contentful-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fnextjs-contentful-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fnextjs-contentful-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fnextjs-contentful-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlify-templates","download_url":"https://codeload.github.com/netlify-templates/nextjs-contentful-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fnextjs-contentful-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015709,"owners_count":26085748,"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-10-13T02:00:06.723Z","response_time":61,"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":["contentful","next","nextjs","tailwindcss","tailwindcss-v4","visual-editor"],"created_at":"2025-04-22T14:11:52.962Z","updated_at":"2025-10-13T14:14:29.752Z","avatar_url":"https://github.com/netlify-templates.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netlify Next.js + Contentful Minimal Starter\n\n![Screenshot](https://assets.stackbit.com/docs/tutorial-shared-thumb.png)\n\n**⚡ View demo:** [nextjs-contentful-starter.netlify.app](https://nextjs-contentful-starter.netlify.app/)\n\n## Prerequisites\n\nBefore you begin, please make sure you have the following:\n\n- [Netlify account](https://www.netlify.com/)\n- [Contentful account](https://www.contentful.com/)\n- GitHub, GitLab or Bitbucket account\n- Node v18+ or later\n- (optional) [nvm](https://github.com/nvm-sh/nvm) for Node version management.\n\n## Getting Started\n\n### Clone this repository\n\nFork and clone your repository, then run `npm install` in its root directory.\n\n### Create Contentful Space\n\nAfter signing into Contentful, create a new space. \n\n### Generate Management Token\n\nIf you don't already have a management token (or _personal access token_), generate one. To do so, go into your new empty space, then:\n\n1. Click _Settings_\n1. Choose _API Keys_\n1. Select the _Content management tokens_ tab\n1. Click the button to generate a new token\n\n![Generate content management token](./docs/generate-mgmt-token.png)\n\n### Generate Preview \u0026 Delivery API Keys\n\nFrom the same place you generated the management token, you can now generate API access keys.\n\n1. Select the *content delivery / preview tokens* tab\n1. Choose *Add API key*\n\n### Set Environment Variables\n\nIn your project, duplicate `.env.example` to `.env`. \n\nFill in the values in the file based on the keys you've created. \n\nNote: the Contentful space ID can be viewed and copied via *Settings-\u003eGeneral Settings* in Contentful.\n\n### Import Content\n\nImport the provided content models \u0026 content into Contentful by running the `import.js` script:\n\n    npm run import\n\nIf the import fails to run, make sure that you've run `npm install` and that all keys in your `.env` file are set correctly.\n\n### Run the Website\n\nRun the Next.js development server:\n\n    npm run dev\n\nVisit [localhost:3000](http://localhost:3000) and you should see the example content you imported into your new Contentful space.\n\n### Run Netlify Visual Editor in Local Development Mode\n\nKeep the Next.js development server running, and open a new command-line window in the same directory.\n\nInstall Stackbit's CLI tools (once):\n    \n    npm i -g @stackbit/cli@latest\n\nRun the CLI:\n\n    stackbit dev\n\nClick the displayed link to [localhost:8090/_stackbit](http://localhost:8090/_stackbit) and the visual editor will open.\n\n### Create a Cloud-Based Netlify Project\n\nTo deploy a cloud-based Netlify project your need to connected your repository to Netlify:\n\n1. If you haven't created your GitHub project repository, create it and push your code to GitHub\n2. Open the [app.netlify.com](https://app.netlify.com/), and choose \"Import from Git\" in the \"Import an existing project\" section\n3. In the \"Configure site and deploy\" step you will see the \"Visual editor\" section. To make it work, you will need to install \"Netlify Visual Editor GitHub App\" in your GitHub account.\n4. Deploy your project\n\n## Next Steps\n\nHere are a few suggestions on what to do next if you're new to Netlify visual editor:\n\n- Learn [how Netlify visual editor works](https://docs.netlify.com/visual-editor/overview/)\n- Check [Netlify visual editor reference documentation](https://visual-editor-reference.netlify.com/)\n\n## Support\n\nIf you get stuck along the way, get help in our [support forums](https://answers.netlify.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify-templates%2Fnextjs-contentful-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlify-templates%2Fnextjs-contentful-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify-templates%2Fnextjs-contentful-starter/lists"}