cloudflare/vinext

Vite plugin that reimplements the Next.js API surface — deploy anywhere

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 54 minutes ago
Added to GitGenius on February 28th, 2026
Created on February 24th, 2026
Open Issues & Pull Requests: 462 (+0)
Number of forks: 390
Total Stargazers: 8,689 (+0)
Total Subscribers: 33 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 39.9 hours
Mean response time: 8.1 days
90th percentile: 22.1 days
Tracked items: 537

How this project is maintained

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

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 172
New in 7 days: 13
Closed in 7 days: 2
Avg open age: 11 days
Stale 30+ days: 116
Stale 90+ days: 61

Recent activity

Opened in 7 days: 12
Closed in 7 days: 1
Comments in 7 days: 2
Events in 7 days: 9

Top labels

  • adapter-api-e2e (162)
  • help wanted (149)
  • nextjs-tracking (96)
  • enhancement (8)
  • good first issue (3)

Detailed Description

Vinext is a Vite plugin developed by Cloudflare that reimplements the Next.js API surface to enable Next.js applications to run on Vite and deploy to multiple platforms, with Cloudflare Workers as the primary deployment target. Rather than consuming the output of Next.js's build process, vinext rebuilds Next.js functionality as a Vite plugin, allowing developers to leverage Vite's modern toolchain including fast HMR, native ESM support, and a clean plugin API while maintaining compatibility with existing Next.js codebases.

The project supports both the App Router and Pages Router, React Server Components, Server Actions, middleware, route handlers, incremental static regeneration, static export, and commonly used Next.js modules including next/link, next/image, next/navigation, next/headers, next/cache, and the Metadata API. For Cloudflare Workers deployment specifically, vinext provides deep integration with bindings, cache adapters, and image optimization support. The plugin also supports Node.js and other platforms through different levels of support, with the ability to emit standalone self-hosting bundles for Node environments.

Vinext is classified across multiple domains including WebAssembly, Components, Component Model, Wasmtime, Runtime, Tooling, Development, Modularity, and Portability, reflecting its role as a development tool with broad deployment flexibility. The repository overlaps with contributors from github/gh-aw, solo-io/gloo, and longhorn/longhorn according to GitGenius's contributor analysis.

The project acknowledges that it is under active development and not yet a drop-in replacement for every Next.js application. Known compatibility gaps exist in newer App Router features including Cache Components and Partial Prerendering, where the use cache directive is only partially implemented. Build-time image and font optimization remains incomplete, with images optimized at request time on Cloudflare rather than during the build phase. Native modules like sharp, resvg, satori, and lightningcss can fail in Vite's RSC development environment, though production builds support more cases. Platform-specific configuration such as runtime and preferredRegion route options are currently ignored.

Vinext provides migration tooling through the vinext check command for scanning compatibility issues, vinext init for automating migration from existing Next.js projects, and an optional Agent Skill for AI-assisted migration. The CLI includes commands for development, production builds, local testing, and Cloudflare Workers deployment. The project targets Vite 8 with its modern build toolchain including Rolldown, Oxc, and Lightning CSS. The repository is written in TypeScript and maintains a homepage at vinext.dev with comprehensive documentation and an announcement blog post describing how the project was rebuilt with AI assistance in one week.