<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i" -->

---
title: How we rebuilt Next.js with AI in one week | daily.dev
description: Cloudflare engineers rebuilt Next.js from scratch on top of Vite in under a week using AI (Claude via OpenCode), producing an open-source drop-in replacement...
canonical: https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How we rebuilt Next.js with AI in one week | daily.dev
og:description: Cloudflare engineers rebuilt Next.js from scratch on top of Vite in under a week using AI (Claude via OpenCode), producing an open-source drop-in replacement...
og:url: https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i
og:image: https://api.daily.dev/og/posts/2wZfEd63I.png
og:image:alt: How we rebuilt Next.js with AI in one week
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How we rebuilt Next.js with AI in one week

**[Cloudflare](https://daily.dev/sources/cloudflare)** · 15 min read · 131 upvotes · 1 comments

## Summary

Cloudflare engineers rebuilt Next.js from scratch on top of Vite in under a week using AI (Claude via OpenCode), producing an open-source drop-in replacement called vinext. It builds production apps up to 4.4x faster with Vite 8/Rolldown and produces client bundles 57% smaller than Next.js 16. vinext deploys directly to Cloudflare Workers with a single command, supports both App Router and Pages Router, includes ISR via KV, and covers 94% of the Next.js 16 API surface backed by 1,700+ Vitest tests and 380 Playwright E2E tests. A novel 'Traffic-aware Pre-Rendering' (TPR) feature uses Cloudflare zone analytics to pre-render only the pages that actually receive traffic, avoiding the linear build-time scaling problem of large Next.js sites. The project cost roughly $1,100 in Claude API tokens and raises broader questions about which software abstractions exist for human cognitive limits versus genuine architectural necessity.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.cloudflare.com/vinext/>

## Community discussion

Top comments from developers on daily.dev.

**@colbyhunter** · 12 upvotes

> The more we disconnect the language from humans, the more likely we will lose control.

## Similar posts on daily.dev

- [Cloudflare Releases Experimental Next.js Alternative Built With AI Assistance](https://daily.dev/posts/cloudflare-releases-experimental-next-js-alternative-built-with-ai-assistance-xuvmgv5mh) · InfoQ · 1 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react), [#nextjs](https://daily.dev/tags/nextjs), [#cloudflare](https://daily.dev/tags/cloudflare), [#vite](https://daily.dev/tags/vite), [#ai-assisted-development](https://daily.dev/tags/ai-assisted-development)

[View this post on daily.dev](https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How we rebuilt Next.js with AI in one week","url":"https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i"},"datePublished":"2026-02-24T20:44:06.945Z","dateModified":"2026-02-24T20:44:34.495Z","description":"Cloudflare engineers rebuilt Next.js from scratch on top of Vite in under a week using AI (Claude via OpenCode), producing an open-source drop-in replacement...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e14dad20e11fb392f9c72d18c97f5fc2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e14dad20e11fb392f9c72d18c97f5fc2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Cloudflare","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Cloudflare","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/38522e1d11354cd6b7af66f9d4316735","url":"https://daily.dev/sources/cloudflare"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":131},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"react,nextjs,cloudflare,vite,ai-assisted-development","timeRequired":"PT15M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Cloudflare","item":"https://daily.dev/sources/cloudflare"},{"@type":"ListItem","position":3,"name":"How we rebuilt Next.js with AI in one week"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i","comment":[{"@type":"Comment","text":"The more we disconnect the language from humans, the more likely we will lose control.","datePublished":"2026-03-02T16:23:03.374Z","url":"https://daily.dev/posts/2wZfEd63I#c-qXDthLL26","author":{"@type":"Person","name":"Colby Hunter","url":"https://daily.dev/colbyhunter","image":"https://lh3.googleusercontent.com/a/ACg8ocI7RPfZ3s5y_b_1ti9LdgLKanOIcc82jVvTAJd4Nb_HAyEzjCML=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":12}}]}
```

