This project packages Next.js applications to run natively on AWS’s serverless stack, mapping framework features onto services like Lambda, CloudFront, and S3. It translates routing, API handlers, and middleware into deployable artifacts, handling edge cases such as image optimization, ISR, and streaming responses. Static assets are uploaded to object storage and cached at the edge, while dynamic routes are executed in short-lived compute with cold-start-aware build settings. The adapter aims to preserve the Next.js developer experience—file-based routing, app/router features, and incremental builds—while producing infrastructure that scales automatically. Configuration focuses on environment variables, build hooks, and sensible defaults rather than complex bespoke templates. By encapsulating provider-specific plumbing, the project lets teams deploy the same codebase confidently across staging and production without manual rewrites.

Features

  • Supports App & Pages routers, API and dynamic routes
  • Enables SSG, SSR, ISR, middleware, and image optimization
  • Minimizes cold starts and supports Lambda@Edge and composable caching
  • Allows selective deployment of different routes to different AWS targets (Lambda, ECS, etc.)
  • Compatible with the latest Next.js versions per AWS adapter compatibility matrix
  • Debug mode with detailed logging

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

MIT License

Follow OpenNext

OpenNext Web Site

Other Useful Business Software
Level Up Your Cyber Defense with External Threat Management Icon
Level Up Your Cyber Defense with External Threat Management

See every risk before it hits. From exposed data to dark web chatter. All in one unified view.

Move beyond alerts. Gain full visibility, context, and control over your external attack surface to stay ahead of every threat.
Try for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenNext!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Build Tools

Registered

2025-09-01