This sibling project targets Cloudflare’s edge platform, adapting Next.js apps to run on Workers and related services. It converts server components, API routes, and middleware into Worker scripts, while placing static assets in globally distributed storage for low-latency delivery. The adapter accounts for edge constraints—limited runtime APIs, streaming semantics, and per-request cold starts—so Next.js features remain functional at the perimeter. It integrates with platform primitives like key-value stores and durable/relational options where needed for sessions, caches, or data hydration. The developer workflow mirrors standard Next.js builds, with additional steps to package and deploy to the edge without editing application code. Emphasis is placed on fast first byte and consistent behavior worldwide, making it attractive for content-heavy or interactive apps.

Features

  • Supports App & Pages routers, SSG, SSR, ISR, middleware, image optimization, PPR, composable caching
  • Integrates with Cloudflare Images for optimized image serving
  • Supports Node.js API runtime in Workers (not Edge runtime)
  • Build, preview, and deploy via CLI with Wrangler integration (build, deploy, preview)
  • Local development integration via initOpenNextCloudflareForDev helper
  • Active development with frequent pre‑release versions

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

MIT License

Follow OpenNext for Cloudflare

OpenNext for Cloudflare Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenNext for Cloudflare!

Additional Project Details

Operating Systems

Windows

Programming Language

TypeScript

Related Categories

TypeScript Build Tools

Registered

2025-09-01