{"id":19335779,"url":"https://github.com/buttercms/nextjs-starter-buttercms","last_synced_at":"2025-10-07T03:19:41.943Z","repository":{"id":42124626,"uuid":"427038669","full_name":"ButterCMS/nextjs-starter-buttercms","owner":"ButterCMS","description":"Drop-in proof-of-concept Next.js app, fully integrated with your ButterCMS account","archived":false,"fork":false,"pushed_at":"2025-03-27T08:40:29.000Z","size":736,"stargazers_count":60,"open_issues_count":1,"forks_count":57,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-30T12:07:08.511Z","etag":null,"topics":["javascript","next","nextjs","starter","starter-kit","starter-project","vercel"],"latest_commit_sha":null,"homepage":"https://nextjs-starter-buttercms.vercel.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/ButterCMS.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}},"created_at":"2021-11-11T14:52:44.000Z","updated_at":"2025-03-27T08:40:12.000Z","dependencies_parsed_at":"2023-02-16T09:01:20.788Z","dependency_job_id":null,"html_url":"https://github.com/ButterCMS/nextjs-starter-buttercms","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fnextjs-starter-buttercms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fnextjs-starter-buttercms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fnextjs-starter-buttercms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fnextjs-starter-buttercms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ButterCMS","download_url":"https://codeload.github.com/ButterCMS/nextjs-starter-buttercms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485287,"owners_count":20946398,"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":["javascript","next","nextjs","starter","starter-kit","starter-project","vercel"],"created_at":"2024-11-10T03:08:47.875Z","updated_at":"2025-10-07T03:19:36.910Z","avatar_url":"https://github.com/ButterCMS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js + ButterCMS Starter Project\n![recommended node version](https://img.shields.io/badge/node-v20-green)\n\nLive Demo: https://nextjs-starter-buttercms.vercel.app/\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FButterCMS%2Fnextjs-starter-buttercms\u0026env=NEXT_PUBLIC_BUTTER_CMS_API_KEY\u0026envDescription=Your%20ButterCMS%20API%20Token\u0026envLink=https%3A%2F%2Fbuttercms.com%2Fsettings%2F\u0026project-name=nextjs-starter-buttercms\u0026repo-name=nextjs-starter-buttercms\u0026redirect-url=https%3A%2F%2Fbuttercms.com%2Fonboarding%2Fvercel-starter-deploy-callback%2F\u0026production-deploy-hook=Deploy%20Triggered%20from%20ButterCMS\u0026demo-title=ButterCMS%20Next.js%20Starter\u0026demo-description=Fully%20integrated%20with%20your%20ButterCMS%20account\u0026demo-url=https%3A%2F%2Fnextjs-starter-buttercms.vercel.app%2F\u0026demo-image=https://cdn.buttercms.com/r0tGK8xFRti2iRKBJ0eY\u0026repository-name=nextjs-starter-buttercms)\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/ButterCMS/nextjs-starter-buttercms\u0026env%5BNEXT_PUBLIC_BUTTER_CMS_API_KEY%5D=check%20https://buttercms.com/settings)\n\nThis Next.js starter project fully integrates with dynamic sample content from your ButterCMS account, including main menu, pages, blog posts, categories, and tags, all with a beautiful, custom theme with already-implemented search functionality. All of the included sample content is automatically created in your account dashboard when you sign up for a free trial of ButterCMS.\n\nA copy of this starter project can be easily and quickly deployed to Vercel or Heroku with the click of a button.\n## 1) Installation\n\nFirst, install the dependencies by cloning the repo and running one of the following commands, depending on your current setup:\n```bash\ngit clone https://github.com/ButterCMS/nextjs-starter-buttercms.git\ncd nextjs-starter-buttercms\nnpm install # or yarn install\n```\n\n## 2) Set API Token\n\nTo fetch your ButterCMS content, add your API token as an environment variable.\n\n```bash\n$ echo 'NEXT_PUBLIC_BUTTER_CMS_API_KEY=\u003cYour API Token\u003e' \u003e\u003e .env\n```\n\n## 3) Run the local server\n\nTo view the app in a browser, you'll need to run the local development server:\n\n```bash\nnpm run dev # or yarn dev\n```\n\nCongratulations! Your starter project is now live: [http://localhost:3000](http://localhost:3000).\n\n## 4) Deploy\n\nDeploy your Butterized proof of concept app and spread your love of Butter, to either \nVercel, the creators of Next.js, or to Heroku. With the click of a button, you'll create a copy of our starter project in your Git provider account, instantly deploy it, and institute a full content workflow connected to your ButterCMS account. Smooth.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FButterCMS%2Fnextjs-starter-buttercms\u0026env=NEXT_PUBLIC_BUTTER_CMS_API_KEY\u0026envDescription=Your%20ButterCMS%20API%20Token\u0026envLink=https%3A%2F%2Fbuttercms.com%2Fsettings%2F\u0026project-name=nextjs-starter-buttercms\u0026repo-name=nextjs-starter-buttercms\u0026redirect-url=https%3A%2F%2Fbuttercms.com%2Fonboarding%2Fvercel-starter-deploy-callback%2F\u0026production-deploy-hook=Deploy%20Triggered%20from%20ButterCMS\u0026demo-title=ButterCMS%20Next.js%20Starter\u0026demo-description=Fully%20integrated%20with%20your%20ButterCMS%20account\u0026demo-url=https%3A%2F%2Fnextjs-starter-buttercms.vercel.app%2F\u0026demo-image=https://cdn.buttercms.com/r0tGK8xFRti2iRKBJ0eY\u0026repository-name=nextjs-starter-buttercms)\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/ButterCMS/nextjs-starter-buttercms\u0026env%5BNEXT_PUBLIC_BUTTER_CMS_API_KEY%5D=check%20https://buttercms.com/settings)\n\n## 5) Previewing\n\nYour starter project is automatically configured to show draft changes saved in your Butter account when run locally or deployed to a hosting provider. To disable this behavior, set the following value in your .env file: PREVIEW=false.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttercms%2Fnextjs-starter-buttercms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuttercms%2Fnextjs-starter-buttercms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttercms%2Fnextjs-starter-buttercms/lists"}