qmetrics.net

OpenNext for Cloudflare

Next.js deployment adapter for Cloudflare Workers

OpenNext for Cloudflare screenshot

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

Overview

OpenNext for Cloudflare is an adapter that lets you deploy Next.js applications to Cloudflare’s developer platform. It takes output from a standard Next.js production build in standalone mode and reshapes it to run in the workerd runtime using Workers’ Node.js compatibility support.

After adding the package, running the adapter’s CLI builds your app via your existing build script, then transforms artifacts for local testing with Wrangler and deployment to Cloudflare. Documentation covers starting new projects through Cloudflare’s scaffolding command and migrating existing apps.

The adapter expects the Next.js Node.js runtime rather than the Edge runtime, which unlocks more APIs and features on Workers. Documented support includes App Router and Pages Router capabilities such as route handlers, SSR, SSG, ISR, middleware, image optimization, partial prerendering, and composable caching, among others listed in the docs.

Compared with the older Cloudflare Pages-oriented adapter that only supported the Edge runtime, this path targets fuller Node.js feature coverage. Windows development is possible but not fully guaranteed; the project suggests WSL, Linux VMs, or building on Linux/macOS CI when native Windows tooling causes friction.

Key features

  • Next.js standalone to Workers transform
  • Node.js runtime on Cloudflare Workers
  • Wrangler-based local run and deploy
  • App and Pages router feature support
  • ISR and static generation support
  • Middleware and image optimization
  • Scaffold command for new projects
  • npm package installation

Use cases

  • Hosting Next.js on Cloudflare Workers
  • Migrating existing Next.js apps to Workers
  • SSR and API routes on edge infrastructure
  • CI-driven deploy from Linux or macOS

Tags

Similar software

husky

Lightweight native Git hooks for Node projects

A small npm package that wires Git hooks via core.hooksPath to run checks on commit and push, including lint, tests, and message rules.

  • Uses Git core.hooksPath
  • All client-side Git hooks supported
  • macOS, Linux, and Windows support
JavaScriptLinux, macOS, WindowsDetails →
★ 35.4k⟳ 8 months agoMIT

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.

  • Streaming in-memory file pipelines
  • Minimal task-oriented JavaScript API
  • Large curated plugin ecosystem
JavaScriptCLIDetails →
★ 32.9k⟳ 9 months agoMIT

electron-builder

Packaging and distribution tool for Electron applications

electron-builder produces macOS, Windows, and Linux installers and archives from Electron projects, with built-in auto-update hooks and publishing helpers.

  • Multi-platform installers
  • electron-updater integration
  • GitHub and S3 publishing
TypeScriptLinux, macOS, Windows, DockerDetails →
★ 14.7k⟳ todayMIT

browserify

Node-style CommonJS bundler for browser JavaScript

Browserify walks require() calls in your JavaScript and packs dependencies into one browser file. It supports npm modules, shims for Node core libs, and a CLI plus programmatic API.

  • Recursive require() dependency graph
  • npm module resolution in bundles
  • Node core library shims
JavaScriptCLIDetails →
★ 14.7k⟳ 1 month agoMIT

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.

  • Maven and Gradle plugins
  • Layered dependency and class splits
  • No Docker daemon required
JavaCLIDetails →
★ 14.5k⟳ todayApache-2.0

Rolldown

Rust JavaScript bundler with Rollup-compatible API

Bundles JavaScript and TypeScript using a Rust core, exposes Rollup-like APIs and plugins, and targets eventual use as Vite's bundler.

  • Rollup-compatible API surface
  • Rollup-style plugin interface
  • Rust implementation core
RustDetails →
★ 14.2k⟳ todayMIT