opennextjs/opennextjs-aws

Open-source Next.js adapter for AWS

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 41 minutes ago
Added to GitGenius on June 19th, 2025
Created on November 29th, 2022
Open Issues & Pull Requests: 98 (+0)
Number of forks: 226
Total Stargazers: 5,019 (+0)
Total Subscribers: 17 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.7 hours
Mean response time: 62.1 days
90th percentile: 262.2 days
Tracked items: 223

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 48% of tracked open issues have had no activity in three months. Only 7% of issues opened in the past year have been closed. Three people close 77% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 61
New in 7 days: 3
Closed in 7 days: 0
Avg open age: 237 days
Stale 30+ days: 49
Stale 90+ days: 38

Recent activity

Opened in 7 days: 3
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 2

Top labels

  • need reproduction (10)
  • help wanted (7)
  • bug (5)
  • enhancement (4)
  • documentation (3)
  • wontfix (3)
  • question (2)
  • duplicate (1)

Detailed Description

OpenNext is an open-source adapter that transforms Next.js build output into deployable packages optimized for AWS environments. Written in TypeScript, the project converts Next.js applications to run natively on AWS Lambda and classic Node.js servers, enabling developers to leverage serverless infrastructure for their React-based applications. The project is maintained by SST and documented at opennext.js.org.

The adapter supports a comprehensive set of Next.js 15 features including both App and Pages Router, API routes, dynamic routes, static site generation, server-side rendering, incremental static regeneration, middleware, server actions, and image optimization. It includes built-in support for NextAuth.js authentication and edge runtime execution. A notable feature is the implementation of a warmer function designed to minimize Lambda cold starts, addressing a common performance challenge in serverless deployments where additional requests or lazy-loaded routes can trigger cold starts even with pre-warmed instances.

Configuration is handled through an optional open-next.config.ts file placed alongside next.config.js, allowing developers to customize deployment behavior. The project includes a debug mode activated via the OPEN_NEXT_DEBUG environment variable that provides extensive logging and source maps, though it increases build size significantly and is not recommended for production use. Beyond standard npm releases, the project publishes prerelease packages automatically on branch pushes through pkg.pr.new, with a main branch prerelease representing stable development versions and an experimental branch prerelease for testing new features before wider release.

Common issue labels include need reproduction, help wanted, and enhancement requests.

Notable adopters include Gymshark UK, Udacity, TUDN, and NHS England, demonstrating production-ready deployment across various scales. The project provides comprehensive development documentation and maintains an active Discord community for support. Local development is supported through watch mode builds and a dedicated local run guide for debugging purposes. Testing infrastructure includes both unit tests and end-to-end tests that can be executed locally, supporting the project's commitment to code quality and reliability in serverless Next.js deployments.