maravilla-overview
Installation
SKILL.md
Maravilla Cloud Overview
Maravilla Cloud is a secure, edge-deployed JavaScript runtime that ships with a full backend platform built in. You write a normal SvelteKit / React Router 7 / Nuxt app, declare your auth and resource policies in maravilla.config.ts, and the runtime hands your code a platform object with KV, document DB, object storage, auth, realtime channels, Web Push, durable workflows, and event handlers.
There is no separate "deploy a function" step — your framework's server bundle is the runtime, and the platform services are imported as a typed SDK.
Runtime model
- Each request runs in a Deno V8 isolate (per-tenant). No shared state across tenants — Layer 1 isolation is unconditional.
- Cold starts target <100 ms; per-worker baseline is <50 MB.
- The runtime polyfills
URL,Request/Response, streaming,setTimeout, etc., so framework code runs unchanged. - Two production-grade backends ship: MongoDB-mode (
platform.env.DB) and aproduction-sqlitefeature flag for per-tenant SQLite (vector search lives here, see maravilla-db). - In dev mode, Vite runs on its usual port (5173) and a Rust dev-server on 3001 provides the platform APIs. The Vite plugin injects
platforminto SSR.
Single entry point: getPlatform()
import { getPlatform } from '@maravilla-labs/platform';