{"id":15715263,"url":"https://github.com/cloudflare/next-on-pages","last_synced_at":"2025-05-13T17:08:36.750Z","repository":{"id":62006310,"uuid":"554307884","full_name":"cloudflare/next-on-pages","owner":"cloudflare","description":"CLI to build and develop Next.js apps for Cloudflare Pages","archived":false,"fork":false,"pushed_at":"2025-04-01T14:41:32.000Z","size":4593,"stargazers_count":1427,"open_issues_count":132,"forks_count":146,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-05-12T21:54:09.162Z","etag":null,"topics":["cloudflare-pages","nextjs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cloudflare/next-on-pages","language":"TypeScript","has_issues":true,"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/cloudflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","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}},"created_at":"2022-10-19T15:39:07.000Z","updated_at":"2025-05-12T19:31:37.000Z","dependencies_parsed_at":"2023-02-10T07:00:47.413Z","dependency_job_id":"c39bcbe1-b6e7-4bf7-ba1f-1ed50833058c","html_url":"https://github.com/cloudflare/next-on-pages","commit_stats":{"total_commits":411,"total_committers":47,"mean_commits":8.74468085106383,"dds":0.586374695863747,"last_synced_commit":"96c331d20e679ebad0e43153430786685dbbcdec"},"previous_names":[],"tags_count":95,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fnext-on-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fnext-on-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fnext-on-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fnext-on-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/next-on-pages/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253830904,"owners_count":21971000,"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":["cloudflare-pages","nextjs"],"created_at":"2024-10-03T21:40:47.990Z","updated_at":"2025-05-13T17:08:31.738Z","avatar_url":"https://github.com/cloudflare.png","language":"TypeScript","funding_links":[],"categories":["Templates \u0026 Examples","Tools"],"sub_categories":["Framework Integrations"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003e⚡▲ \u003ccode\u003e@cloudflare/next-on-pages\u003c/code\u003e ▲⚡\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003eBuild, develop, and deploy Next.js apps for Cloudflare Pages.\u003c/p\u003e\n\u003c/p\u003e\n\n\u003e [!NOTE]  \n\u003e The best way to run Next.js apps on Cloudflare is to use [`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare). If you're coming from Vercel, you can migrate your Next.js app easily using [Diverce](https://github.com/ygwyg/diverce), which can also help you migrate from `@cloudflare/next-on-pages`\n\n`@cloudflare/next-on-pages` is a CLI tool that you can use to build and develop [Next.js](https://nextjs.org/) applications so that they can run on the [Cloudflare Pages](https://pages.cloudflare.com/) platform.\n\nAlongside the `@cloudflare/next-on-pages` there is an additional package `eslint-plugin-next-on-pages` implementing an Eslint plugin which aim is to aid developers at using the `@cloudflare/next-on-pages` more efficiently and improve their overall developer experience when working with it.\n\nYou can see the packages contents (with their documentation) in their respective package directories:\n\n- [`@cloudflare/next-on-pages`](https://github.com/cloudflare/next-on-pages/tree/main/packages/next-on-pages#cloudflarenext-on-pages)\n- [`eslint-plugin-next-on-pages`](https://github.com/cloudflare/next-on-pages/tree/main/packages/eslint-plugin-next-on-pages#eslint-plugin-next-on-pages)\n\nAdditionally there is also the `next-dev` submodule which is implemented as a separate package in this repository but included as a submodule of the main `@cloudflare/next-on-pages` package, you can see the submodule's content here:\n\n- [`@cloudflare/next-on-pages/next-dev`](https://github.com/cloudflare/next-on-pages/tree/main/internal-packages/next-dev)\n\n## Contributing\n\nIf you want to contribute to this project (both to the main package and the eslint one) please refer to the [Contributing document](./docs/contributing.md).\n\n## References\n\nExtra references you might be interested in:\n\n- [Blog post](https://blog.cloudflare.com/next-on-pages)\n\n  The original blog post introducing `@cloudflare/next-on-pages` (24/10/2022), it goes into details on the inspiration for this package and provides some details on how it works.\n\n- [Cloudflare Next.js Guide](https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/)\n\n  Cloudflare guide on how to create and deploy a Next.js application. The application can be either static (and deployed as simple static assets) or dynamic using the edge runtime (using `@cloudflare/next-on-pages`).\n\n- [Caching and Data Revalidation](./packages/next-on-pages/docs/caching.md)\n\n  Documentation on how the caching and data revalidation for applications built using `@cloudflare/next-on-pages` works.\n\n- [Technical Documentation](./docs/technical)\n\n  Explanations and insights into how `@cloudflare/next-on-pages` works, design decisions behind different aspects, and how it handles different Next.js features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fnext-on-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fnext-on-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fnext-on-pages/lists"}