OpenNext 1.0 is out. You can try it now with the NextjsSite construct.

What is OpenNext

OpenNext is an open-source Next.js serverless adapter created by the SST team. It allows you to self-host Next.js serverlessly.

To celebrate the 1.0 release, we created a fun video.

Background

Next.js does not support self-hosting your app using serverless. There have been several projects to try and fix this. However, this is not easy to do, as it requires reverse engineering how Vercel deploys Next.js internally. As a result most of these attempts have failed or have ended up as closed source paid implementations.

The goal of OpenNext is to create a free open source, framework agnostic, serverless adapter for Next.js.

OpenNext 1.0

OpenNext was created back in December, 2022. Since then the repo has grown to over 1000 stars on GitHub. The community has really come together to ensure that OpenNext supports all of Next.js 13’s features. The OpenNext channel is also one of the most active channels on our Discord.

While OpenNext is already being used in production, the 1.0 release marks a significant milestone in terms of stability and performance.

We’d love for you to take it for a spin.

Get started

Here’s how you can use OpenNext to deploy your Next.js app to AWS with SST.

$ npx create-next-app
$ npx create-sst
$ npx sst deploy

Check out the full tutorial. If you are using a different framework, check out the other deployment options.


We could use your support in maintaining OpenNext, make sure to join #open-next on Discord and star us on GitHub.