Cloudflare's vinext: A Next.js-compatible framework built with AI on Vite

What vinext is
vinext (pronounced "vee-next") is a drop-in replacement for Next.js built on Vite that deploys to Cloudflare Workers with a single command. One engineer and an AI model rebuilt it from scratch in one week for about $1,100 in tokens.
The deployment problem vinext solves
Next.js has deployment challenges in serverless ecosystems. While tools like OpenNext exist to adapt Next.js output for platforms like Cloudflare, Netlify, or AWS Lambda, they require reverse-engineering Next.js's build output, leading to fragile implementations that break between versions. Next.js's adapters API is still early and doesn't solve development-time issues - next dev runs exclusively in Node.js, preventing testing of platform-specific APIs like Durable Objects, KV, or AI bindings during development.
How vinext works
Instead of adapting Next.js output, vinext reimplements the Next.js API surface directly on Vite as a plugin. This includes routing, server rendering, React Server Components, server actions, caching, and middleware. Vite's Environment API enables the output to run on any platform.
Setup is straightforward:
npm install vinextReplace next with vinext in your scripts while keeping app/, pages/, and next.config.js unchanged.
Commands:
vinext dev- Development server with HMRvinext build- Production buildvinext deploy- Build and deploy to Cloudflare Workers
Performance benchmarks
Benchmarks compare vinext against Next.js 16 using a shared 33-route App Router application, with TypeScript type checking and ESLint disabled in Next.js's build to match Vite's behavior.
Production build time:
- Next.js 16.1.6 (Turbopack): 7.38s baseline
- vinext (Vite 7 / Rollup): 4.64s (1.6x faster)
- vinext (Vite 8 / Rolldown): 1.67s (4.4x faster)
Client bundle size (gzipped):
- Next.js 16.1.6: 168.9 KB baseline
- vinext (Rollup): 74.0 KB (56% smaller)
- vinext (Rolldown): 72.9 KB (57% smaller)
These benchmarks measure compilation and bundling speed, not production serving performance. The test uses a single 33-route app, not a representative sample of all production applications.
Current status
Cloudflare already has customers running vinext in production. The full methodology and historical results are public.
📖 Read the full source: HN AI Agents
👀 See Also

Helix: Open-Source Framework Turns Claude into Personal AI Agent for macOS
Helix is an open-source framework that connects Claude via Claude Code in Terminal to macOS through four MCP server plugins, enabling Claude to control applications, maintain persistent memory, run scheduled tasks, and operate with local voice processing.

Privacy-First MCP Server Directory Launches with Documented Data Handling Policies
A new directory at toolora.dev/mcp-hub lists MCP servers with documented data handling policies, including local vs hosted classification, what data each tool transmits, and whether accounts are required. The creator also provides a browser test method to verify privacy claims.

sqlite-utils 4.0rc2: Written by Claude Fable, $149.25, Fixes Data Loss Bug
Simon Willison shipped sqlite-utils 4.0rc2, mostly written by Claude Fable for $149.25. Fable found a data loss bug in delete_where() and helped rewrite transaction handling.

Multi-Agent Haiku System Matches Claude Opus on Complex Number Theory Problem at 15x Lower Cost
A Reddit experiment shows a two-Haiku agent system (generator + auditor) achieving identical 4/4 scores to Claude Opus 4.5 on a difficult Fermat's Little Theorem proof, while costing approximately $0.004 per query versus $0.06 for Opus.