TL;DR
- Void SDK turns Vite apps into full-stack Cloudflare Workers apps with automatic resource provisioning for databases, queues, and AI bindings
- Void Platform is an open-source deployment platform teams can self-host to securely manage multiple app deployments on Cloudflare
- Void CLI provides a single deployment command and works with AI agents for building, managing, and deploying entire app lifecycles
- Type safety carries from database schemas through to the React UI, and the SDK integrates with existing frameworks like React Router, SvelteKit, Nuxt, and Astro
- Installation
- npm install void
- Platform basis
- Cloudflare Workers for Platforms
- License
- Open source
What was released
VoidZero, now part of Cloudflare, has open-sourced three products that extend the Vite+ development stack to full-stack application creation: Void SDK, Void CLI, and Void Platform. All three ship as a single npm package and Vite plugin. The announcement represents a shift from VoidZero's original plan to build a private deployment platform; after joining Cloudflare, the team chose to open-source the tooling to address security concerns companies have about giving cloud access to every employee.
How Void works
Void SDK turns a Vite application into a full-stack Cloudflare Workers app by automatically inferring resource bindings and provisioning infrastructure during deployment. You add Void as a Vite plugin and write server-side handlers using the defineHandler API. The SDK provides file-based API routing, pre-rendering, caching, islands architecture, and end-to-end type safety from database to UI. Types defined in server queries automatically propagate to client components via the InferProps utility, eliminating the need for manual type duplication.
The SDK ships with adapters for React and Vue and integrates with existing frameworks—React Router, SvelteKit, Nuxt, TanStack Start, Astro, and Vinext—so you can keep your preferred routing and rendering while Void handles resource APIs using Hono, database migrations, deployment, and authentication via Better Auth. All features are optional and composable. When you import void/db, Void provisions a local database during development and D1 in production. Importing void/ai automatically sets up Cloudflare's AI Gateway. Void's React router integrates with React transitions and Suspense to enable responsive navigation that coordinates data fetching and mutations across the application.
import { defineConfig } from "vite";
import { voidPlugin } from "void";
import { voidReact } from "@void/react/plugin";
export default defineConfig({
plugins: [voidPlugin(), voidReact()],
});void deployVoid Platform for team deployments
Void Platform is a fully open-source deployment environment that teams or companies can self-host on their Cloudflare account using Workers for Platforms. It lets administrators control access, set resource limits, inspect deployments, and manage usage through the CLI or admin dashboard. This addresses a specific problem: companies want to enable rapid internal app development but are concerned about security and do not want to grant cloud access to all employees.
Self-hosting requires a Cloudflare account with Workers for Platforms and R2, a PostgreSQL database, a login provider account, and a domain. Once running, approved users connect via the Void CLI. The platform reduces the time to ship internal apps from days or weeks to minutes and enables non-technical team members—designers, operations staff—to build and deploy interactive prototypes or dashboards alongside professional developers, all with appropriate security guardrails. Because the platform is open source, teams can fork it, customize it, integrate company systems, or adapt it for other deployment platforms.
Deployment workflow
The Void CLI serves as the primary interface for building and managing applications. Running void deploy builds the Vite app, applies database migrations, automatically provisions resources, and deploys to Cloudflare or a Void Platform. On first run, the CLI prompts you to authenticate with your Cloudflare account. The CLI also supports the full project lifecycle—managing users and project access, inspecting deployments and logs, monitoring platform health, and handling rollbacks. Because it is built on the new cf CLI, the Void CLI works well with AI agents, allowing agents to debug failing requests, read logs, analyze performance, or manage the entire build-to-deployment workflow.
When to use Void
If you do not need Void Platform's team management features, the Void SDK also deploys directly to your own Cloudflare account. Void is designed for teams building full-stack apps with Vite who want automatic infrastructure provisioning, type safety across the stack, and simplified deployment. The open-source nature means you can use the platform as-is, contribute improvements upstream, or fork and customize it for your specific needs. VoidZero reports using Void in production at their organization for several months before this release.
Source
Cloudflare Bloghttps://blog.cloudflare.com/deploy-with-void/AI-assisted, verified against the source. This post was drafted with AI from the primary source linked above and checked automatically against it. For anything you depend on, read the original.
- #cloudflare
- #vite
- #full-stack
- #workers
- #opensource
