cloudflare/vinext

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 hours ago
Added to GitGenius on February 28th, 2026
Created on February 24th, 2026
Open Issues & Pull Requests: 370 (+0)
Number of forks: 354
Total Stargazers: 8,402 (+1)
Total Subscribers: 33 (+0)

Issue Activity (beta)

Open issues: 136
New in 7 days: 6
Closed in 7 days: 3
Avg open age: 10 days
Stale 30+ days: 119
Stale 90+ days: 25

Recent activity

Opened in 7 days: 6
Closed in 7 days: 3
Comments in 7 days: 4
Events in 7 days: 7

Top labels

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

Repository Insights (GitGenius)

Median issue/PR response: 0.6 hours
Mean response time: 38.2 hours
90th percentile: 3.4 days
Tracked items: 487

Most active contributors

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.

According to GitGenius tracking data, the repository has grown modestly with stargazers increasing from 8311 to 8312 since July 2026. The project maintains active engagement with a median issue and pull request response latency of 0.6 hours and a mean latency of 35.7 hours across 480 tracked items. The most active issue labels are adapter-api-e2e with 162 occurrences, help wanted with 150, and nextjs-tracking with 44, indicating ongoing work on adapter implementations and API compatibility. The primary contributor james-elicx has logged 953 events, followed by southpolesteve with 85 events and NathanDrake2406 with 64 events.

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.

vinext
by
cloudflarecloudflare/vinext

Repository Details

Fetching additional details & charts...