The server layer for Vite apps.
Databases, storage, queues, workflows, and more. Use one API in your app and deploy it to your choice of cloud.
pnpm add vite-hub nitro h3 viteAgent
Portable automation
KV
State and cache
Database
Relational data
Blob
Files and uploads
Queue
Background jobs
Workflow
Durable orchestration
Auth
Users and sessions
Schedule
Recurring work
Workspace
Persistent file trees
Sandbox
Isolated execution
Env
Typed configuration
Logs
Structured logs
Content
Parse and search
Source
Read-only content
Connections
Connected accounts
AI Gateways
Model request routing
Choices
Text to choices
Realtime
Live collaboration
Browser
Browser operations
Shell
Command execution
Channels
Message delivery
Email
Transactional email
Forms
Visitor messages
Rate Limit
Request budgets
CMS
Editable documents
i18n
App translation
Comments
Live page feedback
UI
Agent interfaces
Sync
Local table sync
Device
Stored browser reads
Forge
Git forge identity
Webhooks
Signed event delivery
MCP server
App MCP server
Write once.
Deploy anywhere.
Same code on every host. The host picks the provider.
import { defineEventHandler } from "h3"
import { kv } from "vite-hub/kv"
export default defineEventHandler(async () => {
const [error, settings] = await kv.get("settings")
if (error) throw error
return settings
})
Provider per host
- CloudflareWorkers KV
- VercelUpstash Redis
- DenoDeno KV
- Nodefs-lite or Upstash
Define an Agent in one file.
An Agent is one more file in your server. It deploys with your app and uses the same storage as your routes.
Ship the server part with your Vite app.
- No account to start
- Apache-2.0
- Migrate from NuxtHub
- Runs onCloudflare, Vercel, Netlify, Deno, Node