Vibeleaderboard
← All Intel
Intel / article

Cloudflare open-sources Void for deploying Vite apps and agent-built tools

Source
blog.cloudflare.com
Author
Cloudflare
Date

Context

Vite is a build tool for JavaScript web frontends, and its makers at VoidZero, which has since joined Cloudflare, want it to cover the whole application. A real app also needs server routes, a database, a local development setup and a way to put it online. Void, released as open source, adds those pieces in three parts that ship together as one npm package and Vite plugin: an SDK for writing the app, a CLI for deploying it, and a platform that a company can run itself.

The SDK's main idea is that the code declares what infrastructure it needs. If a file imports Void's database module, Void supplies a local database during development and provisions Cloudflare's D1 database automatically on deploy; importing its AI module wires up Cloudflare's AI Gateway the same way. The post says type information carries from the database query through to the user interface. Void works with React and Vue, and alongside frameworks such as SvelteKit, Nuxt, React Router and Astro, which keep handling routing and rendering. One command, void deploy, builds the app, applies database migrations, creates the resources and publishes it, either to the developer's own Cloudflare account or to a shared Void Platform. The CLI is built on Cloudflare's new cf command-line tool, which Cloudflare introduced with agents in mind, and the post says an can use it to deploy apps, read logs and debug failing requests.

The platform is the part aimed at a specific company problem. VoidZero says it first planned a single private hosting service, then chose to open-source it because companies want employees to build vibe-coded internal apps but worry about security and do not want to give every employee cloud access. A Void Platform runs inside the company's own Cloudflare account; to set one up, the post lists Workers for Platforms and R2 storage enabled on that account, a PostgreSQL database, a login provider and a domain. Admins control who can connect, set resource limits and inspect deployments and usage, while approved users, including designers or operations staff working with coding agents, deploy to it without separate accounts. The company claims this cuts the time to ship an internal app from days or weeks to minutes, and says VoidZero has used all three parts in production for several months. The post does not detail how apps on the platform are isolated from one another.

Key takeaways · AI-distilled
  • Void ships three open-source parts in one npm package and Vite plugin: a self-hostable Platform on Workers for Platforms, an SDK for full-stack Vite apps, and a CLI that provisions resources and deploys.
  • Cloudflare open-sourced the platform because companies want employees to ship vibe-coded internal apps without giving everyone cloud access; admins control access and resource limits and inspect deployments centrally.
  • Self-hosting a Void Platform needs a Cloudflare account with Workers for Platforms and R2 enabled, a PostgreSQL database, a login provider account, and a domain for the apps.
  • Importing void/db gives an app a local database in development and provisions D1 on deploy, and the SDK can sit under React Router, SvelteKit, Nuxt, TanStack Start or Astro, handling resources, migrations and auth.
  • VoidZero says it has run the Void SDK, CLI and Platform in production for several months; the CLI, built on the new cf CLI, lets agents read deployment logs, debug failing requests and deploy apps.
Terms in this piece · Glossary
  • AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
Read the source blog.cloudflare.com
More from Cloudflare
Recommended reads
Comments

Checking sign-in…

Loading comments…