qmetrics.net

OpenNext for Cloudflare

Next.js adapter for Cloudflare Workers deployment

OpenNext for Cloudflare screenshot

The @opennextjs/cloudflare package adapts Next.js standalone builds to run on Cloudflare Workers with the Node.js compatibility layer in workerd.

Overview

OpenNext for Cloudflare is an adapter that lets Next.js applications built with next build in standalone mode run on Cloudflare’s developer platform. It produces Workers-compatible output using the Workers Node.js compatibility layer in the workerd runtime, so apps can rely on the fuller Node.js runtime rather than the constrained Edge runtime.

Documentation contrasts this with older Cloudflare Next integrations that only supported the Edge runtime and therefore fewer Next.js features. Supported capabilities include App Router and Pages Router patterns, route handlers, dynamic routes, SSG, SSR, middleware, node middleware experiments, image optimization with Cloudflare Images, partial prerendering, ISR on Pages Router, composable caching, Turbopack builds, and related features across supported Next.js release lines.

Workflow: add the package, run npx @opennextjs/cloudflare, which builds via package.json scripts then transforms artifacts for local Wrangler runs and Cloudflare deployment. New projects can be scaffolded with create cloudflare using the Next framework on Workers. Windows is supported with caveats; WSL, Linux VMs, or Linux CI are recommended when native tooling is unreliable.

Worker upload size limits apply after build; Wrangler reports compressed size relevant to Cloudflare plan limits. The adapter is maintained as part of the broader OpenNext multi-platform effort alongside AWS and Netlify adapters.

Key features

  • Standalone Next.js to Workers transform
  • Node.js runtime on Cloudflare Workers
  • Wrangler local run and deploy flow
  • App Router and Pages Router support
  • SSR, SSG, ISR, and middleware
  • Image optimization integration path
  • create cloudflare scaffolding option
  • Prerelease npm builds from branches

Use cases

  • Hosting Next.js on Cloudflare Workers
  • Migrating existing Next apps to Cloudflare
  • Needing Node APIs on edge infrastructure
  • CI/CD Linux builds for Windows developers
  • Multi-region Next.js at the edge

Tags

Similar software

gulp.js

Streaming JavaScript toolkit for development workflow automation

Gulp automates repetitive development tasks by chaining streaming file transformations. It offers a small API, thousands of plugins, and runs with Node.js and other platforms used in major IDEs.

★ 32.9k⟳ 9 months agoMIT
Build & DeploymentDesktop/CLI app

Jib

Daemonless container image builder for Java applications

Jib builds optimized Docker and OCI images for Java apps without a Docker daemon. It ships as Maven and Gradle plugins, a core library, and a CLI.

★ 14.5k⟳ 6 days agoApache-2.0
Build & DeploymentDesktop/CLI app

Webpack Encore

Simplified Webpack API for asset bundling

Webpack Encore wraps Webpack with a concise API for bundling JavaScript, preprocessing CSS, and compiling front-end assets. It is maintained for Symfony but usable in other stacks.

★ 2.2k⟳ 20 days agoMIT
Build & DeploymentMaintenance modeDesktop/CLI app

react-native-update

Over-the-air hot updates for React Native apps

react-native-update delivers OTA JavaScript updates for React Native on iOS, Android, and HarmonyOS, including Expo and the New Architecture. It uses incremental Hermes-aware patches and pairs with a hosted update platform and CLI.

★ 2k⟳ 6 days agoMIT
Build & DeploymentDesktop/CLI app
Open Source Alternative to:CodePush

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
AI Assisted CodingDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Libraries & SDKsDesktop/CLI app