OpenNext for Cloudflare is an adapter that enables the deployment of Next.js applications to Cloudflare's developer platform.
This monorepo includes a package for adapting a Next.js application built via next build
(in standalone mode) to run in the Cloudflare workerd runtime using the Workers Node.js compatibility layer.
Visit the OpenNext docs for instructions on starting a new project, or migrating an existing one.
The repository contains two directories:
packages
containing a cloudflare package that can be used to build a Cloudflare Workers-compatible output for Next.js applications.examples
containing Next.js applications that use the above mentioned cloudflare package.
See the CONTRIBUTING page for how to get started with this repository.