{"id":19335762,"url":"https://github.com/buttercms/blog-engine-to-pages-example-site","last_synced_at":"2025-07-14T22:37:49.841Z","repository":{"id":180163906,"uuid":"663578949","full_name":"ButterCMS/blog-engine-to-pages-example-site","owner":"ButterCMS","description":"Migrate from Blog Engine to Pages Example Site","archived":false,"fork":false,"pushed_at":"2023-11-03T15:37:43.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T17:41:11.908Z","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":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,"governance":null}},"created_at":"2023-07-07T16:13:13.000Z","updated_at":"2023-07-10T15:36:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8da46861-0706-43fd-82f1-7d76778e2717","html_url":"https://github.com/ButterCMS/blog-engine-to-pages-example-site","commit_stats":null,"previous_names":["buttercms/blog-engine-to-pages-example-site"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fblog-engine-to-pages-example-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fblog-engine-to-pages-example-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fblog-engine-to-pages-example-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fblog-engine-to-pages-example-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ButterCMS","download_url":"https://codeload.github.com/ButterCMS/blog-engine-to-pages-example-site/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441868,"owners_count":19801791,"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-11-10T03:08:44.544Z","updated_at":"2025-02-24T07:43:27.108Z","avatar_url":"https://github.com/ButterCMS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blog-engine-to-pages-example-site\nMigrate from Blog Engine to Pages Example Site\n\nThis repository contains a Next.js site that demonstrates how to display content from a custom blog pages type in ButterCMS.\nIt also has a `/migrate` page that demonstrates how to migrate content from a custom blog engine to ButterCMS with Next.js API routes.\n\nPreview - \u003chttps://butter-custom-blog-pages.netlify.app/\u003e\n\n\u003e Developed by [Miracle Onyenma](https://www.linkedin.com/in/miracleio/) for ButterCMS.\n\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Getting Started\n\nCreate a `.env` file with the following contents:\n\n```bash\nBUTTERCMS_WRITE_TOKEN=enter_your_write_token\nBUTTERCMS_READ_TOKEN=enter_your_read_token\nBUTTERCMS_API_URL=https://api.buttercms.com/v2\n```\n\nThen, run the 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\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\n## Important Note\nThis project was created as an example use case of ButterCMS in conjunction with a blog article, [How to Migrate Content from the Blog Engine to Custom Pages Using the Write API](https://buttercms.com/kb/migrate-from-blog-engine-to-custom-pages-using-write-api/), and will not be actively maintained.\n\nIf you're interested in exploring the best, most up-to-date way to integrate Butter into projects, you can check out the following resources:\n\n### Starter Projects\n\nThe following turn-key starters are fully integrated 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- [Nuxt.js Starter](https://buttercms.com/starters/nuxtjs-starter-project/)\n- [Angular Starter](https://buttercms.com/starters/angular-starter-project/)\n- [React Starter](https://buttercms.com/starters/react-starter-project/)\n- [Vue.js Starter](https://buttercms.com/starters/vuejs-starter-project/)\n- Or see a list of all our [currently-maintained starters](https://buttercms.com/starters/)\n\n### Other Resources\n- Check out the [official ButterCMS Docs](https://buttercms.com/docs/)\n- Check out the [official ButterCMS API docs](https://buttercms.com/docs/api/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttercms%2Fblog-engine-to-pages-example-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuttercms%2Fblog-engine-to-pages-example-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttercms%2Fblog-engine-to-pages-example-site/lists"}