Skip to content
LorkydeyPublic

About

Next.js. Rebuilt for speed.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

277 Commits

Folders and files

Repository files navigation

PRNext logo with a metallic finish

PRNext

npm version MIT License

A React framework with a Rust-powered runtime.

Install

Run in your application directory:

npm i @thomas.f/prnext

Node.js 22.23.4+, 24.22.1+ or 26.12.1+. Windows, macOS and Linux (glibc), x64 and ARM64. No Rust installation needed.

Experimental alpha. Next.js compatibility is partial.

Create a project

The create command requires PRNext 0.1.18-alpha or later.

npx @thomas.f/prnext create my-app
cd my-app
npm run dev

TypeScript by default. Add --js for JavaScript.

Use an existing Next.js app

Preview changes with npx --no-install prnext migrate --dry-run. Review the output, then run:

npx --no-install prnext migrate
npx --no-install prnext check
npx --no-install prnext dev

Read the compatibility guide before migrating.

Build for production
npx --no-install prnext build
npx --no-install prnext start

After upgrading PRNext, rebuild your app and restart it.

Use with AI assistants

Read the guides included with your installed version:

npx --no-install prnext docs --ai

Run npx --no-install prnext docs --ai --init to add a guide reference to your project's AGENTS.md.

Develop from this repository
npm ci
npm run build:native
npm run dev -- examples/app

Source builds require Rust 1.98 and native build tools: Visual Studio C++ tools and a Windows SDK on Windows, Xcode command line tools on macOS, or a C/C++ toolchain and pkg-config on Linux. Install NASM on macOS, Linux and Windows x64.

For a larger integration example, see the SaaS reference: Better Auth, PostgreSQL/Drizzle, French/English routing and a portable standalone build. It has its own dependency lockfile and database setup.

Documentation

Guides · Releases · Contributing · MIT License

About

Next.js. Rebuilt for speed.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages