Open-source Next.js adapter for AWS
MIT License
OpenNext takes the Next.js build output and converts it into a package that can be deployed to any functions as a service platform.
OpenNext aims to support all Next.js 14 features. Some features are work in progress. Please open a new issue to let us know!
Gymshark UK, Udacity, TUDN, NHS England
In the example
folder, you can find a Next.js benchmark app. It contains a variety of pages that each test a single Next.js feature. The app is deployed to both Vercel and AWS using SST.
AWS link: https://d1gwt3w78t4dm3.cloudfront.net
Vercel link: https://open-next.vercel.app
To run OpenNext
locally:
open-next
:
cd open-next
pnpm build
open-next
in watch mode:
pnpm dev
open-next
and build your Next.js app to test the changes.
cd path/to/my/nextjs/app
path/to/open-next/packages/open-next/dist/index.js build
We are grateful for the projects that inspired OpenNext and the amazing tools and libraries developed by the community:
Special shoutout to @khuezy and @conico974 for their outstanding contributions to the project.
Maintained by SST. Join our community: Discord | YouTube | Twitter