architecture7 min read

How Cloudflare rebuilt Next.js in a weekend

6 similar posts
  • Next.js
  • Vinext
  • OpenNext
  • Vite
  • Claude
  • OpenCode
  • Cloudflare

AI Summary

Cloudflare used AI coding agents to rebuild Next.js as vinext in a weekend for $1,100 in tokens, creating a version tailored natively to their infrastructure and Vite. The resulting tool builds apps up to four times faster with 57% smaller client bundles, illustrating how agentic coding alters the build-versus-buy paradigm and shifts engineers toward architectural oversight.

Key Takeaways

  • Cloudflare built vinext in a weekend using Claude in OpenCode for $1,100 in token costs.
  • The custom framework is built on Vite, achieving 4x faster production builds and 57% smaller client bundles than Next.js.
  • Agentic coding shifts developer roles from writing low-level code to planning, directing, and architectural decision-making.

Why it matters

Demonstrates the practical impact of agentic coding on software architecture, showing how teams can custom-build or fork complex frameworks natively tailored to their infrastructure rather than remaining locked into third-party tools.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.